dt-bindings: iio: adc: maxim,max1118 yaml conversion
Subsystems (2)
Jonathan Cameron
maintainerPATCH v2 1/1 dt-bindings: iio: adc: maxim,max1118 yaml conversion
From: Jonathan Cameron <[email protected]>
Simple device with a simple conversion. Special handling needed for the max1118 which is the only supported part that has an external reference voltage.
---
v2:
* Added additionalProperties: false. Other changes are to make this work.
* Move the vref-supply definition up
* Add an else clause
.../devicetree/bindings/iio/adc/max1118.txt | 21 -------
.../bindings/iio/adc/maxim,max1118.yaml | 62 +++++++++++++++++++ 2 files changed, 62 insertions(+), 21 deletions(-)
Documentation/devicetree/bindings/iio/adc/max1118.txt deleted +0 -21
@@ -1,21 +0,0 @@ -* MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs - -Required properties: - - compatible: Should be one of - * "maxim,max1117" - * "maxim,max1118" - * "maxim,max1119" - - reg: spi chip select number for the device - - (max1118 only) vref-supply: The regulator supply for ADC reference voltage - -Recommended properties: - - spi-max-frequency: Definition as per - Documentation/devicetree/bindings/spi/spi-bus.txt - -Example: -adc@0 { - compatible = "maxim,max1118"; - reg = <0>; - vref-supply = <&vdd_supply>; - spi-max-frequency = <1000000>; -};
Documentation/devicetree/bindings/iio/adc/maxim,max1118.yaml new file +62 -0
62 lines not on this page · raw message
Signature · 1 line
2.27.0
Quoted 14 lines · Jonathan Cameron
From: Jonathan Cameron <[email protected]>
Simple device with a simple conversion. Special handling needed for the max1118 which is the only supported part that has an external reference voltage.
Cc Akinobu Mita <[email protected]>Signed-off-by Jonathan Cameron <[email protected]>---
v2:
* Added additionalProperties: false. Other changes are to make this work.
* Move the vref-supply definition up
* Add an else clause
Quoted 4 lines
.../devicetree/bindings/iio/adc/max1118.txt| 21 -------.../bindings/iio/adc/maxim,max1118.yaml | 62 +++++++++++++++++++ 2 files changed, 62 insertions(+), 21 deletions(-)
Jonathan Cameron
maintainerQuoted 15 lines · On Mon, 3 Aug 2020 15:58:26 -0600 Rob Herring <[email protected]> wrote:
Quoted 14 lines · Jonathan Cameron
From: Jonathan Cameron <[email protected]>
Simple device with a simple conversion. Special handling needed for the max1118 which is the only supported part that has an external reference voltage.
Cc Akinobu Mita <[email protected]>Signed-off-by Jonathan Cameron <[email protected]>---
v2:
* Added additionalProperties: false. Other changes are to make this work.
* Move the vref-supply definition up
* Add an else clause
Quoted 6 lines
Quoted 4 lines
.../devicetree/bindings/iio/adc/max1118.txt| 21 -------.../bindings/iio/adc/maxim,max1118.yaml | 62 +++++++++++++++++++ 2 files changed, 62 insertions(+), 21 deletions(-)Reviewed-by Rob Herring <[email protected]>
Thanks,
Applied to the togreg branch off iio.git and pushed out as testing for autobuilders etc.
Jonathan