Rob Herring (Arm)
0b2333183a
dt-bindings: Remove extra blank lines
...
Generally at most 1 blank line is the standard style for DT schema
files. Remove the few cases with more than 1 so that the yamllint check
for this can be enabled.
Acked-by: Lee Jones <lee@kernel.org >
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org > # remoteproc
Acked-by: Georgi Djakov <djakov@kernel.org >
Acked-by: Vinod Koul <vkoul@kernel.org >
Acked-by: Andi Shyti <andi.shyti@kernel.org >
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org >
Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com >
Acked-by: Philipp Zabel <p.zabel@pengutronix.de >
Acked-by: Uwe Kleine-König <ukleinek@kernel.org > # for allwinner,sun4i-a10-pwm.yaml
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com > # mtd
Acked-by: Guenter Roeck <linux@roeck-us.net >
Acked-by: Mark Brown <broonie@kernel.org >
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com >
Acked-by: Manivannan Sadhasivam <mani@kernel.org > # For PCI controller bindings
Link: https://patch.msgid.link/20251023143957.2899600-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org >
2025-11-17 11:24:50 -06:00
Primoz Fiser
b947d4edfc
dt-bindings: iio: afe: current-sense-amplifier: Add io-channel-cells
...
The current-sense-amplifier 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.
Signed-off-by: Primoz Fiser <primoz.fiser@norik.com >
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Link: https://patch.msgid.link/20250905065503.3022107-1-primoz.fiser@norik.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2025-09-10 19:47:05 +01:00
Naresh Solanki
f1f99fcbf9
dt-bindings: iio: afe: voltage-divider: Add io-channel-cells
...
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 <naresh.solanki@9elements.com >
Reviewed-by: Conor Dooley <conor.dooley@microchip.com >
Link: https://lore.kernel.org/r/20240206105502.648255-1-naresh.solanki@9elements.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2024-02-17 16:16:12 +00:00
Geert Uytterhoeven
939110f2d0
dt-bindings: iio: afe: voltage-divider: Spelling s/curcuit/circuit/
...
Fix a misspelling of "circuit".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org >
Acked-by: Peter Rosin <peda@axentia.se >
Link: https://lore.kernel.org/r/a8597e54b55dedc51025fe3073d25ef0d659d0dc.1686045793.git.geert+renesas@glider.be
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2023-06-10 18:53:49 +01:00
Liam Beguin
66724c31c0
dt-bindings: iio: afe: add bindings for temperature transducers
...
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 <liambeguin@gmail.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Peter Rosin <peda@axentia.se >
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Link: https://lore.kernel.org/r/20220213025739.2561834-11-liambeguin@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-02-28 10:22:25 +00:00
Liam Beguin
d065a283fe
dt-bindings: iio: afe: add bindings for temperature-sense-rtd
...
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 <liambeguin@gmail.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Reviewed-by: Peter Rosin <peda@axentia.se >
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com >
Link: https://lore.kernel.org/r/20220213025739.2561834-10-liambeguin@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2022-02-28 10:22:24 +00:00
Krzysztof Kozlowski
347978983b
dt-bindings: iio: afe: current-sense-shunt: add io-channel-cells
...
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: ce66e52b6c ("dt-bindings:iio:afe:current-sense-shunt: txt to yaml conversion.")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2021-05-17 13:54:24 +01:00
Jonathan Cameron
6f633bc91a
dt-bindings:iio:afe:voltage-divider: txt to yaml conversion
...
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 <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Peter Rosin <peda@axentia.se >
Link: https://lore.kernel.org/r/20201031181242.742301-9-jic23@kernel.org
2020-12-03 19:40:21 +00:00
Jonathan Cameron
ce66e52b6c
dt-bindings:iio:afe:current-sense-shunt: txt to yaml conversion.
...
Very simple binding. As such straight forward conversion.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Peter Rosin <peda@axentia.se >
Link: https://lore.kernel.org/r/20201031181242.742301-7-jic23@kernel.org
2020-12-03 19:40:20 +00:00
Jonathan Cameron
fbac26b9ad
dt-bindings:iio:afe:current-sense-amplifier: txt to yaml conversion.
...
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 <Jonathan.Cameron@huawei.com >
Reviewed-by: Rob Herring <robh@kernel.org >
Cc: Peter Rosin <peda@axentia.se >
Link: https://lore.kernel.org/r/20201031181242.742301-6-jic23@kernel.org
2020-12-03 19:40:20 +00:00
Geert Uytterhoeven
bed1895e78
dt-bindings: iio: afe: Spelling s/mesaurement/measurement/
...
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2018-05-20 11:23:50 +01:00
Peter Rosin
2e9a128f35
dt-bindings: iio: afe: add binding for current-sense-amplifier
...
Similar to current sense shunts, but an amplifier enables the use
of a smaller sense resistance.
Signed-off-by: Peter Rosin <peda@axentia.se >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2018-04-28 18:01:39 +01:00
Peter Rosin
ff915802fb
dt-bindings: iio: afe: add binding for voltage-divider
...
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 <peda@axentia.se >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2018-04-28 18:00:21 +01:00
Peter Rosin
1351b50cc4
dt-bindings: iio: afe: add binding for current-sense-shunt
...
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 <peda@axentia.se >
Reviewed-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2018-04-28 17:59:32 +01:00