Skip to content

Commit b2a1a2a

Browse files
Heiko Stuebnervinodkoul
authored andcommitted
phy: rockchip: Add Samsung MIPI D-/C-PHY driver
Add driver for the MIPI D-/C-PHY block based around a Samsung IP-block that is for example needed to drive a MIPI DSI output on rk3588. Right now only the D-PHY portion is implemented, with the C-PHY part needing separate work. Tested-by: Daniel Semkowicz <[email protected]> Tested-by: Sebastian Reichel <[email protected]> Tested-by: Quentin Schulz <[email protected]> Reviewed-by: Sebastian Reichel <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 301587c commit b2a1a2a

File tree

3 files changed

+1732
-0
lines changed

3 files changed

+1732
-0
lines changed

drivers/phy/rockchip/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,18 @@ config PHY_ROCKCHIP_PCIE
8383
help
8484
Enable this to support the Rockchip PCIe PHY.
8585

86+
config PHY_ROCKCHIP_SAMSUNG_DCPHY
87+
tristate "Rockchip Samsung MIPI DCPHY driver"
88+
depends on (ARCH_ROCKCHIP || COMPILE_TEST)
89+
select GENERIC_PHY
90+
select GENERIC_PHY_MIPI_DPHY
91+
help
92+
Enable this to support the Rockchip MIPI DCPHY with
93+
Samsung IP block.
94+
95+
To compile this driver as a module, choose M here: the module
96+
will be called phy-rockchip-samsung-dcphy
97+
8698
config PHY_ROCKCHIP_SAMSUNG_HDPTX
8799
tristate "Rockchip Samsung HDMI/eDP Combo PHY driver"
88100
depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF

drivers/phy/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ obj-$(CONFIG_PHY_ROCKCHIP_INNO_HDMI) += phy-rockchip-inno-hdmi.o
88
obj-$(CONFIG_PHY_ROCKCHIP_INNO_USB2) += phy-rockchip-inno-usb2.o
99
obj-$(CONFIG_PHY_ROCKCHIP_NANENG_COMBO_PHY) += phy-rockchip-naneng-combphy.o
1010
obj-$(CONFIG_PHY_ROCKCHIP_PCIE) += phy-rockchip-pcie.o
11+
obj-$(CONFIG_PHY_ROCKCHIP_SAMSUNG_DCPHY) += phy-rockchip-samsung-dcphy.o
1112
obj-$(CONFIG_PHY_ROCKCHIP_SAMSUNG_HDPTX) += phy-rockchip-samsung-hdptx.o
1213
obj-$(CONFIG_PHY_ROCKCHIP_SNPS_PCIE3) += phy-rockchip-snps-pcie3.o
1314
obj-$(CONFIG_PHY_ROCKCHIP_TYPEC) += phy-rockchip-typec.o

0 commit comments

Comments
 (0)