ARM: dts: r8a7745: Add audio clocks
authorBiju Das <biju.das@bp.renesas.com>
Wed, 20 Dec 2017 20:01:57 +0000 (20:01 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 21 Dec 2017 11:20:49 +0000 (12:20 +0100)
Describe the external audio clocks required by the sound driver.
Boards that provide audio clocks need to override the clock frequencies.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7745.dtsi

index 2be7485c4efee48bd22bcb392bded936e08900fe..6d085f004721e09c33a8e7ae39157c29eceeca0b 100644 (file)
                vin1 = &vin1;
        };
 
+       /*
+        * The external audio clocks are configured  as 0 Hz fixed
+        * frequency clocks by default.  Boards that provide audio
+        * clocks should override them.
+        */
+       audio_clka: audio_clka {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <0>;
+       };
+       audio_clkb: audio_clkb {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <0>;
+       };
+       audio_clkc: audio_clkc {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <0>;
+       };
+
        /* External CAN clock */
        can_clk: can {
                compatible = "fixed-clock";