Skip to contentSkip to conversation

dt-bindings: iio: adc: imx93: drop the 4th interrupt

PATCH Applied Peng Fan (OSS) 5 participants 8 messages Feb 26, 2024 – Mar 28, 2024

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

PATCH 1/2 dt-bindings: iio: adc: imx93: drop the 4th interrupt

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2013, there is no interrupt 268, so drop it.

---
 Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +1 -3
index dacc526dc695..dfc3f512918f 100644
@@ -31,7 +31,6 @@ properties:
       - description: normal conversion, include EOC (End of Conversion),
           ECH (End of Chain), JEOC (End of Injected Conversion) and
           JECH (End of injected Chain).
-      - description: Self-testing Interrupts.
 
   clocks:
     maxItems: 1
@@ -70,8 +69,7 @@ examples:
             reg = <0x44530000 0x10000>;
             interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
                          <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+                         <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>;
             clocks = <&clk IMX93_CLK_ADC1_GATE>;
             clock-names = "ipg";
             vref-supply = <&reg_vref_1v8>;
Signature · 1 line
2.37.1
#1 lore raw

PATCH 2/2 arm64: dts: imx93: drop the 4th interrupt for ADC

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2023, there is no interrupt 268, drop it.

---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx93.dtsi +1 -2
index 601c94e1fac8..b8ef9b938856 100644
@@ -509,8 +509,7 @@ adc1: adc@44530000 {
 				reg = <0x44530000 0x10000>;
 				interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
 					     <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+					     <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&clk IMX93_CLK_ADC1_GATE>;
 				clock-names = "ipg";
 				#io-channel-cells = <1>;
Signature · 1 line
2.37.1
#2 lore raw

RE: [PATCH 2/2] arm64: dts: imx93: drop the 4th interrupt for ADC

Hi Shawn,

Quoted 1 line

Subject: [PATCH 2/2] arm64: dts: imx93: drop the 4th interrupt for ADC

The Patch 1/2 has been accepted. Would you please check this dts part?

Thanks,
Peng.

Quoted 33 lines

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2023, there is no interrupt 268, drop it.

---
 arch/arm64/boot/dts/freescale/imx93.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/freescale/imx93.dtsi +0 -2
index 601c94e1fac8..b8ef9b938856 100644
@@ -509,8 +509,7 @@ adc1: adc@44530000 {
 				reg = <0x44530000 0x10000>;
 				interrupts = <GIC_SPI 217
 IRQ_TYPE_LEVEL_HIGH>,
 					     <GIC_SPI 218
 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 219
 IRQ_TYPE_LEVEL_HIGH>,
-					     <GIC_SPI 268

IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/freescale/imx93.dtsi +1 -0
+					     <GIC_SPI 219

IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/freescale/imx93.dtsi +0 -1
 				clocks = <&clk IMX93_CLK_ADC1_GATE>;
 				clock-names = "ipg";
 				#io-channel-cells = <1>;
--

2.37.1

#4 lore raw
In reply to Peng Fan (OSS)
Quoted 4 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2013, there is no interrupt 268, so drop it.

Don't just remove it from the example, drop it from the binding too? It does permit a 4th "self testing" interrupt.

Thanks,
Conor.

Quoted 31 lines
---
 Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +1 -3
index dacc526dc695..dfc3f512918f 100644
@@ -31,7 +31,6 @@ properties:
       - description: normal conversion, include EOC (End of Conversion),
           ECH (End of Chain), JEOC (End of Injected Conversion) and
           JECH (End of injected Chain).
-      - description: Self-testing Interrupts.
 
   clocks:
     maxItems: 1
@@ -70,8 +69,7 @@ examples:
             reg = <0x44530000 0x10000>;
             interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
                          <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+                         <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>;
             clocks = <&clk IMX93_CLK_ADC1_GATE>;
             clock-names = "ipg";
             vref-supply = <&reg_vref_1v8>;
Signature · 1 line
2.37.1
maintainer
#5 lore raw
Quoted 8 lines · On Mon, 26 Feb 2024 16:24:47 +0000 Conor Dooley <[email protected]> wrote:
Quoted 4 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2013, there is no interrupt 268, so drop it.

Don't just remove it from the example, drop it from the binding too? It does permit a 4th "self testing" interrupt.

I'm missing something. See below...

Quoted 10 lines

Thanks,
Conor.

Quoted 6 lines
---
 Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Quoted 9 lines

Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml properties: · line 34

Quoted 9 lines
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +0 -1
index dacc526dc695..dfc3f512918f 100644
@@ -31,7 +31,6 @@ properties:
       - description: normal conversion, include EOC (End of Conversion),
           ECH (End of Chain), JEOC (End of Injected Conversion) and
           JECH (End of injected Chain).
-      - description: Self-testing Interrupts.

Eyes skipped over this maybe? The 4th interrupt is removed from binding here...

Quoted 16 lines
Quoted 16 lines
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +1 -2
   clocks:
     maxItems: 1
@@ -70,8 +69,7 @@ examples:
             reg = <0x44530000 0x10000>;
             interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
                          <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
-                         <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>;
+                         <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>;
             clocks = <&clk IMX93_CLK_ADC1_GATE>;
             clock-names = "ipg";
             vref-supply = <&reg_vref_1v8>;
Signature · 1 line
2.37.1
Acked-by
#6 lore raw
Quoted 23 lines · Jonathan Cameron
Quoted 8 lines · On Mon, 26 Feb 2024 16:24:47 +0000 Conor Dooley <[email protected]> wrote:
Quoted 4 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2013, there is no interrupt 268, so drop it.

Don't just remove it from the example, drop it from the binding too? It does permit a 4th "self testing" interrupt.

I'm missing something. See below...

Quoted 10 lines

Thanks,
Conor.

Quoted 6 lines
---
 Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Quoted 11 lines
Quoted 9 lines

Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml properties: · line 34

Quoted 9 lines
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +0 -1
index dacc526dc695..dfc3f512918f 100644
@@ -31,7 +31,6 @@ properties:
       - description: normal conversion, include EOC (End of Conversion),
           ECH (End of Chain), JEOC (End of Injected Conversion) and
           JECH (End of injected Chain).
-      - description: Self-testing Interrupts.

Eyes skipped over this maybe? The 4th interrupt is removed from binding here...

Huh, wonder how I missed that. I thought I double checked...

Cheers,
Conor.

maintainer
#7 lore raw
Quoted 36 lines · On Mon, 26 Feb 2024 21:17:06 +0000 Conor Dooley <[email protected]> wrote:
Quoted 23 lines · Jonathan Cameron
Quoted 8 lines · On Mon, 26 Feb 2024 16:24:47 +0000 Conor Dooley <[email protected]> wrote:
Quoted 4 lines · Peng Fan (OSS)

From: Peng Fan <[email protected]>

Per i.MX93 Reference Mannual Rev.4, 12/2013, there is no interrupt 268, so drop it.

Don't just remove it from the example, drop it from the binding too? It does permit a 4th "self testing" interrupt.

I'm missing something. See below...

Quoted 10 lines

Thanks,
Conor.

Quoted 6 lines
---
 Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Quoted 11 lines
Quoted 9 lines

Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml properties: · line 34

Quoted 9 lines
Documentation/devicetree/bindings/iio/adc/nxp,imx93-adc.yaml +0 -1
index dacc526dc695..dfc3f512918f 100644
@@ -31,7 +31,6 @@ properties:
       - description: normal conversion, include EOC (End of Conversion),
           ECH (End of Chain), JEOC (End of Injected Conversion) and
           JECH (End of injected Chain).
-      - description: Self-testing Interrupts.  

Eyes skipped over this maybe? The 4th interrupt is removed from binding here...

Quoted 5 lines

Huh, wonder how I missed that. I thought I double checked...

Cheers,
Conor.

Happens to us all! Applied patch 1 to the togreg branch of iio.git and pushed it out as testing so 0-day can poke at it.
Thanks,

Jonathan