xref: /linux/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt (revision cf40a76e7d5874bb25f4404eecc58a2e033af885)
1c6eac8a3SXing ZhengROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards
2c6eac8a3SXing Zheng
3c6eac8a3SXing ZhengRequired properties:
4c6eac8a3SXing Zheng- compatible: "rockchip,rk3399-gru-sound"
5c6eac8a3SXing Zheng- rockchip,cpu: The phandle of the Rockchip I2S controller that's
6c6eac8a3SXing Zheng  connected to the codecs
7*aa71fba4SJeffy Chen- rockchip,codec: The phandle of the audio codecs
8c6eac8a3SXing Zheng
93a6f9dceSWonjoon LeeOptional properties:
103a6f9dceSWonjoon Lee- dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready.
113a6f9dceSWonjoon Lee  If this option is specified, which means it's required dmic need
123a6f9dceSWonjoon Lee  delay for DMIC to ready so that rt5514 can avoid recording before
133a6f9dceSWonjoon Lee  DMIC send valid data
143a6f9dceSWonjoon Lee
15c6eac8a3SXing ZhengExample:
16c6eac8a3SXing Zheng
17c6eac8a3SXing Zhengsound {
18c6eac8a3SXing Zheng	compatible = "rockchip,rk3399-gru-sound";
19c6eac8a3SXing Zheng	rockchip,cpu = <&i2s0>;
20c6eac8a3SXing Zheng	rockchip,codec = <&max98357a &rt5514 &da7219>;
213a6f9dceSWonjoon Lee	dmic-wakeup-delay-ms = <20>;
22c6eac8a3SXing Zheng};
23