From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, Vinod Koul <vkoul@kernel.org>,
Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 7/8] arm64: dts: qcom: pmr735B: Add base dts file
Date: Fri, 12 Mar 2021 10:57:36 +0530 [thread overview]
Message-ID: <20210312052737.3558801-8-vkoul@kernel.org> (raw)
In-Reply-To: <20210312052737.3558801-1-vkoul@kernel.org>
Add base DTS file for PMR735B along with GPIO node
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
arch/arm64/boot/dts/qcom/pmr735b.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/pmr735b.dtsi
diff --git a/arch/arm64/boot/dts/qcom/pmr735b.dtsi b/arch/arm64/boot/dts/qcom/pmr735b.dtsi
new file mode 100644
index 000000000000..1144086280f5
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/pmr735b.dtsi
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2021, Linaro Limited
+ */
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/spmi/spmi.h>
+
+&spmi_bus {
+ pmr735b: pmic@5 {
+ compatible = "qcom,pmr735b", "qcom,spmi-pmic";
+ reg = <0x5 SPMI_USID>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pmr735b_gpios: gpio@8800 {
+ compatible = "qcom,pmr735b-gpio";
+ reg = <0x8800>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+ };
+};
--
2.26.2
next prev parent reply other threads:[~2021-03-12 5:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-12 5:27 [PATCH 0/8] arm64: dts: qcom: sm8350: Add PMICs Vinod Koul
2021-03-12 5:27 ` [PATCH 1/8] arm64: dts: qcom: sm8350: Add spmi node Vinod Koul
2021-03-12 5:27 ` [PATCH 2/8] arm64: dts: qcom: pmk8350: Add base dts file Vinod Koul
2021-03-12 5:27 ` [PATCH 3/8] arm64: dts: qcom: pm8350: " Vinod Koul
2021-03-12 5:27 ` [PATCH 4/8] arm64: dts: qcom: pm8350b: " Vinod Koul
2021-03-12 5:27 ` [PATCH 5/8] arm64: dts: qcom: pm8350c: " Vinod Koul
2021-03-12 5:27 ` [PATCH 6/8] arm64: dts: qcom: pmr735a: " Vinod Koul
2021-03-12 5:27 ` Vinod Koul [this message]
2021-03-12 5:27 ` [PATCH 8/8] arm64: dts: qcom: sm8350-mtp: Add PMICs Vinod Koul
2021-03-12 19:00 ` [PATCH 0/8] arm64: dts: qcom: sm8350: " 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=20210312052737.3558801-8-vkoul@kernel.org \
--to=vkoul@kernel.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).