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

dt-bindings: clk: axg-audio: add g12a support

Add a new compatible string and additional clock ids for audio clock
controller of the g12a SoC family.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20190329160649.31603-2-jbrunet@baylibre.com

authored by

Jerome Brunet and committed by
Neil Armstrong
8554926b 77a725ff

+12 -1
+2 -1
Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt
··· 6 6 7 7 Required Properties: 8 8 9 - - compatible : should be "amlogic,axg-audio-clkc" for the A113X and A113D 9 + - compatible : should be "amlogic,axg-audio-clkc" for the A113X and A113D, 10 + "amlogic,g12a-audio-clkc" for G12A. 10 11 - reg : physical base address of the clock controller and length of 11 12 memory mapped region. 12 13 - clocks : a list of phandle + clock-specifier pairs for the clocks listed
+10
include/dt-bindings/clock/axg-audio-clkc.h
··· 70 70 #define AUD_CLKID_TDMOUT_A_LRCLK 134 71 71 #define AUD_CLKID_TDMOUT_B_LRCLK 135 72 72 #define AUD_CLKID_TDMOUT_C_LRCLK 136 73 + #define AUD_CLKID_SPDIFOUT_B 151 74 + #define AUD_CLKID_SPDIFOUT_B_CLK 152 75 + #define AUD_CLKID_TDM_MCLK_PAD0 155 76 + #define AUD_CLKID_TDM_MCLK_PAD1 156 77 + #define AUD_CLKID_TDM_LRCLK_PAD0 157 78 + #define AUD_CLKID_TDM_LRCLK_PAD1 158 79 + #define AUD_CLKID_TDM_LRCLK_PAD2 159 80 + #define AUD_CLKID_TDM_SCLK_PAD0 160 81 + #define AUD_CLKID_TDM_SCLK_PAD1 161 82 + #define AUD_CLKID_TDM_SCLK_PAD2 162 73 83 74 84 #endif /* __AXG_AUDIO_CLKC_BINDINGS_H */