diff options
author | Pratyush Yadav <p.yadav@ti.com> | 2022-03-01 12:16:18 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-03-02 15:24:42 +0100 |
commit | 41d393aaead4e51d709b860176102b18bedb3c68 (patch) | |
tree | 6bf23c7ff99946d57c33d19125a26401a840e8e3 /drivers/phy/cadence/Kconfig | |
parent | dt-bindings: phy: renesas,usb2-phy: Document RZ/V2L phy bindings (diff) | |
download | linux-41d393aaead4e51d709b860176102b18bedb3c68.tar.xz linux-41d393aaead4e51d709b860176102b18bedb3c68.zip |
phy: cadence: Add Cadence D-PHY Rx driver
The Cadence D-PHY can be configured in Tx (DSI) mode or Rx (CSI) mode.
Both modes have a different programming sequence and share little among
them. In addition, a PHY configured in Tx mode cannot be used in Rx mode
and vice versa. For this reason, create a separate driver for the Rx
mode to make it easier to read and maintain.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20220301111621.2992275-2-p.yadav@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/cadence/Kconfig')
-rw-r--r-- | drivers/phy/cadence/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/phy/cadence/Kconfig b/drivers/phy/cadence/Kconfig index a62910ff5591..1adde2d99ae7 100644 --- a/drivers/phy/cadence/Kconfig +++ b/drivers/phy/cadence/Kconfig @@ -22,6 +22,14 @@ config PHY_CADENCE_DPHY system. If M is selected, the module will be called cdns-dphy. +config PHY_CADENCE_DPHY_RX + tristate "Cadence D-PHY Rx Support" + depends on HAS_IOMEM && OF + select GENERIC_PHY + select GENERIC_PHY_MIPI_DPHY + help + Support for Cadence D-PHY in Rx configuration. + config PHY_CADENCE_SIERRA tristate "Cadence Sierra PHY Driver" depends on OF && HAS_IOMEM && RESET_CONTROLLER |