Skip to content

Commit

Permalink
drivers: phy: qualcomm: Add i2c eusb2 repeater driver
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
  • Loading branch information
Gelbpunkt committed Apr 8, 2024
1 parent e85af75 commit 20ac166
Show file tree
Hide file tree
Showing 4 changed files with 454 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/configs/sm8450.config
Expand Up @@ -4,6 +4,7 @@ CONFIG_LOCALVERSION="-sm8450"

# Common for SM8450 devices
CONFIG_REGULATOR_QCOM_AMOLED=y
CONFIG_PHY_QCOM_I2C_EUSB2_REPEATER=y

# Xiaomi 12 (Cupid)
CONFIG_DRM_PANEL_XIAOMI_42_02_0A=y
Expand Down
8 changes: 8 additions & 0 deletions drivers/phy/qualcomm/Kconfig
Expand Up @@ -143,6 +143,14 @@ config PHY_QCOM_EUSB2_REPEATER
PMICs. The repeater is paired with a Synopsys eUSB2 Phy
on Qualcomm SOCs.

config PHY_QCOM_I2C_EUSB2_REPEATER
tristate "Qualcomm SNPS I2C eUSB2 Repeater Driver"
depends on OF && I2C && (ARCH_QCOM || COMPILE_TEST)
select GENERIC_PHY
help
Enable support for high-speed SNPS eUSB2 repeaters on Qualcomm
platforms connected via I2C.

config PHY_QCOM_M31_USB
tristate "Qualcomm M31 HS PHY driver support"
depends on USB && (ARCH_QCOM || COMPILE_TEST)
Expand Down
1 change: 1 addition & 0 deletions drivers/phy/qualcomm/Makefile
Expand Up @@ -17,6 +17,7 @@ obj-$(CONFIG_PHY_QCOM_QMP_USB_LEGACY) += phy-qcom-qmp-usb-legacy.o
obj-$(CONFIG_PHY_QCOM_QUSB2) += phy-qcom-qusb2.o
obj-$(CONFIG_PHY_QCOM_SNPS_EUSB2) += phy-qcom-snps-eusb2.o
obj-$(CONFIG_PHY_QCOM_EUSB2_REPEATER) += phy-qcom-eusb2-repeater.o
obj-$(CONFIG_PHY_QCOM_I2C_EUSB2_REPEATER) += phy-qcom-i2c-eusb2-repeater.o
obj-$(CONFIG_PHY_QCOM_USB_HS) += phy-qcom-usb-hs.o
obj-$(CONFIG_PHY_QCOM_USB_HSIC) += phy-qcom-usb-hsic.o
obj-$(CONFIG_PHY_QCOM_USB_HS_28NM) += phy-qcom-usb-hs-28nm.o
Expand Down

0 comments on commit 20ac166

Please sign in to comment.