]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - Documentation/devicetree/bindings/sound/rockchip,rk3328-codec.txt
Merge tag 'asoc-v5.7' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[mirror_ubuntu-hirsute-kernel.git] / Documentation / devicetree / bindings / sound / rockchip,rk3328-codec.txt
CommitLineData
c3275903
KS
1* Rockchip Rk3328 internal codec
2
3Required properties:
4
5- compatible: "rockchip,rk3328-codec"
6- reg: physical base address of the controller and length of memory mapped
7 region.
8- rockchip,grf: the phandle of the syscon node for GRF register.
9- clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
10- clock-names: should be "pclk".
11- spk-depop-time-ms: speak depop time msec.
12
e1498097
RM
13Optional properties:
14
15- mute-gpios: GPIO specifier for external line driver control (typically the
16 dedicated GPIO_MUTE pin)
17
c3275903
KS
18Example for rk3328 internal codec:
19
20codec: codec@ff410000 {
21 compatible = "rockchip,rk3328-codec";
22 reg = <0x0 0xff410000 0x0 0x1000>;
23 rockchip,grf = <&grf>;
24 clocks = <&cru PCLK_ACODEC>;
25 clock-names = "pclk";
e1498097 26 mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
c3275903 27 spk-depop-time-ms = 100;
c3275903 28};