From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Alexander Shiyan <shc_work@mail.ru>,
Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
Muralidharan Karicheri <m-karicheri2@ti.com>
Subject: Re: [PATCH v1] gpio: keystone: add dsp gpio controller driver
Date: Mon, 11 Aug 2014 19:06:54 +0300 [thread overview]
Message-ID: <53E8EA1E.8080804@ti.com> (raw)
In-Reply-To: <1406128780.455243415@f419.i.mail.ru>
Hi Alexander, Linus,
On 07/23/2014 06:19 PM, Alexander Shiyan wrote:
> Wed, 23 Jul 2014 17:10:26 +0200 от Linus Walleij <linus.walleij@linaro.org>:
>> On Wed, Jul 16, 2014 at 12:43 PM, Grygorii Strashko
>> <grygorii.strashko@ti.com> wrote:
>>
>>> From: Murali Karicheri <m-karicheri2@ti.com>
>>>
>>> On Keystone SOCs, ARM host can send interrupts to DSP cores using the
>>> DSP GPIO controller IP. Each DSP GPIO controller provides 28 IRQ signals for
>>> each DSP core. This is one of the component used by the IPC mechanism used
>>> on Keystone SOCs.
>>>
>>> Keystone 2 DSP GPIO controller has specific features:
>>> - each GPIO can be configured only as output pin;
>>> - setting GPIO value to 1 causes IRQ generation on target DSP core;
>>> - reading pin value returns 0 - if IRQ was handled or 1 - IRQ is still
>>> pending.
>>>
>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
> ...
>> And if you proceed with this, please integrate it with
>> drivers/gpio/gpio-syscon.c, I don't need more special
>> syscons GPIO handlers.
Thanks for your comments.
I'm going to update it for using "gpio-syscon".
But "gpio-syscon" driver itself will need to be modified to support our
device specific callbacks:
- gpiochip.set(): it should set bit 0 to 1 always to physically apply GPIO values
- gpiochip.direction_output(): it should do nothing in our case, just return 0
So, I'll extend struct syscon_gpio_data to support custom implementation of
set/direction_output callbacks. Will it be ok for you?
Best regards,
- grygorii
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-08-11 15:22 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-16 10:43 [PATCH v1] gpio: keystone: add dsp gpio controller driver Grygorii Strashko
2014-07-16 10:43 ` Grygorii Strashko
2014-07-16 10:05 ` Varka Bhadram
2014-07-21 14:20 ` Grygorii Strashko
2014-07-21 14:20 ` Grygorii Strashko
2014-07-23 15:10 ` Linus Walleij
2014-07-23 15:19 ` Alexander Shiyan
2014-08-11 16:06 ` Grygorii Strashko [this message]
2014-08-11 15:26 ` Alexander Shiyan
[not found] ` <CACRpkdYY_a_9G-VLBbv2a22Cg4j0t3Wv4W1h0n6-ccCXgVJXsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-23 15:25 ` Santosh Shilimkar
2014-07-23 15:25 ` Santosh Shilimkar
2014-07-24 14:12 ` Linus Walleij
2014-07-24 14:21 ` Santosh Shilimkar
2014-07-24 14:21 ` Santosh Shilimkar
2014-07-24 15:23 ` Linus Walleij
[not found] ` <CACRpkdbBeySnCBD4H2bBmievHYyPabL8sKXKiBp-D6PtNTV9YQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-07-24 15:40 ` Santosh Shilimkar
2014-07-24 15:40 ` Santosh Shilimkar
2014-07-24 17:19 ` Jassi Brar
2014-07-24 17:22 ` Santosh Shilimkar
2014-07-24 17:22 ` Santosh Shilimkar
2014-07-24 18:12 ` Jassi Brar
2014-07-24 18:52 ` Suman Anna
2014-07-24 18:52 ` Suman Anna
2014-07-24 23:41 ` Santosh Shilimkar
2014-07-24 23:41 ` Santosh Shilimkar
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=53E8EA1E.8080804@ti.com \
--to=grygorii.strashko@ti.com \
--cc=gnurou@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=m-karicheri2@ti.com \
--cc=shc_work@mail.ru \
/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 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.