Re: [PATCH RESEND v4 2/3] arm64: dts: qcom: Add sm8250-oneplus-common.dtsi

From: David Heidelberg

Date: Sun Nov 08 2026 - 16:07:13 EST


On 05/11/2026 20:20, Frieder Hannenheim wrote:
This file contains common properties shared by all OnePlus devices using
the Qualcomm sm8250 chipset.

Co-developed-by: Robert Oscilowski <drgitx@xxxxxxxxx>
Signed-off-by: Robert Oscilowski <drgitx@xxxxxxxxx>
Signed-off-by: Frieder Hannenheim <git@xxxxxxxxxxxxxxx>
---
.../arm64/boot/dts/qcom/sm8250-oneplus-common.dtsi | 607 +++++++++++++++++++++
1 file changed, 607 insertions(+)


[...]

+
+ gpio_keys: gpio-keys {
+ compatible = "gpio-keys";
+ label = "Volume keys";
+
+ pinctrl-0 = <&vol_down_l &vol_up_n>;
+ pinctrl-names = "default";
+
+ key-vol-down {
+ label = "Volume Down";
+ linux,code = <KEY_VOLUMEDOWN>;

Hello Frieder,

patch looks good, but I noticed - which one? this key-vol-down or later at bottom,

+ gpios = <&pm8150_gpios 7 GPIO_ACTIVE_LOW>;
+ debounce-interval = <15>;
+ linux,can-disable;
+ wakeup-source;
+ };
+
+ key-vol-up {
+ label = "Volume Up";
+ gpios = <&pm8150_gpios 6 GPIO_ACTIVE_LOW>;
+ linux,code = <KEY_VOLUMEUP>;
+ debounce-interval = <15>;
+ linux,can-disable;
+ wakeup-source;
+ };
+ };
+

[...]

+&pon_pwrkey {
+ status = "okay";
+};
+
+&pon_resin {
+ linux,code = <KEY_VOLUMEDOWN>;

or this one?

David

[...]