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:
wuliangqing
2016-11-04 09:36:52 +08:00
committed by Huang, Tao
parent 85e7a1d463
commit 8ea1c3c569

View File

@@ -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>;
};
};
};