LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ARM64: dts: meson-axg: add GPIO interrupt controller support
@ 2018-04-08 15:10 Yixun Lan
2018-04-19 18:01 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Yixun Lan @ 2018-04-08 15:10 UTC (permalink / raw)
To: Kevin Hilman
Cc: Yixun Lan, Carlo Caione, Jerome Brunet, Heiner Kallweit,
Rob Herring, Xingyu Chen, linux-amlogic, linux-arm-kernel,
linux-kernel, devicetree
Add the GPIO interrupt controller driver which found in the Amlogic's
Meson-AXG SoC, the controller share the similar ASIC IP as other meson SoCs.
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
Hi Kevin
Please note this patch depend on the GPIO interrupt driver here[0]
[0] http://lkml.kernel.org/r/20180408145700.23520-1-yixun.lan@amlogic.com
---
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index b58808eb3cc8..c1105065de99 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -120,6 +120,15 @@
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
+ gpio_intc: interrupt-controller@f080 {
+ compatible = "amlogic,meson-gpio-intc";
+ reg = <0x0 0xf080 0x0 0x10>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
+ status = "disabled";
+ };
+
pwm_ab: pwm@1b000 {
compatible = "amlogic,meson-axg-ee-pwm";
reg = <0x0 0x1b000 0x0 0x20>;
--
2.16.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM64: dts: meson-axg: add GPIO interrupt controller support
2018-04-08 15:10 [PATCH] ARM64: dts: meson-axg: add GPIO interrupt controller support Yixun Lan
@ 2018-04-19 18:01 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2018-04-19 18:01 UTC (permalink / raw)
To: Yixun Lan
Cc: Carlo Caione, Jerome Brunet, Heiner Kallweit, Rob Herring,
Xingyu Chen, linux-amlogic, linux-arm-kernel, linux-kernel,
devicetree
Yixun Lan <yixun.lan@amlogic.com> writes:
> Add the GPIO interrupt controller driver which found in the Amlogic's
> Meson-AXG SoC, the controller share the similar ASIC IP as other meson SoCs.
>
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Applied to v4.18/dt64,
> ---
> Hi Kevin
> Please note this patch depend on the GPIO interrupt driver here[0]
Thanks for noting the dependencies.
Kevin
> [0] http://lkml.kernel.org/r/20180408145700.23520-1-yixun.lan@amlogic.com
> ---
> arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> index b58808eb3cc8..c1105065de99 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> @@ -120,6 +120,15 @@
> #size-cells = <2>;
> ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>;
>
> + gpio_intc: interrupt-controller@f080 {
> + compatible = "amlogic,meson-gpio-intc";
> + reg = <0x0 0xf080 0x0 0x10>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
> + status = "disabled";
> + };
> +
> pwm_ab: pwm@1b000 {
> compatible = "amlogic,meson-axg-ee-pwm";
> reg = <0x0 0x1b000 0x0 0x20>;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-19 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-08 15:10 [PATCH] ARM64: dts: meson-axg: add GPIO interrupt controller support Yixun Lan
2018-04-19 18:01 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).