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

ARM: dts: r8a7740: Add missing extal2 to CPG node

The Clock Pulse Generator (CPG) device node lacks the extal2 clock.
This may lead to a failure registering the "r" clock, or to a wrong
parent for the "usb24s" clock, depending on MD_CK2 pin configuration and
boot loader CPG_USBCKCR register configuration.

This went unnoticed, as this does not affect the single upstream board
configuration, which relies on the first clock input only.

Fixes: d9ffd583bf345e2e ("ARM: shmobile: r8a7740: add SoC clocks to DTS")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Link: https://lore.kernel.org/r/20200508095918.6061-1-geert+renesas@glider.be

+1 -1
+1 -1
arch/arm/boot/dts/r8a7740.dtsi
··· 479 479 cpg_clocks: cpg_clocks@e6150000 { 480 480 compatible = "renesas,r8a7740-cpg-clocks"; 481 481 reg = <0xe6150000 0x10000>; 482 - clocks = <&extal1_clk>, <&extalr_clk>; 482 + clocks = <&extal1_clk>, <&extal2_clk>, <&extalr_clk>; 483 483 #clock-cells = <1>; 484 484 clock-output-names = "system", "pllc0", "pllc1", 485 485 "pllc2", "r",