Tegra20/Tegra30 DSI is quite similar to Tegra114+ apart MIPI calibration logic and clocks. With a few minor tweaks, existing tegra DSI driver should work on Tegra20/Tegra30 devices just fine. Tested on Motorola Atrix 4G (T20) and ASUS VivoTab RT TF600T (T30).
This patchset depends on Tegra20/Tegra30 CSI bringup since both share MIPI calibration logic. Ideally these patches should be picked after CSI bringup but they will not break anything even if picked before CSI patches. --- Changes in v2: - removed all MIPI calibration, it is handled within CSI bringup - added per-soc structures into of_match - added fix for hang caused by register access with uninited hw --- Svyatoslav Ryhel (4): clk: tegra20: reparent dsi clock to pll_d_out0 gpu/drm: tegra: dsi: move prepare function at the top of encoder enable gpu/drm: tegra: dsi: add support for Tegra20/Tegra30 ARM: tegra: adjust DSI nodes for Tegra20/Tegra30 arch/arm/boot/dts/nvidia/tegra20.dtsi | 4 ++ arch/arm/boot/dts/nvidia/tegra30.dtsi | 8 +++ drivers/clk/tegra/clk-tegra20.c | 6 +- drivers/gpu/drm/tegra/drm.c | 2 + drivers/gpu/drm/tegra/dsi.c | 100 ++++++++++++++++---------- drivers/gpu/drm/tegra/dsi.h | 15 ++++ 6 files changed, 95 insertions(+), 40 deletions(-) -- 2.48.1