Skip to content

phy: add support for Amlogic Meson AXG MIPI-DSI PHY function

Neil Armstrong u-boot u-boot-amlogic 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4phy: dphy: Add configuration helpersdrivers/phy/Kconfig drivers/phy/Makefile drivers/phy/phy-core-mipi-dphy.c +1 more+451 -00 replies
2/4generic-phy: add configure opdrivers/phy/phy-uclass.c include/generic-phy.h+34 -00 replies
3/4phy: Add Amlogic AXG MIPI D-PHY driverdrivers/phy/Kconfig drivers/phy/Makefile drivers/phy/meson-axg-mipi-dphy.c+403 -00 replies
4/4phy: Add Amlogic AXG MIPI PCIe Analog PHY driverdrivers/phy/Kconfig drivers/phy/Makefile drivers/phy/meson-axg-mipi-pcie-analog.c+243 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] phy: add support for Amlogic Meson AXG MIPI-DSI PHY function

The Amlogic AXg SoCs embeds a MIPI D-PHY to communicate with DSI panels, this adds the bindings.

This D-PHY depends on a separate analog PHY.

The Amlogic AXG MIPI + PCIe Analog PHY provides function for both PCIe and MIPI DSI at the same time.

In order to configure the DSI PHY timings, a new "configure" PHY op is added to permit dynamic (re)configuration of the PHY function.

Finally, the Linux MIPI D-PHY configuration helpers are imported to provide a standard set of default D-PHY timings, timings struct and correct calculations.

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

 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 ++++++++++++++++
 8 files changed, 1131 insertions(+)
 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
Signature · 1 line
2.25.1