[PATCH] gpio: Add designware gpio controller support
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Thu Oct 17 04:24:11 EDT 2013
On 10/17/2013 10:04 AM, Steffen Trumtrar wrote:
> On Mon, Sep 09, 2013 at 06:28:48PM +0200, Sebastian Hesselbarth wrote:
>> On 09/09/13 16:54, Sascha Hauer wrote:
>>> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
>>> ---
>>> drivers/gpio/Kconfig | 6 ++
>>> drivers/gpio/Makefile | 1 +
>>> drivers/gpio/gpio-dw.c | 151 +++++++++++++++++++++++++++++++++++++++++++++++++
>>> 3 files changed, 158 insertions(+)
>>> create mode 100644 drivers/gpio/gpio-dw.c
>>>
>>> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
>>> index d5ac532..18d3135 100644
>>> --- a/drivers/gpio/Kconfig
>>> +++ b/drivers/gpio/Kconfig
>>> @@ -54,6 +54,12 @@ config GPIO_TEGRA
>>> help
>>> Say yes here to include the driver for the GPIO controller found on the
>>> Tegra line of SoCs.
>>> +
>>> +config GPIO_DESIGNWARE
>>> + tristate "Synopsys DesignWare GPIO driver"
>>
>> Sascha,
>>
>> I know DW's GPIO is also used on Armada 1500 which I currently work on.
>> Precisely, the IP is named dw-apb-gpio. Maybe the above should also
>> reflect APB.
>>
>> [...]
>>
>> Please add "snps,dw-apb-gpio", that's what the linux driver
>> will look for if make to pick it up for Armada 1500.
>>
>
> Are you talking about the 'old' linux driver that was posted sometime around
> January 2012 or are you working on your own?
Cannot recall the actual version or time posted. I didn't find time to
work on a linux driver for dw-apb-gpio, yet. My idea was to pick up the
latest driver posted plus make it more general. IIRC the one posted was
very limited to socfpga.
> Do you have a working pre-release version somewhere?
Sorry, nothing started, yet.
Are you going to work on it? If so, feel free to involve me in patches
and reviews.
Sebastian
More information about the barebox
mailing list