Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
@ 2023-02-02 14:15 Alexey Romanov
  2023-02-02 14:19 ` Alexey Romanov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alexey Romanov @ 2023-02-02 14:15 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, neil.armstrong, khilman, jbrunet,
	martin.blumenstingl
  Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, kernel,
	Alexey Romanov

Add gpio interrupt controller node.

Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
---
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index 6268c323a810..a04ddf0f4cd3 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -158,6 +158,16 @@ clkc_pll: pll-clock-controller@7c80 {
 					 <&clkc_periphs CLKID_XTAL_HIFIPLL>;
 				clock-names = "xtal_fixpll", "xtal_hifipll";
 			};
+
+			gpio_intc: interrupt-controller@0440 {
+				compatible = "amlogic,meson-a1-gpio-intc",
+					     "amlogic,meson-gpio-intc";
+				reg = <0x0 0x0440 0x0 0x14>;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				amlogic,channel-interrupts =
+					<49 50 51 52 53 54 55 56>;
+			};
 		};
 
 		gic: interrupt-controller@ff901000 {
-- 
2.38.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-02-02 14:15 [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node Alexey Romanov
@ 2023-02-02 14:19 ` Alexey Romanov
  2023-02-04 23:05 ` Martin Blumenstingl
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Alexey Romanov @ 2023-02-02 14:19 UTC (permalink / raw)
  To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	neil.armstrong@linaro.org, khilman@baylibre.com,
	jbrunet@baylibre.com, martin.blumenstingl@googlemail.com
  Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
	kernel

Sorry, this patch has the wrong subject (I am tolking about1/2), 
there is no second patch.

On Thu, Feb 02, 2023 at 05:15:20PM +0300, Alexey Romanov wrote:
> Add gpio interrupt controller node.
> 
> Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
> ---
>  arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> index 6268c323a810..a04ddf0f4cd3 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> @@ -158,6 +158,16 @@ clkc_pll: pll-clock-controller@7c80 {
>  					 <&clkc_periphs CLKID_XTAL_HIFIPLL>;
>  				clock-names = "xtal_fixpll", "xtal_hifipll";
>  			};
> +
> +			gpio_intc: interrupt-controller@0440 {
> +				compatible = "amlogic,meson-a1-gpio-intc",
> +					     "amlogic,meson-gpio-intc";
> +				reg = <0x0 0x0440 0x0 0x14>;
> +				interrupt-controller;
> +				#interrupt-cells = <2>;
> +				amlogic,channel-interrupts =
> +					<49 50 51 52 53 54 55 56>;
> +			};
>  		};
>  
>  		gic: interrupt-controller@ff901000 {
> -- 
> 2.38.1
> 

-- 
Thank you,
Alexey
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-02-02 14:15 [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node Alexey Romanov
  2023-02-02 14:19 ` Alexey Romanov
@ 2023-02-04 23:05 ` Martin Blumenstingl
  2023-02-06 11:26   ` Dmitry Rokosov
  2023-02-08 12:34 ` Neil Armstrong
  2023-03-07  8:00 ` neil.armstrong
  3 siblings, 1 reply; 8+ messages in thread
From: Martin Blumenstingl @ 2023-02-04 23:05 UTC (permalink / raw)
  To: Alexey Romanov
  Cc: robh+dt, krzysztof.kozlowski+dt, neil.armstrong, khilman, jbrunet,
	devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, kernel

Hi Alexey,

On Thu, Feb 2, 2023 at 3:15 PM Alexey Romanov <avromanov@sberdevices.ru> wrote:
>
> Add gpio interrupt controller node.
>
> Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
I have no way to verify the register offset or interrupt numbers.
Overall it looks good though, so:
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>


Best regards,
Martin

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-02-04 23:05 ` Martin Blumenstingl
@ 2023-02-06 11:26   ` Dmitry Rokosov
  0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Rokosov @ 2023-02-06 11:26 UTC (permalink / raw)
  To: Martin Blumenstingl
  Cc: Alexey Romanov, robh+dt, krzysztof.kozlowski+dt, neil.armstrong,
	khilman, jbrunet, devicetree, linux-arm-kernel, linux-amlogic,
	linux-kernel, kernel

Hello Martin,

On Sun, Feb 05, 2023 at 12:05:46AM +0100, Martin Blumenstingl wrote:
> Hi Alexey,
> 
> On Thu, Feb 2, 2023 at 3:15 PM Alexey Romanov <avromanov@sberdevices.ru> wrote:
> >
> > Add gpio interrupt controller node.
> >
> > Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
> I have no way to verify the register offset or interrupt numbers.
> Overall it looks good though, so:
> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

We've verified interrupt numbers and register offsets on the our device
board based on A1 (A113L) + A113L datasheet.

-- 
Thank you,
Dmitry

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-02-02 14:15 [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node Alexey Romanov
  2023-02-02 14:19 ` Alexey Romanov
  2023-02-04 23:05 ` Martin Blumenstingl
@ 2023-02-08 12:34 ` Neil Armstrong
  2023-03-06 18:53   ` Alexey Romanov
  2023-03-07  8:00 ` neil.armstrong
  3 siblings, 1 reply; 8+ messages in thread
From: Neil Armstrong @ 2023-02-08 12:34 UTC (permalink / raw)
  To: Alexey Romanov, robh+dt, krzysztof.kozlowski+dt, khilman, jbrunet,
	martin.blumenstingl
  Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, kernel

Le 02/02/2023 à 15:15, Alexey Romanov a écrit :
> Add gpio interrupt controller node.
> 
> Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
> ---
>   arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> index 6268c323a810..a04ddf0f4cd3 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> @@ -158,6 +158,16 @@ clkc_pll: pll-clock-controller@7c80 {
>   					 <&clkc_periphs CLKID_XTAL_HIFIPLL>;
>   				clock-names = "xtal_fixpll", "xtal_hifipll";
>   			};
> +
> +			gpio_intc: interrupt-controller@0440 {
> +				compatible = "amlogic,meson-a1-gpio-intc",
> +					     "amlogic,meson-gpio-intc";
> +				reg = <0x0 0x0440 0x0 0x14>;
> +				interrupt-controller;
> +				#interrupt-cells = <2>;
> +				amlogic,channel-interrupts =
> +					<49 50 51 52 53 54 55 56>;
> +			};
>   		};
>   
>   		gic: interrupt-controller@ff901000 {

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>


I'll take it once v6.3-rc1 is tagged.


Thanks,

Neil

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-02-08 12:34 ` Neil Armstrong
@ 2023-03-06 18:53   ` Alexey Romanov
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Romanov @ 2023-03-06 18:53 UTC (permalink / raw)
  To: Neil Armstrong
  Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	khilman@baylibre.com, jbrunet@baylibre.com,
	martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
	kernel

Hello, Neil!

On Wed, Feb 08, 2023 at 01:34:04PM +0100, Neil Armstrong wrote:
> Le 02/02/2023 à 15:15, Alexey Romanov a écrit :
> > Add gpio interrupt controller node.
> > 
> > Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
> > ---
> >   arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
> >   1 file changed, 10 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> > index 6268c323a810..a04ddf0f4cd3 100644
> > --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> > +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> > @@ -158,6 +158,16 @@ clkc_pll: pll-clock-controller@7c80 {
> >   					 <&clkc_periphs CLKID_XTAL_HIFIPLL>;
> >   				clock-names = "xtal_fixpll", "xtal_hifipll";
> >   			};
> > +
> > +			gpio_intc: interrupt-controller@0440 {
> > +				compatible = "amlogic,meson-a1-gpio-intc",
> > +					     "amlogic,meson-gpio-intc";
> > +				reg = <0x0 0x0440 0x0 0x14>;
> > +				interrupt-controller;
> > +				#interrupt-cells = <2>;
> > +				amlogic,channel-interrupts =
> > +					<49 50 51 52 53 54 55 56>;
> > +			};
> >   		};
> >   		gic: interrupt-controller@ff901000 {
> 
> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
> 
> 
> I'll take it once v6.3-rc1 is tagged.
> 
> 
> Thanks,
> 
> Neil

v6.3 is tagged, but we didn't find my patch in Amlogic branch.

Did you happen to forget about him?

-- 
Thank you,
Alexey
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-02-02 14:15 [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node Alexey Romanov
                   ` (2 preceding siblings ...)
  2023-02-08 12:34 ` Neil Armstrong
@ 2023-03-07  8:00 ` neil.armstrong
  2023-03-07  9:30   ` Alexey Romanov
  3 siblings, 1 reply; 8+ messages in thread
From: neil.armstrong @ 2023-03-07  8:00 UTC (permalink / raw)
  To: Alexey Romanov, robh+dt, krzysztof.kozlowski+dt, khilman, jbrunet,
	martin.blumenstingl
  Cc: devicetree, linux-arm-kernel, linux-amlogic, linux-kernel, kernel

On 02/02/2023 15:15, Alexey Romanov wrote:
> Add gpio interrupt controller node.
> 
> Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
> ---
>   arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> index 6268c323a810..a04ddf0f4cd3 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> @@ -158,6 +158,16 @@ clkc_pll: pll-clock-controller@7c80 {
>   					 <&clkc_periphs CLKID_XTAL_HIFIPLL>;
>   				clock-names = "xtal_fixpll", "xtal_hifipll";
>   			};
> +
> +			gpio_intc: interrupt-controller@0440 {
> +				compatible = "amlogic,meson-a1-gpio-intc",
> +					     "amlogic,meson-gpio-intc";
> +				reg = <0x0 0x0440 0x0 0x14>;
> +				interrupt-controller;
> +				#interrupt-cells = <2>;
> +				amlogic,channel-interrupts =
> +					<49 50 51 52 53 54 55 56>;
> +			};
>   		};
>   
>   		gic: interrupt-controller@ff901000 {

The [PATCH 1/2] highly confused b4, anyway it's applied on v6.4/arm64-dt.

Thanks,
Neil

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node
  2023-03-07  8:00 ` neil.armstrong
@ 2023-03-07  9:30   ` Alexey Romanov
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Romanov @ 2023-03-07  9:30 UTC (permalink / raw)
  To: neil.armstrong@linaro.org
  Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	khilman@baylibre.com, jbrunet@baylibre.com,
	martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org,
	kernel

> The [PATCH 1/2] highly confused b4, anyway it's applied on v6.4/arm64-dt.
> 
> Thanks,
> Neil


Oh, sorry for the noise. 
Thank you, Neil!

-- 
Thank you,
Alexey
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-03-07  9:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-02 14:15 [PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node Alexey Romanov
2023-02-02 14:19 ` Alexey Romanov
2023-02-04 23:05 ` Martin Blumenstingl
2023-02-06 11:26   ` Dmitry Rokosov
2023-02-08 12:34 ` Neil Armstrong
2023-03-06 18:53   ` Alexey Romanov
2023-03-07  8:00 ` neil.armstrong
2023-03-07  9:30   ` Alexey Romanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox