All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: augment Moxa ART GPIO node
@ 2017-03-22 11:12 Linus Walleij
  2017-03-31 10:00 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2017-03-22 11:12 UTC (permalink / raw)
  To: linux-arm-kernel

The Moxa ART GPIO is a Faraday FTGPIO010. Augment the DTS node
to indicate both compatible values for the SoC and the IP part.
Also increase the register range to 0x100, it has at least 0x48
bytes of registers, and a few extra will not hurt.

Tested-by: Jonas Jensen <jonas.jensen@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks: please just apply this to DT for-next like the
other Moxa Faraday cleanup patch.
---
 arch/arm/boot/dts/moxart.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi
index 64f2f44235d0..e86f8c905ac5 100644
--- a/arch/arm/boot/dts/moxart.dtsi
+++ b/arch/arm/boot/dts/moxart.dtsi
@@ -67,8 +67,8 @@
 		gpio: gpio at 98700000 {
 			gpio-controller;
 			#gpio-cells = <2>;
-			compatible = "moxa,moxart-gpio";
-			reg = <0x98700000 0xC>;
+			compatible = "moxa,moxart-gpio", "faraday,ftgpio010";
+			reg = <0x98700000 0x100>;
 		};
 
 		rtc: rtc {
-- 
2.9.3

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

* [PATCH] ARM: dts: augment Moxa ART GPIO node
  2017-03-22 11:12 [PATCH] ARM: dts: augment Moxa ART GPIO node Linus Walleij
@ 2017-03-31 10:00 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2017-03-31 10:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Mar 22, 2017 at 12:12 PM, Linus Walleij
<linus.walleij@linaro.org> wrote:
> The Moxa ART GPIO is a Faraday FTGPIO010. Augment the DTS node
> to indicate both compatible values for the SoC and the IP part.
> Also increase the register range to 0x100, it has at least 0x48
> bytes of registers, and a few extra will not hurt.
>
> Tested-by: Jonas Jensen <jonas.jensen@gmail.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks: please just apply this to DT for-next like the
> other Moxa Faraday cleanup patch.

Applied on next/dt, thanks!

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

end of thread, other threads:[~2017-03-31 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-22 11:12 [PATCH] ARM: dts: augment Moxa ART GPIO node Linus Walleij
2017-03-31 10:00 ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.