xref: /freebsd/sys/contrib/device-tree/Bindings/sound/rockchip,rk3399-gru-sound.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "rockchip,rk3399-gru-sound"
5*c66ec88fSEmmanuel Vadot- rockchip,cpu: The phandle of the Rockchip I2S controller that's
6*c66ec88fSEmmanuel Vadot  connected to the codecs
7*c66ec88fSEmmanuel Vadot- rockchip,codec: The phandle of the audio codecs
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotOptional properties:
10*c66ec88fSEmmanuel Vadot- dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready.
11*c66ec88fSEmmanuel Vadot  If this option is specified, which means it's required dmic need
12*c66ec88fSEmmanuel Vadot  delay for DMIC to ready so that rt5514 can avoid recording before
13*c66ec88fSEmmanuel Vadot  DMIC send valid data
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadotsound {
18*c66ec88fSEmmanuel Vadot	compatible = "rockchip,rk3399-gru-sound";
19*c66ec88fSEmmanuel Vadot	rockchip,cpu = <&i2s0>;
20*c66ec88fSEmmanuel Vadot	rockchip,codec = <&max98357a &rt5514 &da7219>;
21*c66ec88fSEmmanuel Vadot	dmic-wakeup-delay-ms = <20>;
22*c66ec88fSEmmanuel Vadot};
23