mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
arm64: dts: rk3399-vr: enable rk_headset on rk3399 vr
Change-Id: I4e078c586e6654c3a4711d0b0108d28360db9453 Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
This commit is contained in:
@@ -289,6 +289,14 @@
|
||||
rockchip,adc_value = <780>;
|
||||
};
|
||||
};
|
||||
|
||||
rk_headset {
|
||||
compatible = "rockchip_headset";
|
||||
headset_gpio = <&gpio4 28 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hp_det>;
|
||||
io-channels = <&saradc 2>;
|
||||
};
|
||||
};
|
||||
|
||||
&cluster0_opp {
|
||||
@@ -799,7 +807,6 @@
|
||||
clocks = <&cru SCLK_I2S_8CH_OUT>;
|
||||
clock-names = "mclk";
|
||||
spk-con-gpio = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
||||
hp-det-gpio = <&gpio4 28 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1124,4 +1131,10 @@
|
||||
rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
headphone {
|
||||
hp_det: hp-det {
|
||||
rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user