public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Vinod Koul <vkoul@kernel.org>
Subject: [PATCH v2 13/13] arm64: dts: qcom: sm8450: add i2c13 and i2c14 device nodes
Date: Thu,  9 Dec 2021 16:05:05 +0530	[thread overview]
Message-ID: <20211209103505.197453-14-vkoul@kernel.org> (raw)
In-Reply-To: <20211209103505.197453-1-vkoul@kernel.org>

From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Add device tree nodes for two i2c blocks: i2c13 and i2c14.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 52 ++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 94bc8b352547..c214ab89b44c 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -583,6 +583,44 @@ uart7: serial@99c000 {
 			};
 		};
 
+		qupv3_id_1: geniqup@ac0000 {
+			compatible = "qcom,geni-se-qup";
+			reg = <0x0 0x00ac0000 0x0 0x6000>;
+			clock-names = "m-ahb", "s-ahb";
+			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
+				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
+			#address-cells = <2>;
+			#size-cells = <2>;
+			ranges;
+			status = "disabled";
+
+			i2c13: i2c@a94000 {
+				compatible = "qcom,geni-i2c";
+				reg = <0 0x00a94000 0 0x4000>;
+				clock-names = "se";
+				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&qup_i2c13_data_clk>;
+				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+				status = "disabled";
+			};
+
+			i2c14: i2c@a98000 {
+				compatible = "qcom,geni-i2c";
+				reg = <0 0x00a98000 0 0x4000>;
+				clock-names = "se";
+				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&qup_i2c14_data_clk>;
+				interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+				status = "disabled";
+			};
+		};
+
 		config_noc: interconnect@1500000 {
 			compatible = "qcom,sm8450-config-noc";
 			reg = <0 0x01500000 0 0x1c000>;
@@ -683,6 +721,20 @@ tlmm: pinctrl@f100000 {
 			gpio-ranges = <&tlmm 0 0 211>;
 			wakeup-parent = <&pdc>;
 
+			qup_i2c13_data_clk: qup-i2c13-data-clk {
+				pins = "gpio48", "gpio49";
+				function = "qup13";
+				drive-strength = <2>;
+				bias-pull-up;
+			};
+
+			qup_i2c14_data_clk: qup-i2c14-data-clk {
+				pins = "gpio52", "gpio53";
+				function = "qup14";
+				drive-strength = <2>;
+				bias-pull-up;
+			};
+
 			qup_uart7_rx: qup-uart7-rx {
 				pins = "gpio26";
 				function = "qup7";
-- 
2.31.1


  parent reply	other threads:[~2021-12-09 10:36 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09 10:34 [PATCH v2 00/13] arm64: dts: qcom: Add support for SM8450 SoC and QRD board Vinod Koul
2021-12-09 10:34 ` [PATCH v2 01/13] arm64: dts: qcom: Add base SM8450 DTSI Vinod Koul
2021-12-09 10:34 ` [PATCH v2 02/13] arm64: dts: qcom: sm8450: Add tlmm nodes Vinod Koul
2021-12-09 10:34 ` [PATCH v2 03/13] arm64: dts: qcom: sm8450: Add reserved memory nodes Vinod Koul
2021-12-09 10:34 ` [PATCH v2 04/13] arm64: dts: qcom: sm8450: add smmu nodes Vinod Koul
2021-12-09 10:34 ` [PATCH v2 05/13] arm64: dts: qcom: Add base SM8450 QRD DTS Vinod Koul
2021-12-09 23:06   ` kernel test robot
2021-12-10  3:13   ` kernel test robot
2021-12-09 10:34 ` [PATCH v2 06/13] arm64: dts: qcom: sm8450-qrd: Add rpmh regulator nodes Vinod Koul
2021-12-09 10:34 ` [PATCH v2 07/13] arm64: dts: qcom: sm8450: add ufs nodes Vinod Koul
2021-12-09 10:35 ` [PATCH v2 08/13] arm64: dts: qcom: sm8450-qrd: enable " Vinod Koul
2021-12-09 10:35 ` [PATCH v2 09/13] arm64: dts: qcom: sm8450: add interconnect nodes Vinod Koul
2021-12-09 15:46   ` Konrad Dybcio
2021-12-10  9:37   ` Georgi Djakov
2021-12-09 10:35 ` [PATCH v2 10/13] arm64: dts: qcom: sm8450: add spmi node Vinod Koul
2022-10-24 14:56   ` Krzysztof Kozlowski
2022-10-24 15:06     ` konrad.dybcio
2022-10-24 16:16       ` Krzysztof Kozlowski
2022-10-24 16:45     ` Dmitry Baryshkov
2022-10-24 16:46       ` Krzysztof Kozlowski
2022-10-24 16:48         ` Dmitry Baryshkov
2022-10-24 18:56           ` Krzysztof Kozlowski
2022-10-24 18:58             ` Dmitry Baryshkov
2022-10-26  5:33               ` Vinod Koul
2022-11-17 14:57                 ` Konrad Dybcio
2022-11-18  9:16                   ` Konrad Dybcio
2021-12-09 10:35 ` [PATCH v2 11/13] arm64: dts: qcom: sm8450: Add rpmhpd node Vinod Koul
2021-12-09 10:35 ` [PATCH v2 12/13] arm64: dts: qcom: sm8450: add cpufreq support Vinod Koul
2021-12-09 10:35 ` Vinod Koul [this message]
2021-12-09 15:47   ` [PATCH v2 13/13] arm64: dts: qcom: sm8450: add i2c13 and i2c14 device nodes 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=20211209103505.197453-14-vkoul@kernel.org \
    --to=vkoul@kernel.org \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=konrad.dybcio@somainline.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