forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt
....@@ -2,7 +2,11 @@
22
33 Required properties:
44 - compatible: 'amlogic,axg-tdmin' or
5
- 'amlogic,axg-tdmout'
5
+ 'amlogic,axg-tdmout' or
6
+ 'amlogic,g12a-tdmin' or
7
+ 'amlogic,g12a-tdmout' or
8
+ 'amlogic,sm1-tdmin' or
9
+ 'amlogic,sm1-tdmout
610 - reg: physical base address of the controller and length of memory
711 mapped region.
812 - clocks: list of clock phandle, one for each entry clock-names.
....@@ -13,11 +17,15 @@
1317 * "lrclk" : sample clock
1418 * "lrclk_sel": sample clock input multiplexer
1519
16
-Example of TDMOUT_A on the A113 SoC:
20
+Optional property:
21
+- resets: phandle to the dedicated reset line of the tdm formatter.
22
+
23
+Example of TDMOUT_A on the S905X2 SoC:
1724
1825 tdmout_a: audio-controller@500 {
1926 compatible = "amlogic,axg-tdmout";
2027 reg = <0x0 0x500 0x0 0x40>;
28
+ resets = <&clkc_audio AUD_RESET_TDMOUT_A>;
2129 clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>,
2230 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>,
2331 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>,