OSDN Git Service

arm64: boot: dts: r8a774[a/b/e]1-beacon: Consolidate sound clocks
authorAdam Ford <aford173@gmail.com>
Wed, 4 Jan 2023 14:12:45 +0000 (08:12 -0600)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 12 Jan 2023 16:22:22 +0000 (17:22 +0100)
commit567d37b9549e4128f247ed8e7b4dfca9a872afad
treeb88bd0ea773ac1f31629f71614e100d55f2d2040
parentc68b12a902067aa6c88aa02c29673a96ef086e5d
arm64: boot: dts: r8a774[a/b/e]1-beacon: Consolidate sound clocks

Each kit-level file represents a SOM + baseboard for a specific
SoC type and uses specific clocks unique to each SoC.  With the
exception of one clock, the rest of the clock info was duplicated.

There is a generic clock called CPG_AUDIO_CLK_I defined in each of
the SoC DTSI files which points to this unique clock. By using that,
the clock information for the rcar_sound can be consolidated into
the baseboard file and have it reference this generic clock thus
removing the duplication from the three variants.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230104141245.8407-4-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dts
arch/arm64/boot/dts/renesas/r8a774b1-beacon-rzg2n-kit.dts
arch/arm64/boot/dts/renesas/r8a774e1-beacon-rzg2h-kit.dts