Re: [PATCH] gpio: sn54hc595: new driver for GPIO shift registers chipsets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8 December 2014 at 15:41, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> Hi Rafał,
>
> On Mon, Dec 8, 2014 at 3:27 PM, Rafał Miłecki <zajec5@xxxxxxxxx> wrote:
>> SN54HC595 and SN74HC595 are devices based on shift registers controlled
>> with 5 input signals (serial-in) and providing 8 outputs (parallel-out).
>>
>> They are present on some Broadcom home router boards where manufacturer
>> needed few extra GPIOs.
>>
>> This driver simply uses specified GPIOs to control shift registers and
>> registers another GPIO chip. So you can call it a GPIO extender.
>>
>> Due to the hardware design only output direction is supported. Reading
>> values is handled using tiny internal cache.
>>
>> Signed-off-by: Rafał Miłecki <zajec5@xxxxxxxxx>
>> ---
>>  .../devicetree/bindings/gpio/gpio-sn54hc595.txt    |  35 ++++
>>  drivers/gpio/Kconfig                               |  11 ++
>>  drivers/gpio/Makefile                              |   1 +
>>  drivers/gpio/gpio-sn54hc595.c                      | 219 +++++++++++++++++++++
>
> The '595 is already handled by drivers/gpio/gpio-74x164.c.

gpio-74x164.c seems to be tight closely to the SPI. In my case it's
GPIO-controller '595.

Do you have any other idea how we could handle this?

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux