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 4/8] arm64: dts: qcom: pm8350b: Add base dts file
Date: Fri, 12 Mar 2021 10:57:33 +0530 [thread overview]
Message-ID: <20210312052737.3558801-5-vkoul@kernel.org> (raw)
In-Reply-To: <20210312052737.3558801-1-vkoul@kernel.org>
Add base DTS file for PM8350B along with GPIO node
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
arch/arm64/boot/dts/qcom/pm8350b.dtsi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/pm8350b.dtsi
diff --git a/arch/arm64/boot/dts/qcom/pm8350b.dtsi b/arch/arm64/boot/dts/qcom/pm8350b.dtsi
new file mode 100644
index 000000000000..b23bb1d49a4d
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/pm8350b.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 {
+ pm8350b: pmic@3 {
+ compatible = "qcom,pm8350b", "qcom,spmi-pmic";
+ reg = <0x3 SPMI_USID>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ pm8350b_gpios: gpio@8800 {
+ compatible = "qcom,pm8350b-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:28 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 ` Vinod Koul [this message]
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 ` [PATCH 7/8] arm64: dts: qcom: pmr735B: " Vinod Koul
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-5-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.