ARM: tegra: Drop display controller parent clocks on Tegra124
authorThierry Reding <treding@nvidia.com>
Thu, 11 Jun 2020 17:09:36 +0000 (19:09 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 25 Jun 2020 07:26:14 +0000 (09:26 +0200)
The parent clocks are determined by the output that will be used, not by
the display controller that drives the output. On previous generations a
simple RGB output used to be part of the display controller and hence an
explicit parent clock needed to be assigned to the display controller to
drive the RGB output. Starting with Tegra124, that RGB output has been
dropped and the parent clock can therefore be removed from the display
controller device tree nodes.

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

index 1afed84..2c992e8 100644 (file)
                        compatible = "nvidia,tegra124-dc";
                        reg = <0x0 0x54200000 0x0 0x00040000>;
                        interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&tegra_car TEGRA124_CLK_DISP1>,
-                                <&tegra_car TEGRA124_CLK_PLL_P>;
-                       clock-names = "dc", "parent";
+                       clocks = <&tegra_car TEGRA124_CLK_DISP1>;
+                       clock-names = "dc";
                        resets = <&tegra_car 27>;
                        reset-names = "dc";
 
                        compatible = "nvidia,tegra124-dc";
                        reg = <0x0 0x54240000 0x0 0x00040000>;
                        interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&tegra_car TEGRA124_CLK_DISP2>,
-                                <&tegra_car TEGRA124_CLK_PLL_P>;
-                       clock-names = "dc", "parent";
+                       clocks = <&tegra_car TEGRA124_CLK_DISP2>;
+                       clock-names = "dc";
                        resets = <&tegra_car 26>;
                        reset-names = "dc";