ARM: dts: mmp2: Use symbolic names for audio clocks
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 21 Jan 2021 03:41:25 +0000 (04:41 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 2 Feb 2021 17:14:00 +0000 (18:14 +0100)
These are slighly easier to read.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20210121034130.1381872-8-lkundrak@v3.sk'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/mmp2.dtsi

index 445bdcd..46984d4 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <dt-bindings/clock/marvell,mmp2.h>
 #include <dt-bindings/power/marvell,mmp2.h>
+#include <dt-bindings/clock/marvell,mmp2-audio.h>
 
 / {
        #address-cells = <1>;
                                interrupts = <2>;
                                clock-names = "audio", "bitclk";
                                clocks = <&soc_clocks MMP2_CLK_AUDIO>,
-                                        <&audio_clk 1>;
+                                        <&audio_clk MMP2_CLK_AUDIO_SSPA0>;
                                power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
                                #sound-dai-cells = <0>;
                                status = "disabled";
                                interrupts = <3>;
                                clock-names = "audio", "bitclk";
                                clocks = <&soc_clocks MMP2_CLK_AUDIO>,
-                                        <&audio_clk 2>;
+                                        <&audio_clk MMP2_CLK_AUDIO_SSPA1>;
                                power-domains = <&soc_clocks MMP2_POWER_DOMAIN_AUDIO>;
                                #sound-dai-cells = <0>;
                                status = "disabled";