Skip to content

Commit

Permalink
FIXME: arm64: dts: qcom: msm8916-samsung-gprime: Add audio jack detec…
Browse files Browse the repository at this point in the history
…tion (v2)

v2: Apply new dt-schema
Signed-off-by: Lin, Meng-Bo <[email protected]>
  • Loading branch information
bolilingmeng89006 committed Jan 8, 2023
1 parent 1727a0a commit 0a84435
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,16 @@
extcon = <&muic>;
};

&wcd_codec {
jack-gpios = <&msmgpio 110 GPIO_ACTIVE_LOW>;
qcom,micbias-lvl = <2800>;
qcom,mbhc-vthreshold-low = <75 150 237 450 500>;
qcom,mbhc-vthreshold-high = <75 150 237 450 500>;

pinctrl-0 = <&jack_default>;
pinctrl-names = "default";
};

&smd_rpm_regulators {
vdd_l1_l2_l3-supply = <&pm8916_s3>;
vdd_l4_l5_l6-supply = <&pm8916_s4>;
Expand Down Expand Up @@ -487,6 +497,13 @@
bias-pull-up;
};

jack_default: jack-default-state {
pins = "gpio110";
function = "gpio";
drive-strength = <2>;
bias-disable;
};

lcd_on_default: lcd-on-default-state {
pins = "gpio102";
function = "gpio";
Expand Down

0 comments on commit 0a84435

Please sign in to comment.