From 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 12 Aug 2024 08:52:23 +0000 Subject: [PATCH] set hp_det gpio --- kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi b/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi index 69b88b7..241ddfb 100755 --- a/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/NK-6A13_V0A.dtsi @@ -134,7 +134,7 @@ rk_headset: rk-headset { status = "okay"; compatible = "rockchip_headset"; - headset_gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;//HP_DET_L_GPIO3_D5_d_3V3 + headset_gpio = <&gpio3 RK_PD5 GPIO_ACTIVE_HIGH>;//HP_DET_L_GPIO3_D5_d_3V3 spk_ctl_gpio = <&gpio4 RK_PB4 GPIO_ACTIVE_LOW>;//SPK_CTL_GPIO4_B4_u_3V3 pinctrl-names = "default"; pinctrl-0 = <&hp_det>; @@ -896,7 +896,7 @@ headphone { hp_det: hp-det { - rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; + rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; }; spk_con: spk-con { -- Gitblit v1.6.2