Skip to content

Commit d3ab795

Browse files
starfivesyangcvinodkoul
authored andcommitted
phy: starfive: Add mipi dphy tx support
Add mipi dphy tx support for the StarFive JH7110 SoC. It is a module which is used to receive data from DSI driver and transfer data to DSI interface like mipi screen. Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com> Reviewed-by: Changhuang Liang <changhuang.liang@starfivetech.com> Link: https://lore.kernel.org/r/20240418035020.47876-3-shengyang.chen@starfivetech.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent e4a8e87 commit d3ab795

4 files changed

Lines changed: 477 additions & 0 deletions

File tree

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21328,6 +21328,13 @@ S: Supported
2132821328
F: Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-rx.yaml
2132921329
F: drivers/phy/starfive/phy-jh7110-dphy-rx.c
2133021330

21331+
STARFIVE JH7110 DPHY TX DRIVER
21332+
M: Keith Zhao <keith.zhao@starfivetech.com>
21333+
M: Shengyang Chen <shengyang.chen@starfivetech.com>
21334+
S: Supported
21335+
F: Documentation/devicetree/bindings/phy/starfive,jh7110-dphy-tx.yaml
21336+
F: drivers/phy/starfive/phy-jh7110-dphy-tx.c
21337+
2133121338
STARFIVE JH7110 MMC/SD/SDIO DRIVER
2133221339
M: William Qiu <william.qiu@starfivetech.com>
2133321340
S: Supported

drivers/phy/starfive/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ config PHY_STARFIVE_JH7110_DPHY_RX
1515
system. If M is selected, the module will be called
1616
phy-jh7110-dphy-rx.ko.
1717

18+
config PHY_STARFIVE_JH7110_DPHY_TX
19+
tristate "StarFive JH7110 D-PHY TX Support"
20+
depends on HAS_IOMEM
21+
select GENERIC_PHY
22+
select GENERIC_PHY_MIPI_DPHY
23+
help
24+
Choose this option if you have a StarFive D-PHY TX in your
25+
system. If M is selected, the module will be called
26+
phy-jh7110-dphy-tx.ko.
27+
1828
config PHY_STARFIVE_JH7110_PCIE
1929
tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
2030
depends on HAS_IOMEM

drivers/phy/starfive/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
22
obj-$(CONFIG_PHY_STARFIVE_JH7110_DPHY_RX) += phy-jh7110-dphy-rx.o
3+
obj-$(CONFIG_PHY_STARFIVE_JH7110_DPHY_TX) += phy-jh7110-dphy-tx.o
34
obj-$(CONFIG_PHY_STARFIVE_JH7110_PCIE) += phy-jh7110-pcie.o
45
obj-$(CONFIG_PHY_STARFIVE_JH7110_USB) += phy-jh7110-usb.o

0 commit comments

Comments
 (0)