diff options
author | Andrey Smirnov <[email protected]> | 2019-04-14 11:34:00 -0700 |
---|---|---|
committer | Shawn Guo <[email protected]> | 2019-04-23 09:48:46 +0800 |
commit | e2c7f52bcdaf6ee24447cd7bc6100702c0b0f777 (patch) | |
tree | eb717f349e49e3ad05856c68550d122001a4ed59 | |
parent | f0e79eaf310c61cf4dee08dc9783dda55ac9f9ce (diff) |
dt-bindings: iio: imx7d-adc: Add #io-channel-cells to required
Add #io-channel-cells to list of required properties. Needed to be
able to reference that node by phandle.
Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt b/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt index 5c184b940669..f1f3a552459b 100644 --- a/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt @@ -10,6 +10,7 @@ Required properties: - clocks: The root clock of the ADC controller - clock-names: Must contain "adc", matching entry in the clocks property - vref-supply: The regulator supply ADC reference voltage +- #io-channel-cells: Must be 1 as per ../iio-bindings.txt Example: adc1: adc@30610000 { @@ -19,4 +20,5 @@ adc1: adc@30610000 { clocks = <&clks IMX7D_ADC_ROOT_CLK>; clock-names = "adc"; vref-supply = <®_vcc_3v3_mcu>; + #io-channel-cells = <1>; }; |