Skip to content

Commit

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

Signed-off-by: Joe Mason <[email protected]>
v2: Apply new dt-schema
Signed-off-by: Lin, Meng-Bo <[email protected]>
  • Loading branch information
buddyjojo authored and wonderfulShrineMaidenOfParadise committed Jan 10, 2023
1 parent a1c947e commit 7dd34af
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 @@ -370,6 +370,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 @@ -507,6 +517,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 7dd34af

Please sign in to comment.