Hi Tom, These changes adds the plumbing to support MIPI D-PHYs, including the timings helpers from Linux, the AXG Analog and Digital D-PHY drivers. Finally automatic detection of model is added for the HardKernel Odroid N2 & C4 families.
The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/6346 Thanks, Neil The following changes since commit e14d5762de1db84cae6d84d59c1e40f3eb26c4c3: Merge git://git.denx.de/u-boot-marvell (2021-02-08 10:55:51 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20210210 for you to fetch changes up to 8bc780106c1399bd263c4283a8747889a613ca5d: board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants (2021-02-10 10:00:51 +0100) ---------------------------------------------------------------- - Add configuration helpers for MIPI D-PHY - generic-phy: add configure op - Add Amlogic AXG MIPI D-PHY driver & MIPI PCIe Analog PHY driver - odroid: add runtime detection of the N2/N2+/C4/HC4 variants ---------------------------------------------------------------- Marek Szyprowski (1): board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants Neil Armstrong (4): phy: dphy: Add configuration helpers generic-phy: add configure op phy: Add Amlogic AXG MIPI D-PHY driver phy: Add Amlogic AXG MIPI PCIe Analog PHY driver arch/arm/dts/meson-g12b-odroid-n2-u-boot.dtsi | 6 + arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi | 6 + board/amlogic/odroid-n2/odroid-n2.c | 80 ++++++ configs/odroid-c4_defconfig | 4 +- configs/odroid-n2_defconfig | 4 +- drivers/phy/Kconfig | 23 ++ drivers/phy/Makefile | 3 + drivers/phy/meson-axg-mipi-dphy.c | 393 ++++++++++++++++++++++++++ drivers/phy/meson-axg-mipi-pcie-analog.c | 233 +++++++++++++++ drivers/phy/phy-core-mipi-dphy.c | 161 +++++++++++ drivers/phy/phy-uclass.c | 11 + include/generic-phy.h | 23 ++ include/phy-mipi-dphy.h | 284 +++++++++++++++++++ 13 files changed, 1229 insertions(+), 2 deletions(-) create mode 100644 drivers/phy/meson-axg-mipi-dphy.c create mode 100644 drivers/phy/meson-axg-mipi-pcie-analog.c create mode 100644 drivers/phy/phy-core-mipi-dphy.c create mode 100644 include/phy-mipi-dphy.h