From: Konrad Dybcio <konradybcio@gmail.com>
To: skrzynka@konradybcio.pl
Cc: Konrad Dybcio <konradybcio@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Amit Kucheria <amit.kucheria@linaro.org>,
Zhang Rui <rui.zhang@intel.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Rajendra Nayak <rnayak@codeaurora.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH 5/8] arm64: dts: qcom: sdm630: Fix the pinctrl node
Date: Tue, 23 Jun 2020 20:08:29 +0200 [thread overview]
Message-ID: <20200623180832.254163-6-konradybcio@gmail.com> (raw)
In-Reply-To: <20200623180832.254163-1-konradybcio@gmail.com>
Previously present pinctrl node didn't show
problems, but I have in fact misconfigured it.
Fix it to actually enable the use of GPIOs.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
---
arch/arm64/boot/dts/qcom/sdm630.dtsi | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index 92bf4ae6a590..25c18edcb1fa 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -582,14 +582,18 @@ tcsr_mutex_regs: syscon@1f40000 {
reg = <0x01f40000 0x20000>;
};
- tlmm: pinctrl@3000000 {
+ tlmm: pinctrl@3100000 {
compatible = "qcom,sdm630-pinctrl";
- reg = <0x03000000 0xc00000>;
+ reg = <0x03100000 0x400000>,
+ <0x03500000 0x400000>,
+ <0x03900000 0x400000>;
+ reg-names = "south", "center", "north";
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
gpio-controller;
- #gpio-cells = <0x2>;
+ gpio-ranges = <&tlmm 0 0 114>;
+ #gpio-cells = <2>;
interrupt-controller;
- #interrupt-cells = <0x2>;
+ #interrupt-cells = <2>;
blsp1_uart1_default: blsp1-uart1-default {
pins = "gpio0", "gpio1", "gpio2", "gpio3";
--
2.27.0
next prev parent reply other threads:[~2020-06-23 18:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-23 18:08 [PATCH 0/8] SDM630 and Ninges fixes Konrad Dybcio
2020-06-23 18:08 ` [PATCH 1/8] soc: qcom: rpmpd: Add SDM660 power-domains Konrad Dybcio
2020-06-23 18:08 ` [PATCH 2/8] arm64: dts: qcom: sdm630: Add RPM power domains support Konrad Dybcio
2020-06-23 18:08 ` [PATCH 3/8] arm64: dts: qcom: sdm630: Add tsens node Konrad Dybcio
2020-06-24 11:44 ` Amit Kucheria
2020-06-24 15:01 ` Konrad Dybcio
2020-06-25 5:47 ` Amit Kucheria
2020-06-23 18:08 ` [PATCH 4/8] arm64: dts: qcom: sdm630: nile: Enable BLSP1_UART2 Konrad Dybcio
2020-06-23 18:08 ` Konrad Dybcio [this message]
2020-06-23 18:08 ` [PATCH 6/8] arm64: dts: qcom: sdm630: nile: Reserve disabled GPIOs Konrad Dybcio
2020-06-23 18:08 ` [PATCH 7/8] arm64: dts: qcom: sdm630: nile: Remove Volume Down gpio-key Konrad Dybcio
2020-06-23 18:08 ` [PATCH 8/8] arm64: dts: qcom: sdm630: ganges: Change addresses to phandles 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=20200623180832.254163-6-konradybcio@gmail.com \
--to=konradybcio@gmail.com \
--cc=agross@kernel.org \
--cc=amit.kucheria@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rnayak@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=skrzynka@konradybcio.pl \
/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;
as well as URLs for NNTP newsgroup(s).