forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt
....@@ -2,14 +2,24 @@
22
33 Required properties:
44 - compatible: 'amlogic,axg-toddr' or
5
- 'amlogic,axg-frddr'
5
+ 'amlogic,axg-toddr' or
6
+ 'amlogic,g12a-frddr' or
7
+ 'amlogic,g12a-toddr' or
8
+ 'amlogic,sm1-frddr' or
9
+ 'amlogic,sm1-toddr'
610 - reg: physical base address of the controller and length of memory
711 mapped region.
812 - interrupts: interrupt specifier for the fifo.
913 - clocks: phandle to the fifo peripheral clock provided by the audio
1014 clock controller.
11
-- resets: phandle to memory ARB line provided by the arb reset controller.
15
+- resets: list of reset phandle, one for each entry reset-names.
16
+- reset-names: should contain the following:
17
+ * "arb" : memory ARB line (required)
18
+ * "rst" : dedicated device reset line (optional)
1219 - #sound-dai-cells: must be 0.
20
+- amlogic,fifo-depth: The size of the controller's fifo in bytes. This
21
+ is useful for determining certain configuration such
22
+ as the flush threshold of the fifo
1323
1424 Example of FRDDR A on the A113 SoC:
1525
....@@ -20,4 +30,5 @@
2030 interrupts = <GIC_SPI 88 IRQ_TYPE_EDGE_RISING>;
2131 clocks = <&clkc_audio AUD_CLKID_FRDDR_A>;
2232 resets = <&arb AXG_ARB_FRDDR_A>;
33
+ fifo-depth = <512>;
2334 };