This is a prerequisite for VOP2 MIPI-DSI support that I am porting[1] for RK3566.
The VOP2 bits need some attention still, but the PHY patches here are good to go. [1]: https://github.com/a3f/barebox/tree/rgb30-display Ahmad Fatoum (4): phy: add support for generic MIPI D-PHY phy: add devinfo callback phy: add phy_configure operation phy: rockchip: add Innosilicon MIPI/LVDS/TTL PHY driver drivers/phy/Kconfig | 8 + drivers/phy/Makefile | 1 + drivers/phy/phy-core-mipi-dphy.c | 187 +++++ drivers/phy/phy-core.c | 84 ++ drivers/phy/rockchip/Kconfig | 9 + drivers/phy/rockchip/Makefile | 1 + .../phy/rockchip/phy-rockchip-inno-dsidphy.c | 764 ++++++++++++++++++ include/linux/phy/phy-mipi-dphy.h | 287 +++++++ include/linux/phy/phy.h | 33 + include/linux/time64.h | 17 + 10 files changed, 1391 insertions(+) create mode 100644 drivers/phy/phy-core-mipi-dphy.c create mode 100644 drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c create mode 100644 include/linux/phy/phy-mipi-dphy.h create mode 100644 include/linux/time64.h -- 2.47.3
