dt-bindings: sound: es8311: add the optional property 'adc-pga-gain'

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Change-Id: I59c283d5d3ddb359fa4828a53caf7e21670f19db
This commit is contained in:
Xing Zheng
2020-10-02 17:04:03 +08:00
committed by Tao Huang
parent f8d1a6ca51
commit e14240a31a

View File

@@ -9,6 +9,8 @@ Optional properties:
- clocks: The phandle of the master clock to the CODEC
- clock-names: Should be "mclk"
- adc-pga-gain: The PGA Gain of ADC, the value range is: 0(0dB) ~ 10(30dB),
the step is 3dB.
- adc-volume: The volume of ADC, range is: 0x00(-95dB) ~ 0xff(+32dB), 0dB is 0xbf.
- dac-volume: The volume of DAC, range is: 0x00(-95dB) ~ 0xff(+32dB), 0dB is 0xbf.
- aec-mode: The string of description AEC path between ADC and DAC, It should be:
@@ -28,6 +30,7 @@ es8311: es8311@18 {
reg = <0x18>;
clocks = <&cru MCLK_I2S0_TX_OUT2IO>;
clock-names = "mclk";
adc-pga-gain = <0>; /* 0dB */
adc-volume = <0xbf>; /* 0dB */
dac-volume = <0xbf>; /* 0dB */
aec-mode = "dac left, adc right";