i2c: microchip: pci1xxxx: Load I2C driver for I2C endpoint of pci1xxxx switch
Subsystems (2)
RFC PATCH 1/1 i2c: microchip: pci1xxxx: Load I2C driver for I2C endpoint of pci1xxxx switch
Microchip PCI1XXXX is an unmanaged PCIe3.1a Switch for Consumer, Industrial and Automotive applications. This switch has multiple downstream ports. In one of the Switch's Downstream port, there is a peripheral endpoint which supports I2C functionality. The I2C function in the endpoint operates at 100KHz, 400KHz and 1 MHz and has buffer depth of 128 bytes.
This series of patches provides the I2C controller driver for the I2C endpoint of the switch.
--- MAINTAINERS | 8 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-mchp-pci1xxxx.c | 1123 ++++++++++++++++++++++++ 4 files changed, 1142 insertions(+) create mode 100644 drivers/i2c/busses/i2c-mchp-pci1xxxx.c
MAINTAINERS +8 -0
@@ -13110,6 +13110,14 @@ S: Supported F: Documentation/devicetree/bindings/mtd/atmel-nand.txt F: drivers/mtd/nand/raw/atmel/* +MICROCHIP PCI1XXXX I2C DRIVER +M: Tharun Kumar P <[email protected]> +M: Kumaravel Thiagarajan <[email protected]> +M: Microchip Linux Driver Support <[email protected]> +L: [email protected] +S: Maintained +F: drivers/i2c/busses/i2c-mchp-pci1xxxx.c + MICROCHIP PWM DRIVER M: Claudiu Beznea <[email protected]> L: [email protected] (moderated for non-subscribers)
drivers/i2c/busses/Kconfig +10 -0
@@ -1290,6 +1290,16 @@ config I2C_VIPERBOARD River Tech's viperboard.h for detailed meaning of the module parameters. +config I2C_PCI1XXXX + tristate "PCI1XXXX I2C Host Adapter support" + depends on PCI + help + Say yes here to enable the I2C Host adapter support for the PCI1xxxx card + This is a PCI to I2C adapter + + This driver can be built as a module. If so, the module will be + called as i2c-mchp-pci1xxxx + comment "Other I2C/SMBus bus drivers" config I2C_ACORN
drivers/i2c/busses/Makefile +1 -0
@@ -135,6 +135,7 @@ obj-$(CONFIG_I2C_ROBOTFUZZ_OSIF) += i2c-robotfuzz-osif.o obj-$(CONFIG_I2C_TAOS_EVM) += i2c-taos-evm.o obj-$(CONFIG_I2C_TINY_USB) += i2c-tiny-usb.o obj-$(CONFIG_I2C_VIPERBOARD) += i2c-viperboard.o +obj-$(CONFIG_I2C_PCI1XXXX) += i2c-mchp-pci1xxxx.o # Other I2C/SMBus bus drivers obj-$(CONFIG_I2C_ACORN) += i2c-acorn.o
drivers/i2c/busses/i2c-mchp-pci1xxxx.c new file +1123 -0
1,123 lines not on this page · raw message
Signature · 1 line
2.25.1
drivers/i2c/busses/i2c-mchp-pci1xxxx.c line 1123
Quoted 2 lines · Tharun Kumar P
drivers/i2c/busses/i2c-mchp-pci1xxxx.c new file +2
-0+MODULE_AUTHOR ("Kumaravel Thiagarajan <[email protected]>" ); +MODULE_DESCRIPTION ("Microchip Technology Inc. pci1xxxx I2C bus driver" );
Hi All,
Kindly ignore this patch. This is the older version of the email which was resent by mistake.
Thanks,
Tharun Kumar P
Quoted 11 lines · Tharun Kumar P
Microchip PCI1XXXX is an unmanaged PCIe3.1a Switch for Consumer, Industrial and Automotive applications. This switch has multiple downstream ports. In one of the Switch's Downstream port, there is a peripheral endpoint which supports I2C functionality. The I2C function in the endpoint operates at 100KHz, 400KHz and 1 MHz and has buffer depth of 128 bytes.
This series of patches provides the I2C controller driver for the I2C endpoint of the switch.Signed-off-by Tharun Kumar P <[email protected]>---
Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. Do not Cc unrelated people.
Best regards,
Krzysztof