Path: blob/master/Documentation/devicetree/bindings/iio/adc/adi,ad7280a.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/adc/adi,ad7280a.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices AD7280a Lithium Ion Battery Monitoring System78maintainers:9- Michael Hennerich <michael.hennerich@analog.com>10- Jonathan Cameron <jic23@kernel.org>1112description: |13Bindings for the Analog Devices AD7280a Battery Monitoring System.14Used in devices such as hybrid electric cars, battery backup and power tools.15Multiple chips can be daisy chained and accessed via a single SPI interface.16Data sheet found here:17https://www.analog.com/media/en/technical-documentation/data-sheets/AD7280A.pdf1819properties:20compatible:21const: adi,ad7280a2223reg:24maxItems: 12526interrupts:27description: IRQ line for the ADC28maxItems: 12930adi,voltage-alert-last-chan:31$ref: /schemas/types.yaml#/definitions/uint3232description:33Allows limiting of scope of which channels are considered for voltage34alerts, typically because not all are wired to anything. Only applies to35last device in the daisy chain.36default: 537enum: [3, 4, 5]3839adi,acquisition-time-ns:40description:41Additional time may be needed to charge the sampling capacitors depending42on external writing.43default: 40044enum: [400, 800, 1200, 1600]4546adi,thermistor-termination:47type: boolean48description:49Enable the thermistor termination function.5051required:52- compatible53- reg5455allOf:56- $ref: /schemas/spi/spi-peripheral-props.yaml#5758unevaluatedProperties: false5960examples:61- |62spi {63#address-cells = <1>;64#size-cells = <0>;6566adc@0 {67compatible = "adi,ad7280a";68reg = <0>;69spi-max-frequency = <700000>;70interrupt-parent = <&gpio>;71interrupts = <25 2>;72adi,thermistor-termination;73adi,acquisition-time-ns = <800>;74adi,voltage-alert-last-chan = <5>;75};76};77...787980