This is initial version for supporting MIPI-DSI on Allwinner R40. The controller look similar like, Allwinnwe A64 so it has dependencies with A64 MIPI DSI changes, DSI fixes and R40 pwm driver [1] [2] [3] PLL-MIPI, dclk divders logic bpp/lanes are properly work for R40, like A31, A64. patch 1, 2: TCON LCD support patch 3, 4: Use clock index macros instead of numbers patch 5: Add tcon top lcd clocking patch 6, 7: Add dt-bindings for r40 dsi, dphy patch 8: Add R40 MIPI DSI pipeline patch 9: Overlay patch to test it on BPI-M2U [1] https://patchwork.freedesktop.org/series/61310/ [2] https://patchwork.freedesktop.org/series/60847/ [3] https://lore.kernel.org/patchwork/cover/862766/ Jagan Teki (9): dt-bindings: display: Add TCON LCD compatible for R40 drm/sun4i: tcon: Add TCON LCD support for R40 ARM: dts: sun8i: r40: Use tcon top clock index macros drm/sun4i: tcon_top: Use clock name index macros ARM: dts: sun8i: r40: Add TCON TOP LCD clocking dt-bindings: sun6i-dsi: Add R40 MIPI-DSI compatible (w/ A64 fallback) dt-bindings: sun6i-dsi: Add R40 DPHY compatible (w/ A31 fallback) ARM: dts: sun8i: r40: Add MIPI DSI pipeline [DO NOT MERGE] ARM: dts: sun8i-r40: bananapi-m2-ultra: Enable Bananapi S070WV20-CT16 DSI panel .../bindings/display/sunxi/sun4i-drm.txt | 1 + .../bindings/display/sunxi/sun6i-dsi.txt | 2 + .../boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 36 ++++++++ arch/arm/boot/dts/sun8i-r40.dtsi | 84 +++++++++++++++++-- drivers/gpu/drm/sun4i/sun4i_tcon.c | 7 ++ drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 13 +-- include/dt-bindings/clock/sun8i-tcon-top.h | 2 +- 7 files changed, 134 insertions(+), 11 deletions(-) -- 2.18.0.321.gffc6fa0e3