]>
Commit | Line | Data |
---|---|---|
c3275903 KS |
1 | * Rockchip Rk3328 internal codec |
2 | ||
3 | Required 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 |
13 | Optional properties: |
14 | ||
15 | - mute-gpios: GPIO specifier for external line driver control (typically the | |
16 | dedicated GPIO_MUTE pin) | |
17 | ||
c3275903 KS |
18 | Example for rk3328 internal codec: |
19 | ||
20 | codec: 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 | }; |