Skip to content

Commit 467d252

Browse files
LeeWeiTse-sevenbroonie
authored andcommitted
ASoC: dt-bindings: nau8821: Add delay control for ADC
Change the original fixed delay to the assignment from the property. It will make it more flexible to different platforms to avoid pop noise at the beginning of recording. Signed-off-by: Seven Lee <wtli@nuvoton.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240415070649.3496487-2-wtli@nuvoton.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 27a153e commit 467d252

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Documentation/devicetree/bindings/sound/nuvoton,nau8821.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ properties:
103103
just limited to the left adc for design demand.
104104
type: boolean
105105

106+
nuvoton,adc-delay-ms:
107+
description: Delay (in ms) to make input path stable and avoid pop noise.
108+
minimum: 125
109+
maximum: 500
110+
default: 125
111+
106112
'#sound-dai-cells':
107113
const: 0
108114

@@ -136,6 +142,7 @@ examples:
136142
nuvoton,jack-eject-debounce = <0>;
137143
nuvoton,dmic-clk-threshold = <3072000>;
138144
nuvoton,dmic-slew-rate = <0>;
145+
nuvoton,adc-delay-ms = <125>;
139146
#sound-dai-cells = <0>;
140147
};
141148
};

0 commit comments

Comments
 (0)