Re: [PATCH v7] gpio: Add driver for basic memory-mapped GPIOcontrollers

From: Anton Vorontsov
Date: Tue Sep 21 2010 - 18:24:05 EST


On Tue, Sep 07, 2010 at 06:01:32PM +0400, Anton Vorontsov wrote:
> The basic GPIO controllers may be found in various on-board FPGA
> and ASIC solutions that are used to control board's switches, LEDs,
> chip-selects, Ethernet/USB PHY power, etc.
>
> These controllers may not provide any means of pin setup
> (in/out/open drain).
>
> The driver supports:
> - 8/16/32/64 bits registers;
> - GPIO controllers with clear/set registers;
> - GPIO controllers with a single "data" register;
> - Big endian bits/GPIOs ordering (mostly used on PowerPC).
>
> Signed-off-by: Anton Vorontsov <cbouatmailru@xxxxxxxxx>
> Reviewed-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
>
> A lucky v7.
>
> In v7 I only changed platform data handling. It appears that
> when used with MFD core, we can't just pass integers via
> platform_data poiner, as platform_device_add_data() would try
> to copy the data pointed by mfd_cell.platform_data.
>
> This is now fixed by introducing a proper platform data
> struct.

Ping? Anyone?

--
Anton Vorontsov
email: cbouatmailru@xxxxxxxxx
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/