From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Swati Agarwal <swati.agarwal@oss.qualcomm.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
Subject: Re: [PATCH 1/2] arm64: dts: qcom: lemans-evk: Enable GPIO expander3 interrupt for Lemans EVK
Date: Fri, 6 Feb 2026 12:05:56 +0100 [thread overview]
Message-ID: <bb95f1e4-dcc0-4940-a1c3-a5e7eb658b01@oss.qualcomm.com> (raw)
In-Reply-To: <20260206104642.1038381-2-swati.agarwal@oss.qualcomm.com>
On 2/6/26 11:46 AM, Swati Agarwal wrote:
> Enable PCA9538 expander3 as interrupt controller on Lemans EVK and
> configures the corresponding TLMM pins via pinctrl to operate as GPIO
> inputs with internal pull-ups.
>
> Signed-off-by: Swati Agarwal <swati.agarwal@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/lemans-evk.dts | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
> index a549f7fe53a1..473cc2a81670 100644
> --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
> +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
> @@ -649,6 +649,12 @@ expander3: gpio@3b {
> reg = <0x3b>;
> #gpio-cells = <2>;
> gpio-controller;
> + #interrupt-cells = <2>;
> + interrupt-controller;
> + interrupt-parent = <&tlmm>;
> + interrupts = <39 IRQ_TYPE_LEVEL_LOW>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&expander3_int>;
property-n
property-names
in this order, please
Could you wire up the interrupts from other expanders while at it?
> };
>
> eeprom@50 {
> @@ -894,6 +900,13 @@ ethernet0_mdio: ethernet0-mdio-pins {
> };
> };
>
> + expander3_int: expander3-int-state {
> + pins = "gpio39";
> + function = "gpio";
> + input-enable;
input-enable is not allowed for TLMM GPIOs, please make sure to run "make dtbs_check"
(or at least make [...] CHECK_DTBS=1 qcom/lemans-evk.dtb) before submitting
Konrad
next prev parent reply other threads:[~2026-02-06 11:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-06 10:46 [PATCH 0/2] Enable tertiary USB controller in OTG mode Swati Agarwal
2026-02-06 10:46 ` [PATCH 1/2] arm64: dts: qcom: lemans-evk: Enable GPIO expander3 interrupt for Lemans EVK Swati Agarwal
2026-02-06 11:05 ` Konrad Dybcio [this message]
2026-02-06 12:12 ` Dmitry Baryshkov
2026-02-06 12:24 ` Konrad Dybcio
2026-02-06 10:46 ` [PATCH 2/2] arm64: dts: qcom: lemans-evk: Enable the tertiary USB controller Swati Agarwal
2026-02-06 10:51 ` Krzysztof Kozlowski
2026-02-06 11:07 ` Konrad Dybcio
2026-02-06 12:14 ` Dmitry Baryshkov
2026-02-10 14:59 ` Swati Agarwal
2026-02-10 21:08 ` Dmitry Baryshkov
2026-02-11 0:23 ` Krishna Kurapati PSSNV
2026-02-11 1:47 ` Dmitry Baryshkov
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=bb95f1e4-dcc0-4940-a1c3-a5e7eb658b01@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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 \
--cc=swati.agarwal@oss.qualcomm.com \
/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®