ARM: tegra: Add parent clock to DSI output
authorThierry Reding <treding@nvidia.com>
Thu, 11 Jun 2020 17:59:25 +0000 (19:59 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 25 Jun 2020 07:29:46 +0000 (09:29 +0200)
The DSI output needs to specify a parent clock that will be used to
drive both the output and the display controller.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 899ec5a..72a4211 100644 (file)
                dsi@54300000 {
                        compatible = "nvidia,tegra20-dsi";
                        reg = <0x54300000 0x00040000>;
-                       clocks = <&tegra_car TEGRA20_CLK_DSI>;
+                       clocks = <&tegra_car TEGRA20_CLK_DSI>,
+                                <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
+                       clock-names = "dsi", "parent";
                        resets = <&tegra_car 48>;
                        reset-names = "dsi";
                        status = "disabled";
index 2007c60..08d0ee4 100644 (file)
                dsi@54300000 {
                        compatible = "nvidia,tegra30-dsi";
                        reg = <0x54300000 0x00040000>;
-                       clocks = <&tegra_car TEGRA30_CLK_DSIA>;
+                       clocks = <&tegra_car TEGRA30_CLK_DSIA>,
+                                <&tegra_car TEGRA30_CLK_PLL_D_OUT0>;
+                       clock-names = "dsi", "parent";
                        resets = <&tegra_car 48>;
                        reset-names = "dsi";
                        status = "disabled";