Skip to contentSkip to conversation

dt-bindings: iio: imx7d-adc: Add #io-channel-cells to required

PATCH Applied Andrey Smirnov 3 participants 9 messages Apr 14, 2019 – Apr 23, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/4 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.

---
 Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt +2 -0
index 5c184b940669..f1f3a552459b 100644
@@ -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 = <&reg_vcc_3v3_mcu>;
+	#io-channel-cells = <1>;
 };
Signature · 1 line
2.20.1
#1 lore raw

PATCH v3 2/4 ARM: dts: imx7s: Specify #io-channel-cells in ADC nodes

Specify #io-channel-cells in ADC nodes. Needed to be able to reference them by phandle.

---
 arch/arm/boot/dts/imx7s.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx7s.dtsi +2 -0
index e88f53a4c7f4..0e1723c95978 100644
@@ -628,6 +628,7 @@
 				interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
 				clock-names = "adc";
+				#io-channel-cells = <1>;
 				status = "disabled";
 			};
 
@@ -637,6 +638,7 @@
 				interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clks IMX7D_ADC_ROOT_CLK>;
 				clock-names = "adc";
+				#io-channel-cells = <1>;
 				status = "disabled";
 			};
 
Signature · 1 line
2.20.1
Applied
#2 lore raw

Re: [PATCH v3 2/4] ARM: dts: imx7s: Specify #io-channel-cells in ADC nodes

Quoted 11 lines · Andrey Smirnov

Specify #io-channel-cells in ADC nodes. Needed to be able to reference them by phandle.

Applied, thanks.

#3 lore raw

PATCH v3 3/4 dt-bindings: arm: fsl: Add support for ZII i.MX7 RPU2 board

In reply to Andrey Smirnov

Add support for ZII i.MX7 RPU2 board.

---
 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
index fb0a37bf16b8..18ffe3bfecf7 100644
@@ -141,6 +141,7 @@ properties:
         items:
           - enum:
               - fsl,imx7d-sdb             # i.MX7 SabreSD Board
+              - zii,imx7d-rpu2            # ZII RPU2 Board
           - const: fsl,imx7d
 
       - description:
Signature · 1 line
2.20.1
maintainer Acked-by on v3 3/4
#4 lore raw

Re: [PATCH v3 3/4] dt-bindings: arm: fsl: Add support for ZII i.MX7 RPU2 board

Quoted 12 lines · Andrey Smirnov

Add support for ZII i.MX7 RPU2 board.

Quoted 3 lines
---
 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)
Applied
#5 lore raw

Re: [PATCH v3 3/4] dt-bindings: arm: fsl: Add support for ZII i.MX7 RPU2 board

In reply to Andrey Smirnov
Quoted 11 lines · Andrey Smirnov

Add support for ZII i.MX7 RPU2 board.

Applied, thanks.

#6 lore raw

PATCH v3 4/4 ARM: dts: Add support for ZII i.MX7 RPU2 board

In reply to Andrey Smirnov

Add support for ZII's i.MX7 based Remote Peripheral Unit 2 (RPU2) board.

---

Changes since [v2]:

- Generic names for various nodes

- Minor formatting changes

- Collected Reviewed-by from Fabio

Changes since [v1]:

- Added iio-hwmon node

[v1] https://lore.kernel.org/lkml/[email protected]/
[v2] https://lore.kernel.org/lkml/[email protected]/

 arch/arm/boot/dts/Makefile           |   1 +
 arch/arm/boot/dts/imx7d-zii-rpu2.dts | 941 +++++++++++++++++++++++++++
 2 files changed, 942 insertions(+)
 create mode 100644 arch/arm/boot/dts/imx7d-zii-rpu2.dts
arch/arm/boot/dts/Makefile +1 -0
index efefce8efa05..687222907154 100644
@@ -586,6 +586,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \
 	imx7d-sdb.dtb \
 	imx7d-sdb-reva.dtb \
 	imx7d-sdb-sht11.dtb \
+	imx7d-zii-rpu2.dtb \
 	imx7s-colibri-eval-v3.dtb \
 	imx7s-warp.dtb
 dtb-$(CONFIG_SOC_IMX7ULP) += \
arch/arm/boot/dts/imx7d-zii-rpu2.dts new file +941 -0

941 lines not on this page · raw message

Signature · 1 line
2.20.1
Applied
#7 lore raw

Re: [PATCH v3 4/4] ARM: dts: Add support for ZII i.MX7 RPU2 board

Quoted 12 lines · Andrey Smirnov

Add support for ZII's i.MX7 based Remote Peripheral Unit 2 (RPU2) board.

Applied, thanks.

Applied
#8 lore raw
In reply to Andrey Smirnov
Quoted 11 lines · Andrey Smirnov

Add #io-channel-cells to list of required properties. Needed to be able to reference that node by phandle.

Applied, thanks.