mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Frieder Hannenheim" <mail@fhannenheim.net>
To: "David Heidelberg" <david@ixit.cz>,
	"Frieder Hannenheim" <git@fhannenheim.net>,
	"Bjorn Andersson" <andersson@kernel.org>,
	"Konrad Dybcio" <konradybcio@kernel.org>,
	"Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>
Cc: "Robert Oscilowski" <drgitx@gmail.com>,
	"Jean-François Bobier" <jf.bobier@gmail.com>,
	phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND v4 2/3] arm64: dts: qcom: Add sm8250-oneplus-common.dtsi
Date: Mon, 09 Nov 2026 11:36:35 +0100	[thread overview]
Message-ID: <DMQM4AN8JPSW.388R1H1XOM5JF@fhannenheim.net> (raw)
In-Reply-To: <48420a1e-3611-4543-9d3a-7add3049b7ac@ixit.cz>

On Sun Nov 8, 2026 at 10:05 PM CET, David Heidelberg wrote:
> 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@gmail.com>
>> Signed-off-by: Robert Oscilowski <drgitx@gmail.com>
>> Signed-off-by: Frieder Hannenheim <git@fhannenheim.net>
>> ---
>>   .../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,
>

Hmm well the pon_resin doesn't seem to emit input events. I don't know if it's
used for anything else but the volume down button still works if I drop it.

>> +			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
>
> [...]

Thanks for mentioning this. I had already tried disabling the gpio key and just
using the resin. I will drop the resin in the next version.

Frieder

  reply	other threads:[~2026-11-09 10:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 20:20 [PATCH RESEND v4 0/3] Add OnePlus 8T Frieder Hannenheim
2026-11-05 20:20 ` [PATCH RESEND v4 1/3] dt-bindings: arm: qcom: Document " Frieder Hannenheim
2026-11-08 20:52   ` David Heidelberg
2026-11-08 20:58     ` Frieder Hannenheim
2026-11-08 21:03       ` David Heidelberg
2026-11-09 11:06       ` Konrad Dybcio
2026-11-05 20:20 ` [PATCH RESEND v4 2/3] arm64: dts: qcom: Add sm8250-oneplus-common.dtsi Frieder Hannenheim
2026-11-08 21:05   ` David Heidelberg
2026-11-09 10:36     ` Frieder Hannenheim [this message]
2026-11-05 20:20 ` [PATCH RESEND v4 3/3] arm64: dts: qcom: oneplus-kebab: new device Frieder Hannenheim
2026-11-09 11:08   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DMQM4AN8JPSW.388R1H1XOM5JF@fhannenheim.net \
    --to=mail@fhannenheim.net \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=david@ixit.cz \
    --cc=devicetree@vger.kernel.org \
    --cc=drgitx@gmail.com \
    --cc=git@fhannenheim.net \
    --cc=jf.bobier@gmail.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®