diff options
author | Simon Horman <horms+renesas@verge.net.au> | 2015-12-02 11:16:12 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-01-29 03:28:38 +0300 |
commit | ad6472bf11464d498fefcea9ae30ddf9255e4f49 (patch) | |
tree | 13b1584d6ed0f4283e1f1f354e8d1e0416d1dc49 /arch/arm/boot/dts/r8a7793.dtsi | |
parent | 072d326542e491874c31adda10bf513b371e560c (diff) | |
download | linux-ad6472bf11464d498fefcea9ae30ddf9255e4f49.tar.xz |
ARM: dts: r8a7793: add audio clock to device tree
Instantiate audio clock in r8a7793 device tree.
audio_clk_a/b/c are required for R-Car sound.
Based on similar work for the r8a7791 by Kuninori Morimoto.
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7793.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7793.dtsi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi index c4459f147330..530fa9488a4a 100644 --- a/arch/arm/boot/dts/r8a7793.dtsi +++ b/arch/arm/boot/dts/r8a7793.dtsi @@ -706,6 +706,29 @@ clock-output-names = "extal"; }; + /* + * The external audio clocks are configured as 0 Hz fixed frequency clocks by + * default. Boards that provide audio clocks should override them. + */ + audio_clk_a: audio_clk_a { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clk_a"; + }; + audio_clk_b: audio_clk_b { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clk_b"; + }; + audio_clk_c: audio_clk_c { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "audio_clk_c"; + }; + /* Special CPG clocks */ cpg_clocks: cpg_clocks@e6150000 { compatible = "renesas,r8a7793-cpg-clocks", |