Skip to content

Commit

Permalink
feat: kernel driver support for RK3588 devices (Turing RK1)
Browse files Browse the repository at this point in the history
Contains most of the drivers needed for RK3588 devices, in this case
for the Turing RK1 SBC overlay.  This includes support for drivers:
including the PCIe, voltage regulator, realtime clock, and USB drivers.

* CONFIG_TYPEC: need to enable CONFIG_PHY_ROCKCHIP_USBDP
* CONFIG_MFD_RK8XX_SPI: Makes the RK808 regulator work with cpufreq-dt
* CONFIG_RTC_DRV_HYM8563: RTC driver for most RK3588 devices
* CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY: Needed for PCIe support
* CONFIG_PHY_ROCKCHIP_USBDP: activates the necessary DT nodes to
  enable all 3 buses:
  USB 2.0, OTG, USB 3.0, host, USB 2.0, host ports

Signed-off-by: Nico Berlee <[email protected]>
Signed-off-by: Noel Georgi <[email protected]>
(cherry picked from commit f81b190)
  • Loading branch information
nberlee authored and smira committed Dec 2, 2024
1 parent a0c92b1 commit b047e41
Showing 1 changed file with 35 additions and 4 deletions.
39 changes: 35 additions & 4 deletions kernel/build/config-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -4800,7 +4800,7 @@ CONFIG_MFD_SPMI_PMIC=y
# CONFIG_MFD_RC5T583 is not set
CONFIG_MFD_RK8XX=y
CONFIG_MFD_RK8XX_I2C=y
# CONFIG_MFD_RK8XX_SPI is not set
CONFIG_MFD_RK8XX_SPI=y
# CONFIG_MFD_RN5T618 is not set
CONFIG_MFD_SEC_CORE=y
# CONFIG_MFD_SI476X_CORE is not set
Expand Down Expand Up @@ -6263,7 +6263,34 @@ CONFIG_USB_CONFIGFS_F_PRINTER=y
# CONFIG_USB_RAW_GADGET is not set
# end of USB Gadget precomposed configurations

# CONFIG_TYPEC is not set
CONFIG_TYPEC=y
# CONFIG_TYPEC_TCPM is not set
# CONFIG_TYPEC_UCSI is not set
# CONFIG_TYPEC_TPS6598X is not set
# CONFIG_TYPEC_ANX7411 is not set
# CONFIG_TYPEC_RT1719 is not set
# CONFIG_TYPEC_HD3SS3220 is not set
# CONFIG_TYPEC_STUSB160X is not set
# CONFIG_TYPEC_WUSB3801 is not set

#
# USB Type-C Multiplexer/DeMultiplexer Switch support
#
# CONFIG_TYPEC_MUX_FSA4480 is not set
# CONFIG_TYPEC_MUX_GPIO_SBU is not set
# CONFIG_TYPEC_MUX_PI3USB30532 is not set
# CONFIG_TYPEC_MUX_IT5205 is not set
# CONFIG_TYPEC_MUX_NB7VPQ904M is not set
# CONFIG_TYPEC_MUX_PTN36502 is not set
# CONFIG_TYPEC_MUX_WCD939X_USBSS is not set
# end of USB Type-C Multiplexer/DeMultiplexer Switch support

#
# USB Type-C Alternate Mode drivers
#
# CONFIG_TYPEC_DP_ALTMODE is not set
# end of USB Type-C Alternate Mode drivers

CONFIG_USB_ROLE_SWITCH=y
CONFIG_MMC=y
CONFIG_PWRSEQ_EMMC=y
Expand Down Expand Up @@ -6490,7 +6517,7 @@ CONFIG_RTC_DRV_DS1307=y
# CONFIG_RTC_DRV_DS1307_CENTURY is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_HYM8563 is not set
CONFIG_RTC_DRV_HYM8563=y
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_MAX31335 is not set
CONFIG_RTC_DRV_MAX77686=y
Expand Down Expand Up @@ -7370,6 +7397,7 @@ CONFIG_MTK_MMSYS=y
# CONFIG_QCOM_LLCC is not set
# CONFIG_QCOM_OCMEM is not set
# CONFIG_QCOM_PMIC_PDCHARGER_ULOG is not set
# CONFIG_QCOM_PMIC_GLINK is not set
# CONFIG_QCOM_RAMP_CTRL is not set
# CONFIG_QCOM_RMTFS_MEM is not set
# CONFIG_QCOM_RPM_MASTER_STATS is not set
Expand Down Expand Up @@ -7520,6 +7548,8 @@ CONFIG_EXTCON=y
# CONFIG_EXTCON_RT8973A is not set
# CONFIG_EXTCON_SM5502 is not set
CONFIG_EXTCON_USB_GPIO=y
# CONFIG_EXTCON_USBC_TUSB320 is not set
# CONFIG_EXTCON_RTK_TYPE_C is not set
CONFIG_MEMORY=y
# CONFIG_ARM_PL172_MPMC is not set
CONFIG_BRCMSTB_DPFE=y
Expand Down Expand Up @@ -8322,12 +8352,13 @@ CONFIG_PHY_ROCKCHIP_INNO_HDMI=y
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
# CONFIG_PHY_ROCKCHIP_INNO_CSIDPHY is not set
CONFIG_PHY_ROCKCHIP_INNO_DSIDPHY=y
# CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY is not set
CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY=y
CONFIG_PHY_ROCKCHIP_PCIE=y
# CONFIG_PHY_ROCKCHIP_SAMSUNG_HDPTX is not set
CONFIG_PHY_ROCKCHIP_SNPS_PCIE3=y
CONFIG_PHY_ROCKCHIP_TYPEC=y
CONFIG_PHY_ROCKCHIP_USB=y
CONFIG_PHY_ROCKCHIP_USBDP=y
# CONFIG_PHY_SAMSUNG_USB2 is not set
CONFIG_PHY_TEGRA_XUSB=y
CONFIG_PHY_TEGRA194_P2U=y
Expand Down

1 comment on commit b047e41

@bhuism
Copy link

@bhuism bhuism commented on b047e41 Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥳

Please sign in to comment.