mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user