]> git.baikalelectronics.ru Git - kernel.git/commit
phy: amlogic: Add Amlogic AXG MIPI/PCIE analog PHY Driver
authorRemi Pommarel <repk@triplefau.lt>
Thu, 23 Jan 2020 23:29:41 +0000 (00:29 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 4 Mar 2020 10:53:30 +0000 (10:53 +0000)
commit4434fb7b6aa828a2b2955c08c764bffb02b01b18
tree7cc504f153d7fc178305980e8c5929e195cbbcaa
parent48232a85e60fddb59082110493cf07ce687c32a7
phy: amlogic: Add Amlogic AXG MIPI/PCIE analog PHY Driver

This adds support for the MIPI analog PHY which is also used for PCIE
found in the Amlogic AXG SoC Family.

MIPI or PCIE selection is done by the #phy-cells, making the mode
static and exclusive.

For now only PCIE functionality is supported.

This PHY will be used to replace the mipi_enable clock gating logic
which was mistakenly added in the clock subsystem. This also activates
a non documented band gap bit in those registers that allows reliable
PCIE clock signal generation on AXG platforms.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/phy/amlogic/Kconfig
drivers/phy/amlogic/Makefile
drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.c [new file with mode: 0644]