blob: 1ecd75d2032a006f36ef0e2217b8501bca973281 [file] [log] [blame]
Katsuhiro Suzukic3275902018-12-21 00:36:35 +09001* 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
Robin Murphye1498092020-02-18 21:31:58 +000013Optional properties:
14
15- mute-gpios: GPIO specifier for external line driver control (typically the
16 dedicated GPIO_MUTE pin)
17
Katsuhiro Suzukic3275902018-12-21 00:36:35 +090018Example 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";
Robin Murphye1498092020-02-18 21:31:58 +000026 mute-gpios = <&grf_gpio 0 GPIO_ACTIVE_LOW>;
Katsuhiro Suzukic3275902018-12-21 00:36:35 +090027 spk-depop-time-ms = 100;
Katsuhiro Suzukic3275902018-12-21 00:36:35 +090028};