Change Cadence i2c and Zynq GPIO from modules to built-in drivers (#3821)

On Kria KD240 slg7xl45106 device is handling reset for USB hub which is
providing access to SD card (USB/SD converter). Access to this device is
done via i2c which needs to be also enabled in the kernel as built-in
driver not as module when rootfs is mounted.

Also change ZYNQ_GPIO to be built-in driver because i2c is using gpio for
bus recovery that's why it should be also enabled to probe i2c driver
properly.

v6.6 kernel doesn't have support for usb5744 driver that's why disable it
but add TODO to enable it once v6.12 upgrade is done.
This commit is contained in:
Michal Šimek 2025-01-28 13:05:02 +01:00 committed by GitHub
parent c6218aafd8
commit 7eccef8a18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,15 +59,18 @@ CONFIG_FB_HYPERV=y
CONFIG_I6300ESB_WDT=y
# GPIO support
CONFIG_GPIO_ZYNQ=m
CONFIG_GPIO_ZYNQ=y
CONFIG_GPIO_PCA9570=y
# PHY drivers
CONFIG_PHY_XILINX_ZYNQMP=y
# USB support
# TODO: change to `CONFIG_USB_ONBOARD_DEV` in 6.12
CONFIG_USB_ONBOARD_HUB=y
# TODO: enable `CONFIG_USB_ONBOARD_DEV` in 6.12
# TODO: enable `CONFIG_USB_ONBOARD_DEV_USB5744` in 6.12
# i2c support
CONFIG_I2C_CADENCE=y
# 1-wire
CONFIG_W1_MASTER_AMD_AXI=m