Skip to content

Commit 7eccef8

Browse files
authored
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.
1 parent c6218aa commit 7eccef8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

buildroot-external/board/arm-uefi/generic-aarch64/kernel.config

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,18 @@ CONFIG_FB_HYPERV=y
5959
CONFIG_I6300ESB_WDT=y
6060

6161
# GPIO support
62-
CONFIG_GPIO_ZYNQ=m
62+
CONFIG_GPIO_ZYNQ=y
6363
CONFIG_GPIO_PCA9570=y
6464

6565
# PHY drivers
6666
CONFIG_PHY_XILINX_ZYNQMP=y
6767

6868
# USB support
69-
# TODO: change to `CONFIG_USB_ONBOARD_DEV` in 6.12
70-
CONFIG_USB_ONBOARD_HUB=y
69+
# TODO: enable `CONFIG_USB_ONBOARD_DEV` in 6.12
70+
# TODO: enable `CONFIG_USB_ONBOARD_DEV_USB5744` in 6.12
71+
72+
# i2c support
73+
CONFIG_I2C_CADENCE=y
7174

7275
# 1-wire
7376
CONFIG_W1_MASTER_AMD_AXI=m

0 commit comments

Comments
 (0)