aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/iio/afe
AgeCommit message (Collapse)AuthorFilesLines
2024-02-17dt-bindings: iio: afe: voltage-divider: Add io-channel-cellsNaresh Solanki1-0/+11
Enable the voltage divider to both receive and provide measurement services by adding #io-channel-cells. This is especially valuable in scenarios where an ADC has an analog frontend, like a voltage divider, and obtaining its raw value isn't interesting. It is desired to get the real voltage before the voltage divider. Signed-off-by: Naresh Solanki <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2023-06-10dt-bindings: iio: afe: voltage-divider: Spelling s/curcuit/circuit/Geert Uytterhoeven1-1/+1
Fix a misspelling of "circuit". Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Acked-by: Peter Rosin <[email protected]> Link: https://lore.kernel.org/r/a8597e54b55dedc51025fe3073d25ef0d659d0dc.1686045793.git.geert+renesas@glider.be Signed-off-by: Jonathan Cameron <[email protected]>
2022-02-28dt-bindings: iio: afe: add bindings for temperature transducersLiam Beguin1-0/+114
An ADC is often used to measure other quantities indirectly. This binding describe one case, the measurement of a temperature through a temperature transducer (either voltage or current). Signed-off-by: Liam Beguin <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Peter Rosin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2022-02-28dt-bindings: iio: afe: add bindings for temperature-sense-rtdLiam Beguin1-0/+101
An ADC is often used to measure other quantities indirectly. This binding describe one case, the measurement of a temperature through the voltage across an RTD resistor such as a PT1000. Signed-off-by: Liam Beguin <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Peter Rosin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
2021-05-17dt-bindings: iio: afe: current-sense-shunt: add io-channel-cellsKrzysztof Kozlowski1-0/+4
The current-sense-shunt is an IIO provider thus can be referenced by IIO consumers (via "io-channels" property in consumer device node). Such provider is required to describe number of cells used in phandle lookup with "io-channel-cells" property. This also fixes dtbs_check warnings like: arch/arm/boot/dts/s5pv210-fascinate4g.dt.yaml: current-sense-shunt: '#io-channel-cells' does not match any of the regexes: 'pinctrl-[0-9]+' Fixes: ce66e52b6c16 ("dt-bindings:iio:afe:current-sense-shunt: txt to yaml conversion.") Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2020-12-03dt-bindings:iio:afe:voltage-divider: txt to yaml conversionJonathan Cameron2-53/+86
Simple binding so straight forward conversion, though did require adding a separate binding document for the max1027 to reflect its abilities to provide channels to consumers. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Peter Rosin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-12-03dt-bindings:iio:afe:current-sense-shunt: txt to yaml conversion.Jonathan Cameron2-41/+64
Very simple binding. As such straight forward conversion. Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Peter Rosin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-12-03dt-bindings:iio:afe:current-sense-amplifier: txt to yaml conversion.Jonathan Cameron2-26/+54
Note this includes a fix in the example where we had *-mul instead of *-mult. The binding doc and driver agree that it should be *-mult Signed-off-by: Jonathan Cameron <[email protected]> Reviewed-by: Rob Herring <[email protected]> Cc: Peter Rosin <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2018-05-20dt-bindings: iio: afe: Spelling s/mesaurement/measurement/Geert Uytterhoeven2-2/+2
Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2018-04-28dt-bindings: iio: afe: add binding for current-sense-amplifierPeter Rosin1-0/+26
Similar to current sense shunts, but an amplifier enables the use of a smaller sense resistance. Signed-off-by: Peter Rosin <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2018-04-28dt-bindings: iio: afe: add binding for voltage-dividerPeter Rosin1-0/+53
An ADC is often used to measure other quantities indirectly. This binding describe one cases, a "big" voltage measured with the help of a voltage divider. Signed-off-by: Peter Rosin <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
2018-04-28dt-bindings: iio: afe: add binding for current-sense-shuntPeter Rosin1-0/+41
An ADC is often used to measure other quantities indirectly. This binding describe one cases, a current through a shunt resistor measured by the voltage over it. Signed-off-by: Peter Rosin <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>