1* Rockchip VAD controller 2 3Required properties: 4 5- compatible: should be one of the following 6 - "rockchip,rk1808es-vad": for rk1808es 7 - "rockchip,rk1808-vad": for rk1808 8 - "rockchip,rk3308-vad": for rk3308 9 - "rockchip,rk3568-vad": for rk3568 10 - "rockchip,rk3588-vad": for rk3588 11- reg: physical base address of the controller and length of memory mapped 12 region. 13- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. 14- clock-names: should contain following: 15- interrupts: should contain the vad interrupt. 16- rockchip,audio-sram: the phandle of audio sram for vad. 17- rockchip,audio-src: the phandle of audio src for vad. 18- rockchip,buffer-time-ms: vad sram buffer time msec. 19- rockchip,det-channel: the channel(0~7) is used for detection. 20- rockchip,mode: vad work mode. 21 - 0: begin to store the data after voice detected. 22 - 1: begin to store the data after vad is enabled. 23 - 2: don't store the data. 24 25Optional properties: 26- rockchip,acodec-cfg: boolean, config acodec after voice activity detection. 27 28Example for rk3308 VAD controller: 29 30vad: vad@ff3c0000 { 31 compatible = "rockchip,rk3308-vad"; 32 reg = <0x0 0xff3c0000 0x0 0x10000>; 33 reg-names = "vad"; 34 clocks = <&cru HCLK_VAD>; 35 clock-names = "hclk"; 36 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 37 rockchip,audio-sram = <&vad_sram>; 38 rockchip,audio-src = <&i2s_8ch_0>; 39 rockchip,det-channel = <0>; 40 rockchip,mode = <0>; 41 status = "disabled"; 42}; 43