phy: allwinner: phy-sun6i-mipi-dphy: Make RX support optional
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Nov 2022 02:21:10 +0000 (20:21 -0600)
committerVinod Koul <vkoul@kernel.org>
Thu, 24 Nov 2022 17:34:23 +0000 (23:04 +0530)
commita709ae51e22802822de85ec7b672cf1cc5412fc0
tree952fb75422791b15e21a80b077a2a5a4486680f6
parente7a838694185c7d0965baa9ed2515f2e0ff8d502
phy: allwinner: phy-sun6i-mipi-dphy: Make RX support optional

While all variants of the DPHY likely support RX mode, the new variant
in the A100 is not used in this direction by the BSP, and it has some
analog register changes, so its RX power-on sequence is unknown. To be
safe, limit RX support to variants where the power-on sequence is known.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20221114022113.31694-6-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/allwinner/phy-sun6i-mipi-dphy.c