Message ID | 20190414183403.21538-1-andrew.smirnov@gmail.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [v3,1/4] dt-bindings: iio: imx7d-adc: Add #io-channel-cells to required | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
On Sun, Apr 14, 2019 at 11:34:03AM -0700, Andrey Smirnov wrote: > Add support for ZII's i.MX7 based Remote Peripheral Unit 2 (RPU2) > board. > > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > Reviewed-by: Fabio Estevam <festevam@gmail.com> > Cc: Shawn Guo <shawnguo@kernel.org> > Cc: Chris Healy <cphealy@gmail.com> > Cc: Andrew Lunn <andrew@lunn.ch> > Cc: Fabio Estevam <festevam@gmail.com> > Cc: Rob Herring <robh@kernel.org> > Cc: linux-kernel@vger.kernel.org > Cc: devicetree@vger.kernel.org Applied, thanks.
On Sun, Apr 14, 2019 at 11:34:00AM -0700, Andrey Smirnov wrote: > Add #io-channel-cells to list of required properties. Needed to be > able to reference that node by phandle. > > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > Cc: Shawn Guo <shawnguo@kernel.org> > Cc: Chris Healy <cphealy@gmail.com> > Cc: Andrew Lunn <andrew@lunn.ch> > Cc: Fabio Estevam <festevam@gmail.com> > Cc: Rob Herring <robh@kernel.org> > Cc: linux-kernel@vger.kernel.org > Cc: devicetree@vger.kernel.org Applied, thanks.
On Sun, Apr 14, 2019 at 11:34:01AM -0700, Andrey Smirnov wrote: > Specify #io-channel-cells in ADC nodes. Needed to be able to reference > them by phandle. > > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > Cc: Shawn Guo <shawnguo@kernel.org> > Cc: Chris Healy <cphealy@gmail.com> > Cc: Andrew Lunn <andrew@lunn.ch> > Cc: Fabio Estevam <festevam@gmail.com> > Cc: Rob Herring <robh@kernel.org> > Cc: linux-kernel@vger.kernel.org > Cc: devicetree@vger.kernel.org Applied, thanks.
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>; };
Add #io-channel-cells to list of required properties. Needed to be able to reference that node by phandle. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Chris Healy <cphealy@gmail.com> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Fabio Estevam <festevam@gmail.com> Cc: Rob Herring <robh@kernel.org> Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org --- Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt | 2 ++ 1 file changed, 2 insertions(+)