Commit 393fc2f5 authored by Kumaravel Thiagarajan's avatar Kumaravel Thiagarajan Committed by Greg Kroah-Hartman
Browse files

misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in...


misc: microchip: pci1xxxx: load auxiliary bus driver for the PIO function in the multi-function endpoint of pci1xxxx device.

pci1xxxx is a PCIe switch with a multi-function endpoint on one of its
downstream ports. PIO function is one of the functions in the
multi-function endpoint. PIO function combines a GPIO controller and also
an interface to program pci1xxxx's OTP & EEPROM. This auxiliary bus driver
is loaded for the PIO function and separate child devices are enumerated
for GPIO controller and OTP/EEPROM interface.

Signed-off-by: default avatarKumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com>
Link: https://lore.kernel.org/r/20220824200047.150308-2-kumaravel.thiagarajan@microchip.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a68108c8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -13422,6 +13422,13 @@ S: Supported
F:	Documentation/devicetree/bindings/mtd/atmel-nand.txt
F:	drivers/mtd/nand/raw/atmel/*
MICROCHIP PCI1XXXX GP DRIVER
M:	Kumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com>
L:	linux-gpio@vger.kernel.org
S:	Supported
F:	drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.c
F:	drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_gp.h
MICROCHIP OTPC DRIVER
M:	Claudiu Beznea <claudiu.beznea@microchip.com>
L:	linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
+1 −0
Original line number Diff line number Diff line
@@ -513,4 +513,5 @@ source "drivers/misc/cardreader/Kconfig"
source "drivers/misc/habanalabs/Kconfig"
source "drivers/misc/uacce/Kconfig"
source "drivers/misc/pvpanic/Kconfig"
source "drivers/misc/mchp_pci1xxxx/Kconfig"
endmenu
+2 −1
Original line number Diff line number Diff line
@@ -60,4 +60,5 @@ obj-$(CONFIG_XILINX_SDFEC) += xilinx_sdfec.o
obj-$(CONFIG_HISI_HIKEY_USB)	+= hisi_hikey_usb.o
obj-$(CONFIG_HI6421V600_IRQ)	+= hi6421v600-irq.o
obj-$(CONFIG_OPEN_DICE)		+= open-dice.o
obj-$(CONFIG_GP_PCI1XXXX)	+= mchp_pci1xxxx/
obj-$(CONFIG_VCPU_STALL_DETECTOR)	+= vcpu_stall_detector.o
+11 −0
Original line number Diff line number Diff line
config GP_PCI1XXXX
       tristate "Microchip PCI1XXXX PCIe to GPIO Expander + OTP/EEPROM manager"
       depends on PCI	
       select GPIOLIB_IRQCHIP
       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.
+1 −0
Original line number Diff line number Diff line
obj-$(CONFIG_GP_PCI1XXXX) := mchp_pci1xxxx_gp.o
Loading