phy: amlogic: phy-meson-axg-mipi-pcie-analog: add support for MIPI DSI analog
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 16 Nov 2020 10:16:47 +0000 (11:16 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 20 Nov 2020 09:53:33 +0000 (15:23 +0530)
commit8eff8b4e22d9885f1509a68bf9a7cc1961c5dee4
tree3fb4929eb1a42daa8a0e94a9004dbe67f837bdc3
parent87c3cdecb3d5150270f1529ac140e7d0c192ba9d
phy: amlogic: phy-meson-axg-mipi-pcie-analog: add support for MIPI DSI analog

The AXG Analog MIPI-DSI PHY also provides functions to the PCIe PHY,
thus we need to have inclusive support for both interfaces at runtime.

This fixes the regmap get from parent node, removes cell param
to select a mode and implement runtime configuration & power on/off
for both functions since they are not exclusive.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Remi Pommarel <repk@triplefau.lt>
Link: https://lore.kernel.org/r/20201116101647.73448-4-narmstrong@baylibre.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/Kconfig
drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.c