]> asedeno.scripts.mit.edu Git - linux.git/commit
ARM: dts: r8a7792: Correct Z clock
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 3 Apr 2017 09:53:08 +0000 (11:53 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 3 Apr 2017 10:33:23 +0000 (06:33 -0400)
commit7b39e985cfc18bba43646240b10a830046382abf
tree16f070c19821a69f6b3b0444adf56f0b3aea5e05
parent1cd9028027c7a7c10b774df698c3cfafec6aa67d
ARM: dts: r8a7792: Correct Z clock

Unlike other R-Car Gen2 SoCs with Cortex-A15 CPU cores, R-Car V2H does
not have a programmable Z clock (Cortex-A15 CPU core clock), but uses a
fixed divider.
This is similar to the Z2 clock (Cortex-A7 CPU core clock) on R-Car E2.

Hence:
  - Remove the Z clock output from the cpg_clocks node, as this implied
    a programmable clock,
  - Add the Z clock as a fixed factor clock,
  - Let the first CPU node point to the new Z clock,
  - Remove the Z clock index from the bindings (this definition was used
    by r8a7792.dtsi only, and was not a contract between DT and driver).

Fixes: 7c4163aae3d8e5b9 ("ARM: dts: r8a7792: initial SoC device tree")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7792.dtsi
include/dt-bindings/clock/r8a7792-clock.h