dt-bindings: clk: axg-audio: add g12a support
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 29 Mar 2019 16:06:46 +0000 (17:06 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 8 Apr 2019 07:57:13 +0000 (09:57 +0200)
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
Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt
include/dt-bindings/clock/axg-audio-clkc.h

index 61777ad..0f77774 100644 (file)
@@ -6,7 +6,8 @@ devices.
 
 Required Properties:
 
-- compatible   : should be "amlogic,axg-audio-clkc" for the A113X and A113D
+- compatible   : should be "amlogic,axg-audio-clkc" for the A113X and A113D,
+                 "amlogic,g12a-audio-clkc" for G12A.
 - reg          : physical base address of the clock controller and length of
                  memory mapped region.
 - clocks       : a list of phandle + clock-specifier pairs for the clocks listed
index eafb0de..75901c6 100644 (file)
 #define AUD_CLKID_TDMOUT_A_LRCLK       134
 #define AUD_CLKID_TDMOUT_B_LRCLK       135
 #define AUD_CLKID_TDMOUT_C_LRCLK       136
+#define AUD_CLKID_SPDIFOUT_B           151
+#define AUD_CLKID_SPDIFOUT_B_CLK       152
+#define AUD_CLKID_TDM_MCLK_PAD0                155
+#define AUD_CLKID_TDM_MCLK_PAD1                156
+#define AUD_CLKID_TDM_LRCLK_PAD0       157
+#define AUD_CLKID_TDM_LRCLK_PAD1       158
+#define AUD_CLKID_TDM_LRCLK_PAD2       159
+#define AUD_CLKID_TDM_SCLK_PAD0                160
+#define AUD_CLKID_TDM_SCLK_PAD1                161
+#define AUD_CLKID_TDM_SCLK_PAD2                162
 
 #endif /* __AXG_AUDIO_CLKC_BINDINGS_H */