OSDN Git Service

phy: cadence: Add Cadence D-PHY Rx driver
authorPratyush Yadav <p.yadav@ti.com>
Tue, 1 Mar 2022 11:16:18 +0000 (16:46 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 2 Mar 2022 14:24:42 +0000 (19:54 +0530)
commit41d393aaead4e51d709b860176102b18bedb3c68
tree6bf23c7ff99946d57c33d19125a26401a840e8e3
parent7a37e890bd5db4a89a17ec9bcd7e5f4a33396648
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>
drivers/phy/cadence/Kconfig
drivers/phy/cadence/Makefile
drivers/phy/cadence/cdns-dphy-rx.c [new file with mode: 0644]