]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: rockchip: document explicit px30 cru dependencies
authorHeiko Stuebner <heiko@sntech.de>
Tue, 17 Sep 2019 08:26:55 +0000 (10:26 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 3 Oct 2019 21:24:06 +0000 (23:24 +0200)
commit45cb61b4f3bf991ac2011dbc4a155bd5f3b29ebe
treee39729abb85f4e5b0e0ce1864484d74aa2f5a061
parent689c7dc73c26834bc70aa06065ff44df991cd975
arm64: dts: rockchip: document explicit px30 cru dependencies

The px30 contains 2 separate clock controllers the regular cru creating
most clocks as well as the pmucru managing the GPLL and some other clocks.

The gpll of course also is needed by the cru, so while we normally do rely
on clock names to associate clocks getting probed later on (for example
xin32k coming from an i2c device in most cases) it is safer to declare the
explicit dependency between the two crus. This makes sure that for example
the clock-framework probes them in the correct order from the start.

The assigned-clocks properties were simply working by chance in the past
so split them accordingly to the 2 crus to honor the loading direction.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20190917082659.25549-9-heiko@sntech.de
Documentation/devicetree/bindings/clock/rockchip,px30-cru.txt
arch/arm64/boot/dts/rockchip/px30.dtsi