Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: rockchip: Assign RK3288 EDP_24M input centrally

The EDP 24M clock can be fed either by an SoC internal fixed clock or
from an external IC. Change the default parent to the internal clock in
the main rk3288 dtsi, to ensure (by default) it gets setup with a
non-orphaned clock (hardware defaults to the externa clock).

This prevents potential issues when the clock framework get support for
deferring on orphaned clocks, while specific boards can always change
the parent clock if an external input is preferred.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Sjoerd Simons and committed by
Heiko Stuebner
df5ea015 0082180c

+3 -5
-5
arch/arm/boot/dts/rk3288-veyron.dtsi
··· 340 340 i2c-scl-rising-time-ns = <1000>; 341 341 }; 342 342 343 - &power { 344 - assigned-clocks = <&cru SCLK_EDP_24M>; 345 - assigned-clock-parents = <&xin24m>; 346 - }; 347 - 348 343 &pwm1 { 349 344 status = "okay"; 350 345 };
+3
arch/arm/boot/dts/rk3288.dtsi
··· 630 630 #address-cells = <1>; 631 631 #size-cells = <0>; 632 632 633 + assigned-clocks = <&cru SCLK_EDP_24M>; 634 + assigned-clock-parents = <&xin24m>; 635 + 633 636 /* 634 637 * Note: Although SCLK_* are the working clocks 635 638 * of device without including on the NOC, needed for