Skip to content

Commit b0884be

Browse files
acgzxrkhuangtao
authored andcommitted
ASoC: rk3308_codec: update properties
Remove 'rockchip,adc-grps' and add 'rockchip,enable-all-adcs' Change-Id: Ic838df1b26fa4d5837368025b5c335b8cad5226c Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
1 parent 12324e6 commit b0884be

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Documentation/devicetree/bindings/sound/rockchip,rk3308-codec.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,15 @@ Required properties:
1313
- reset-names : Must include the following entries: "acodec-reset".
1414

1515
Optional properties:
16-
- rockchip,adc-grps: This is a variable length array, that shows the mapping of
17-
the configuration adc grp. The following shows the relationship between grp
16+
- rockchip,enable-all-adcs: This is a boolean type property, that shows whether
17+
force enable all of ADCs. The following shows the relationship between grps
1818
and ADC:
1919
* grp 0 -- select ADC1 / ADC2
2020
* grp 1 -- select ADC3 / ADC4
2121
* grp 2 -- select ADC5 / ADC6
2222
* grp 3 -- select ADC7 / ADC8
23-
By default, they are all enabled, like using:
24-
- rockchip,adc-grps = <0 1 2 3>;
25-
If we don't use ADC5 and ADC6, we just use grp 0,1,3 on dts. For example:
26-
- rockchip,adc-grps = <0 1 3>;
23+
If the property is not used, the enabled ADC groups refer to needed channels
24+
via configure hw_params.
2725

2826
- rockchip,adc-grps-route: This is a variable length array, that shows the
2927
mapping route of ACODEC sdo to I2S sdi. By default, they are one-to-one

0 commit comments

Comments
 (0)