From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Dale Whinham <daleyo@gmail.com>,
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: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Jérôme de Bretagne" <jerome.debretagne@gmail.com>
Subject: Re: [PATCH] arm64: dts: qcom: x1-denali: Add volume up/down GPIO keys
Date: Mon, 31 Aug 2026 09:13:33 +0200 [thread overview]
Message-ID: <6f33aa1f-563a-4ad8-8c81-6f64fb64f6be@oss.qualcomm.com> (raw)
In-Reply-To: <20260829-surface-pro-11-volume-buttons-v1-1-ace589343a68@gmail.com>
On 8/29/26 8:41 PM, Dale Whinham wrote:
> Configure gpio6 and gpio8 as volume up and volume down respectively, to
> enable the volume rocker located at the top of the screen.
>
> Signed-off-by: Dale Whinham <daleyo@gmail.com>
> ---
[...]
> pmic-glink {
> @@ -995,6 +1013,22 @@ rtmr0_3p3_reg_en: rtmr0-3p3-reg-en-state {
> function = "normal";
> power-source = <1>; /* 1.8V */
> };
> +
> + vol_down_n: vol-down-n-state {
> + bias-pull-up;
> + input-enable;
> + pins = "gpio8";
> + function = "normal";
> + power-source = <1>; /* 1.8V */
> + };
> +
> + vol_up_n: vol-up-n-state {
> + bias-pull-up;
> + input-enable;
> + pins = "gpio6";
> + function = "normal";
> + power-source = <1>; /* 1.8V */
> + };
Let's order the pin nodes by their gpio number
otherwise:
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
next prev parent reply other threads:[~2026-08-31 7:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-29 18:41 [PATCH] arm64: dts: qcom: x1-denali: Add volume up/down GPIO keys Dale Whinham
2026-08-31 7:13 ` Konrad Dybcio [this message]
2026-08-31 15:51 ` Dale Whinham
2026-09-02 16:24 ` 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=6f33aa1f-563a-4ad8-8c81-6f64fb64f6be@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daleyo@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jerome.debretagne@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=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