mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 15:34:48 +08:00
0969001569
Microchip's pci1xxxx is an unmanaged PCIe3.1a switch for consumer, industrial, and automotive applications. This switch integrates OTP and EEPROM to enable customization of the part in the field. This patch adds support to read and write into PCI1XXXX OTP via NVMEM sysfs. Signed-off-by: Kumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com> Co-developed-by: Tharun Kumar P <tharunkumar.pasumarthi@microchip.com> Signed-off-by: Tharun Kumar P <tharunkumar.pasumarthi@microchip.com> Co-developed-by: Vaibhaav Ram T.L <vaibhaavram.tl@microchip.com> Signed-off-by: Vaibhaav Ram T.L <vaibhaavram.tl@microchip.com> Link: https://lore.kernel.org/r/20230620143520.858-2-vaibhaavram.tl@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
572 B
Plaintext
15 lines
572 B
Plaintext
config GP_PCI1XXXX
|
|
tristate "Microchip PCI1XXXX PCIe to GPIO Expander + OTP/EEPROM manager"
|
|
depends on PCI
|
|
depends on GPIOLIB
|
|
depends on NVMEM_SYSFS
|
|
select GPIOLIB_IRQCHIP
|
|
select AUXILIARY_BUS
|
|
help
|
|
PCI1XXXX is a PCIe GEN 3 switch with one of the endpoints having
|
|
multiple functions and one of the functions is a GPIO controller
|
|
which also has registers to interface with the OTP and EEPROM.
|
|
Select yes, no or module here to include or exclude the driver
|
|
for the GPIO function.
|
|
|