From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v1 1/3] gpio: Add APM X-Gene standby GPIO controller driver
Date: Thu, 09 Oct 2014 14:13:34 +0200 [thread overview]
Message-ID: <2334188.M3m5hnmS5j@wuerfel> (raw)
In-Reply-To: <CAL4ahLfpubEqi49gy8T9pyrf=1j__LbAsKUyr5i=koNyp0Mmig@mail.gmail.com>
On Thursday 09 October 2014 16:31:18 Y Vo wrote:
> Dear Arnd,
>
> Thanks a lot for your review. Pls see my answer on blue text below.
Please do not send html-encoded email, it will get dropped by all mailing
lists.
>
> On Wed, Oct 8, 2014 at 10:13 PM, Arnd Bergmann <arnd@arndb.de> wrote:
>
> > On Wednesday 08 October 2014 21:52:26 Y Vo wrote:
> > > +
> > > +#define GICD_SPI_BASE 0x78010000
> >
> > You can't hardcode register locations. Please use the proper interfaces
> > to do whatever you want.
> > *APM: We will do that.*
>
>
>
> >
> > It's probably not ok to map any GIC registers into the GPIO driver,
> > it should operate as a nested irqchip.
> >
>
> *APM: We will find the solution, the problem is we want to read the status
> of that GPIO in case it is configured IRQ. In this case we must access to
> GIC to read the true value.*
Can you explain what the hardware does here? Do you mean you have no way
to read the GPIO level from the GPIO controller for any pin that is
configured as an interrupt?
Can you route all GPIO pins to arbitrary upstream IRQ lines, or is this
hardwired in the GPIO block?
Arnd
next prev parent reply other threads:[~2014-10-09 12:13 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 14:52 [PATCH v1 0/3] gpio: Add APM X-Gene standy platform GPIO driver Y Vo
2014-10-08 14:52 ` [PATCH v1 1/3] gpio: Add APM X-Gene standby GPIO controller driver Y Vo
2014-10-08 15:13 ` Arnd Bergmann
[not found] ` <CAL4ahLfpubEqi49gy8T9pyrf=1j__LbAsKUyr5i=koNyp0Mmig@mail.gmail.com>
2014-10-09 12:13 ` Arnd Bergmann [this message]
2014-10-10 3:22 ` Y Vo
2014-10-10 7:26 ` Arnd Bergmann
2014-10-24 12:14 ` Linus Walleij
2014-10-24 13:46 ` Arnd Bergmann
2014-10-29 9:52 ` Linus Walleij
2014-10-29 10:24 ` Arnd Bergmann
2014-10-29 15:09 ` Y Vo
2014-10-29 15:16 ` Arnd Bergmann
2014-12-16 9:43 ` Y Vo
2014-12-16 9:56 ` Arnd Bergmann
2014-10-08 14:52 ` [PATCH v1 2/3] Documentation: gpio: Add APM X-Gene standby GPIO controller DTS binding Y Vo
2014-10-08 14:52 ` [PATCH v1 3/3] arm64:dts: Add APM X-Gene standby GPIO controller DTS entries Y Vo
2014-10-09 9:42 ` [PATCH v1 0/3] gpio: Add APM X-Gene standy platform GPIO driver Mark Rutland
2014-10-09 11:53 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2334188.M3m5hnmS5j@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox