Changhuang Liang f8aa660841 phy: starfive: Add mipi dphy rx support
Add mipi dphy rx support for the StarFive JH7110 SoC. It is used to
transfer CSI camera data.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Reviewed-by: Minda Chen <minda.chen@starfivetech.com>
Link: https://lore.kernel.org/r/20230718070803.16660-3-changhuang.liang@starfivetech.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-07-24 16:13:03 +05:30

34 lines
938 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# Phy drivers for StarFive platforms
#
config PHY_STARFIVE_JH7110_DPHY_RX
tristate "StarFive JH7110 D-PHY RX support"
select GENERIC_PHY
select GENERIC_PHY_MIPI_DPHY
help
Choose this option if you have a StarFive D-PHY in your
system. If M is selected, the module will be called
phy-jh7110-dphy-rx.ko.
config PHY_STARFIVE_JH7110_PCIE
tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
depends on HAS_IOMEM
select GENERIC_PHY
help
Enable this to support the StarFive PCIe 2.0 PHY,
or used as USB 3.0 PHY.
If M is selected, the module will be called
phy-jh7110-pcie.ko.
config PHY_STARFIVE_JH7110_USB
tristate "Starfive JH7110 USB 2.0 PHY support"
depends on USB_SUPPORT
select GENERIC_PHY
help
Enable this to support the StarFive USB 2.0 PHY,
used with the Cadence USB controller.
If M is selected, the module will be called
phy-jh7110-usb.ko.