Skip to content

Commit

Permalink
sigmaris: dts: Enable headphone detection GPIO
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaris committed Jun 11, 2020
1 parent 9dd6768 commit 42b0703
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,18 @@

sound {
compatible = "audio-graph-card";
pinctrl-names = "default";
pinctrl-0 = <&hp_det_gpio>;
label = "rockchip,rk3399";
dais = <&i2s1_p0>;
widgets =
"Microphone", "Mic Jack",
"Headphone", "Headphones";
routing =
"MIC1", "Mic Jack",
"Headphones", "HPOL",
"Headphones", "HPOR";
hp-det-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>;
};

vcc12v_dcin: vcc12v-dcin {
Expand Down Expand Up @@ -617,6 +627,12 @@
};
};

es8316 {
hp_det_gpio: hp-det-gpio {
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
};
};

fusb302x {
fusb0_int: fusb0-int {
rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
Expand Down

0 comments on commit 42b0703

Please sign in to comment.