ODROID-M1S: dts/dtbo: Add headset dtbo.

Signed-off-by: xiane <sangch.go@gmail.com>
Change-Id: I01782424e99868ab9d9cf05d7748f13edcc97234
This commit is contained in:
xiane
2025-02-18 14:16:01 +09:00
committed by codewalkerster
parent 61a763d184
commit a7c067837a
3 changed files with 14 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
display_waveshare_1inch69.dtbo \
fiq0_to_uart2.dtbo \
gpio_shortcut.dtbo \
headset.dtbo \
hktft32.dtbo \
i2c0.dtbo \
i2c1.dtbo \

View File

@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&rk_headset>;
__overlay__ {
status = "okay";
};
};
};

View File

@@ -167,10 +167,7 @@
rk_headset: rk-headset {
compatible = "rockchip_headset";
headset_gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&hp_det>;
io-channels = <&saradc 3>; //HP_HOOK
status = "disabled";
};
rk3566-gpiomem {
@@ -1149,12 +1146,6 @@
};
};
headphone {
hp_det: hp-det {
rockchip,pins = <4 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
leds {
led_ctl: led-ctl {
rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;