diff mbox series

[PATCH/RFC,3/4] arm64: dts: renesas: r9a07g044: Add I2C interrupt-names

Message ID d35ba11bd705e3c728f94ff0414ac6ae1156244f.1626267422.git.geert+renesas@glider.be
State Accepted
Commit 8e8890ea1a5e6ba0649e0d4f7447e812884c7ef4
Headers show
Series dt-bindings: i2c: renesas,riic: Add interrupt-names | expand

Commit Message

Geert Uytterhoeven July 14, 2021, 1:20 p.m. UTC
Add "interrupt-names" properties to the I2C device nodes, to make it
easier to review the interrupt mappings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Biju Das July 14, 2021, 5:21 p.m. UTC | #1
Hi Geert,

Thanks for the patch.

> Subject: [PATCH/RFC 3/4] arm64: dts: renesas: r9a07g044: Add I2C
> interrupt-names
> 
> Add "interrupt-names" properties to the I2C device nodes, to make it
> easier to review the interrupt mappings.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>

> ---
>  arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
> b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
> index 9a7489dc70d10882..0dd181739fdfc0f6 100644
> --- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
> @@ -102,6 +102,8 @@ i2c0: i2c@10058000 {
>  				     <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "tei", "ri", "ti", "spi", "sti",
> +					  "naki", "ali", "tmoi";
>  			clocks = <&cpg CPG_MOD R9A07G044_I2C0_PCLK>;
>  			clock-frequency = <100000>;
>  			resets = <&cpg R9A07G044_I2C0_MRST>; @@ -122,6 +124,8 @@
> i2c1: i2c@10058400 {
>  				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "tei", "ri", "ti", "spi", "sti",
> +					  "naki", "ali", "tmoi";
>  			clocks = <&cpg CPG_MOD R9A07G044_I2C1_PCLK>;
>  			clock-frequency = <100000>;
>  			resets = <&cpg R9A07G044_I2C1_MRST>; @@ -142,6 +146,8 @@
> i2c2: i2c@10058800 {
>  				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "tei", "ri", "ti", "spi", "sti",
> +					  "naki", "ali", "tmoi";
>  			clocks = <&cpg CPG_MOD R9A07G044_I2C2_PCLK>;
>  			clock-frequency = <100000>;
>  			resets = <&cpg R9A07G044_I2C2_MRST>; @@ -162,6 +168,8 @@
> i2c3: i2c@10058c00 {
>  				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>,
>  				     <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "tei", "ri", "ti", "spi", "sti",
> +					  "naki", "ali", "tmoi";
>  			clocks = <&cpg CPG_MOD R9A07G044_I2C3_PCLK>;
>  			clock-frequency = <100000>;
>  			resets = <&cpg R9A07G044_I2C3_MRST>;
> --
> 2.25.1
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
index 9a7489dc70d10882..0dd181739fdfc0f6 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
@@ -102,6 +102,8 @@  i2c0: i2c@10058000 {
 				     <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "tei", "ri", "ti", "spi", "sti",
+					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD R9A07G044_I2C0_PCLK>;
 			clock-frequency = <100000>;
 			resets = <&cpg R9A07G044_I2C0_MRST>;
@@ -122,6 +124,8 @@  i2c1: i2c@10058400 {
 				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "tei", "ri", "ti", "spi", "sti",
+					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD R9A07G044_I2C1_PCLK>;
 			clock-frequency = <100000>;
 			resets = <&cpg R9A07G044_I2C1_MRST>;
@@ -142,6 +146,8 @@  i2c2: i2c@10058800 {
 				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "tei", "ri", "ti", "spi", "sti",
+					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD R9A07G044_I2C2_PCLK>;
 			clock-frequency = <100000>;
 			resets = <&cpg R9A07G044_I2C2_MRST>;
@@ -162,6 +168,8 @@  i2c3: i2c@10058c00 {
 				     <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>,
 				     <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "tei", "ri", "ti", "spi", "sti",
+					  "naki", "ali", "tmoi";
 			clocks = <&cpg CPG_MOD R9A07G044_I2C3_PCLK>;
 			clock-frequency = <100000>;
 			resets = <&cpg R9A07G044_I2C3_MRST>;