Project

General

Profile

完成 #280 » 0001-fix-rk3399-Delete-the-power-key-configuration-in-rk3.patch

余 顺, 03/28/2025 07:33 AM

View differences:

kernel-5.10/arch/arm64/boot/dts/rockchip/rk3399-android.dtsi
};
};
gpio_keys: gpio-keys {
compatible = "gpio-keys";
autorepeat;
pinctrl-names = "default";
pinctrl-0 = <&pwrbtn>;
power {
debounce-interval = <100>;
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
label = "GPIO Key Power";
linux,code = <KEY_POWER>;
wakeup-source;
};
};
vendor_storage: vendor-storage {
compatible = "rockchip,ram-vendor-storage";
memory-region = <&vendor_storage_rm>;
......
<2 RK_PB2 3 &pcfg_pull_none>;
};
};
buttons {
pwrbtn: pwrbtn {
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
};
};
};
(2-2/2)