Skip to content

Commit 306b38e

Browse files
oortcometbroonie
authored andcommitted
ASoC: dt-bindings: rt5645: add cbj sleeve gpio property
Add an optional gpio property to control external CBJ circuits to avoid some electric noise caused by sleeve/ring2 contacts floating. Signed-off-by: Derek Fang <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 103abab commit 306b38e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/sound/rt5645.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ Optional properties:
2020
a GPIO spec for the external headphone detect pin. If jd-mode = 0,
2121
we will get the JD status by getting the value of hp-detect-gpios.
2222

23+
- cbj-sleeve-gpios:
24+
a GPIO spec to control the external combo jack circuit to tie the sleeve/ring2
25+
contacts to the ground or floating. It could avoid some electric noise from the
26+
active speaker jacks.
27+
2328
- realtek,in2-differential
2429
Boolean. Indicate MIC2 input are differential, rather than single-ended.
2530

@@ -68,6 +73,7 @@ codec: rt5650@1a {
6873
compatible = "realtek,rt5650";
6974
reg = <0x1a>;
7075
hp-detect-gpios = <&gpio 19 0>;
76+
cbj-sleeve-gpios = <&gpio 20 0>;
7177
interrupt-parent = <&gpio>;
7278
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
7379
realtek,dmic-en = "true";

0 commit comments

Comments
 (0)