devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP
@ 2015-12-04 17:12 Yendapally Reddy Dhananjaya Reddy
       [not found] ` <1449249162-16850-1-git-send-email-yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
  2016-02-11 20:01 ` Florian Fainelli
  0 siblings, 2 replies; 4+ messages in thread
From: Yendapally Reddy Dhananjaya Reddy @ 2015-12-04 17:12 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King, Ray Jui, Scott Branden, Jon Mason, Linus Walleij
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	Yendapally Reddy Dhananjaya Reddy

This enables the GPIO-a support for Broadcom NSP SoC

Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
---
 arch/arm/boot/dts/bcm-nsp.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index 58aca27..148d79e 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -116,4 +116,16 @@
 			status = "disabled";
 		};
 	};
+
+	gpioa: gpio@18000020 {
+		compatible = "brcm,nsp-gpio-a";
+		reg = <0x18000020 0x70>,
+		      <0x1803f1c4 0x1c>;
+		#gpio-cells = <2>;
+		gpio-controller;
+		ngpios = <32>;
+		interrupt-controller;
+		interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+		gpio-ranges = <&pinctrl 0 0 32>;
+	};
 };
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP
       [not found] ` <1449249162-16850-1-git-send-email-yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
@ 2015-12-10 17:46   ` Linus Walleij
       [not found]     ` <CACRpkdZ3ANXouYwFajnNOyPKZsXef6zdszLM525n9GVbUT2nOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Linus Walleij @ 2015-12-10 17:46 UTC (permalink / raw)
  To: Yendapally Reddy Dhananjaya Reddy
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King, Ray Jui, Scott Branden, Jon Mason,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	bcm-kernel-feedback-list,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Fri, Dec 4, 2015 at 6:12 PM, Yendapally Reddy Dhananjaya Reddy
<yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> wrote:

> This enables the GPIO-a support for Broadcom NSP SoC
>
> Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>

Acked-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

Please merge this through the ARM SoC tree or BCM upstream tree,
however that works.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP
       [not found]     ` <CACRpkdZ3ANXouYwFajnNOyPKZsXef6zdszLM525n9GVbUT2nOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-12-11  0:33       ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2015-12-11  0:33 UTC (permalink / raw)
  To: Linus Walleij, Yendapally Reddy Dhananjaya Reddy
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King, Ray Jui, Scott Branden, Jon Mason,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	bcm-kernel-feedback-list,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On 10/12/15 09:46, Linus Walleij wrote:
> On Fri, Dec 4, 2015 at 6:12 PM, Yendapally Reddy Dhananjaya Reddy
> <yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org> wrote:
> 
>> This enables the GPIO-a support for Broadcom NSP SoC
>>
>> Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
> 
> Acked-by: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> 
> Please merge this through the ARM SoC tree or BCM upstream tree,
> however that works.

The same way as any other ARM-based SoCs, so I will take this one. Thanks.
-- 
Florian
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP
  2015-12-04 17:12 [PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP Yendapally Reddy Dhananjaya Reddy
       [not found] ` <1449249162-16850-1-git-send-email-yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
@ 2016-02-11 20:01 ` Florian Fainelli
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2016-02-11 20:01 UTC (permalink / raw)
  To: Yendapally Reddy Dhananjaya Reddy, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, Russell King, Ray Jui,
	Scott Branden, Jon Mason, Linus Walleij
  Cc: devicetree, linux-arm-kernel, bcm-kernel-feedback-list,
	linux-kernel

On 04/12/15 09:12, Yendapally Reddy Dhananjaya Reddy wrote:
> This enables the GPIO-a support for Broadcom NSP SoC
> 
> Signed-off-by: Yendapally Reddy Dhananjaya Reddy <yrdreddy@broadcom.com>

Finally applied to devicetree/next, since there was a bit of
restructuring with the addition of the ranges, please verify the results
look correct here:

https://github.com/Broadcom/stblinux/commit/018e4feb7584971b3dbda6daa6a8fef310cafbcb

> ---
>  arch/arm/boot/dts/bcm-nsp.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
> index 58aca27..148d79e 100644
> --- a/arch/arm/boot/dts/bcm-nsp.dtsi
> +++ b/arch/arm/boot/dts/bcm-nsp.dtsi
> @@ -116,4 +116,16 @@
>  			status = "disabled";
>  		};
>  	};
> +
> +	gpioa: gpio@18000020 {
> +		compatible = "brcm,nsp-gpio-a";
> +		reg = <0x18000020 0x70>,
> +		      <0x1803f1c4 0x1c>;
> +		#gpio-cells = <2>;
> +		gpio-controller;
> +		ngpios = <32>;
> +		interrupt-controller;
> +		interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
> +		gpio-ranges = <&pinctrl 0 0 32>;
> +	};
>  };
> 


-- 
Florian

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

end of thread, other threads:[~2016-02-11 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-04 17:12 [PATCH v2 3/3] ARM: dts: enable GPIO-a for Broadcom NSP Yendapally Reddy Dhananjaya Reddy
     [not found] ` <1449249162-16850-1-git-send-email-yrdreddy-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-12-10 17:46   ` Linus Walleij
     [not found]     ` <CACRpkdZ3ANXouYwFajnNOyPKZsXef6zdszLM525n9GVbUT2nOQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-11  0:33       ` Florian Fainelli
2016-02-11 20:01 ` Florian Fainelli

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).