[PATCH v2] i2c: Driver to expose PowerNV platform i2c busses

Neelesh Gupta neelegup at linux.vnet.ibm.com
Fri Nov 21 01:22:08 AEDT 2014


On 11/16/2014 10:47 PM, Neelesh Gupta wrote:
> The patch exposes the available i2c busses on the PowerNV platform
> to the kernel and implements the bus driver to support i2c and
> smbus commands.
> The driver uses the platform device infrastructure to probe the busses
> on the platform and registers them with the i2c driver framework.
>
> Signed-off-by: Neelesh Gupta <neelegup at linux.vnet.ibm.com>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---

Hi Wolfram,

Did you get the chance to look at it?
The patch addresses the comments and discussions on v1.

Thanks,
Neelesh

>   arch/powerpc/include/asm/opal.h                |   29 ++
>   arch/powerpc/platforms/powernv/opal-wrappers.S |    1
>   arch/powerpc/platforms/powernv/opal.c          |   11 +
>   drivers/i2c/busses/Kconfig                     |   11 +
>   drivers/i2c/busses/Makefile                    |    1
>   drivers/i2c/busses/i2c-opal.c                  |  295 ++++++++++++++++++++++++
>   6 files changed, 348 insertions(+)
>   create mode 100644 drivers/i2c/busses/i2c-opal.c
>
> diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
> index 9124b0e..537807b 100644
> --- a/arch/powerpc/include/asm/opal.h
> +++ b/arch/powerpc/include/asm/opal.h
>



More information about the Linuxppc-dev mailing list