Re: [PATCH v5] gpio: Add MOXA ART GPIO driver

2013-10-17 Thread Linus Walleij
On Mon, Oct 14, 2013 at 1:15 PM, Jonas Jensen wrote: > On 11 October 2013 17:44, Linus Walleij wrote: >>> The register responsible for doing enable/disable is located >>> at <0x98100100 0x4>, the clock register is very close at >>> <0x9810 0x34>. (...) > Arnd made a similar comme

Re: [PATCH v5] gpio: Add MOXA ART GPIO driver

2013-10-14 Thread Jonas Jensen
Thank you for the replies. On 11 October 2013 17:44, Linus Walleij wrote: >> The register responsible for doing enable/disable is located >> at <0x98100100 0x4>, the clock register is very close at >> <0x9810 0x34>. > > If we don't know we have to guess. > > This layout makes me t

Re: [PATCH v5] gpio: Add MOXA ART GPIO driver

2013-10-11 Thread Linus Walleij
On Fri, Oct 11, 2013 at 4:53 PM, Jonas Jensen wrote: > I agree it is a bit strange GPIO control is divided in two > separate registers. Unfortunately I can't offer an explanation > because the documentation is not publicly available. > > The register responsible for doing enable/d

[PATCH v5] gpio: Add MOXA ART GPIO driver

2013-10-11 Thread Jonas Jensen
Add GPIO driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen --- Notes: Thanks for the replies, I agree it is a bit strange GPIO control is divided in two separate registers. Unfortunately I can't offer an explanation because the documentation is not publicly available.