forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
....@@ -30,6 +30,11 @@
3030 - ti,hwmods : Must be "mcasp<n>", n is controller instance starting 0
3131 - tx-num-evt : FIFO levels.
3232 - rx-num-evt : FIFO levels.
33
+- dismod : Specify the drive on TX pin during inactive slots
34
+ 0 : 3-state
35
+ 2 : logic low
36
+ 3 : logic high
37
+ Defaults to 'logic low' when the property is not present
3338 - sram-size-playback : size of sram to be allocated during playback
3439 - sram-size-capture : size of sram to be allocated during capture
3540 - interrupts : Interrupt numbers for McASP
....@@ -39,6 +44,26 @@
3944 please refer to pinctrl-bindings.txt
4045 - fck_parent : Should contain a valid clock name which will be used as parent
4146 for the McASP fck
47
+- auxclk-fs-ratio: When McASP is bus master indicates the ratio between AUCLK
48
+ and FS rate if applicable:
49
+ AUCLK rate = auxclk-fs-ratio * FS rate
50
+
51
+Optional GPIO support:
52
+If any McASP pin need to be used as GPIO then the McASP node must have:
53
+...
54
+ gpio-controller
55
+ #gpio-cells = <2>;
56
+...
57
+
58
+When requesting a GPIO, the first parameter is the PIN index in McASP_P*
59
+registers.
60
+For example to request the AXR2 pin of mcasp8:
61
+function-gpios = <&mcasp8 2 0>;
62
+
63
+Or to request the ACLKR pin of mcasp8:
64
+function-gpios = <&mcasp8 29 0>;
65
+
66
+For generic gpio information, please refer to bindings/gpio/gpio.txt
4267
4368 Example:
4469