Lines Matching +full:rk3568 +full:- +full:i2s +full:- +full:tdm

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Rockchip I2S/TDM Controller
10 The Rockchip I2S/TDM Controller is a Time Division Multiplexed
15 - Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
18 - $ref: dai-common.yaml#
23 - rockchip,px30-i2s-tdm
24 - rockchip,rk1808-i2s-tdm
25 - rockchip,rk3308-i2s-tdm
26 - rockchip,rk3568-i2s-tdm
27 - rockchip,rk3588-i2s-tdm
28 - rockchip,rv1126-i2s-tdm
40 dma-names:
45 - rx
46 - tx
51 - description: clock for TX
52 - description: clock for RX
53 - description: AHB clock driving the interface
54 - description:
55 Parent clock for mclk_tx (only required when using mclk-calibrate)
56 - description:
57 Parent clock for mclk_rx (only required when using mclk-calibrate)
58 - description:
60 (only required when using mclk-calibrate)
61 - description:
63 (only required when using mclk-calibrate)
65 clock-names:
68 - const: mclk_tx
69 - const: mclk_rx
70 - const: hclk
71 - const: mclk_tx_src
72 - const: mclk_rx_src
73 - const: mclk_root0
74 - const: mclk_root1
81 reset-names:
86 - tx-m
87 - rx-m
90 $ref: audio-graph-port.yaml#
93 power-domains:
101 rockchip,trcm-sync-tx-only:
105 rockchip,trcm-sync-rx-only:
109 "#sound-dai-cells":
112 rockchip,i2s-rx-route:
113 $ref: /schemas/types.yaml#/definitions/uint32-array
115 Defines the mapping of I2S RX sdis to I2S data bus lines.
116 By default, they are mapped one-to-one.
117 rockchip,i2s-rx-route = <3> would mean sdi3 is receiving from data0.
122 rockchip,i2s-tx-route:
123 $ref: /schemas/types.yaml#/definitions/uint32-array
125 Defines the mapping of I2S TX sdos to I2S data bus lines.
126 By default, they are mapped one-to-one.
127 rockchip,i2s-tx-route = <3> would mean sdo3 is sending to data0.
132 rockchip,io-multiplex:
134 Specify that the GPIO lines on the I2S bus are multiplexed such that
140 - compatible
141 - reg
142 - interrupts
143 - dmas
144 - dma-names
145 - clocks
146 - clock-names
147 - resets
148 - reset-names
149 - "#sound-dai-cells"
154 - |
155 #include <dt-bindings/clock/rk3568-cru.h>
156 #include <dt-bindings/interrupt-controller/arm-gic.h>
157 #include <dt-bindings/interrupt-controller/irq.h>
158 #include <dt-bindings/pinctrl/rockchip.h>
161 #address-cells = <2>;
162 #size-cells = <2>;
163 i2s@fe410000 {
164 compatible = "rockchip,rk3568-i2s-tdm";
169 clock-names = "mclk_tx", "mclk_rx", "hclk";
171 dma-names = "rx", "tx";
173 reset-names = "tx-m", "rx-m";
174 rockchip,trcm-sync-tx-only;
176 #sound-dai-cells = <0>;
177 pinctrl-names = "default";
178 pinctrl-0 =