Skip to content

Commit

Permalink
Change Cadence i2c and Zynq GPIO from modules to built-in drivers (#3821
Browse files Browse the repository at this point in the history
)

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.
  • Loading branch information
michalsimek authored Jan 28, 2025
1 parent c6218aa commit 7eccef8
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7eccef8

Please sign in to comment.