devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family
@ 2023-05-09 16:01 Kathiravan T
  2023-05-09 16:01 ` [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on " Kathiravan T
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Kathiravan T @ 2023-05-09 16:01 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, linux-arm-msm, devicetree, linux-kernel
  Cc: Kathiravan T

Add the initial device tree support for the Reference Design
Platform(RDP) 442 based on IPQ5332 family of SoC. This patch carries
the support for Console UART, SPI NOR, eMMC and I2C.

Kathiravan T (2):
  dt-bindings: arm: qcom: document MI01.3 board based on IPQ5332 family
  arm64: dts: qcom: ipq5332: add support for the RDP442 variant

 .../devicetree/bindings/arm/qcom.yaml         |   2 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts   | 117 ++++++++++++++++++
 3 files changed, 120 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on IPQ5332 family
  2023-05-09 16:01 [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Kathiravan T
@ 2023-05-09 16:01 ` Kathiravan T
  2023-05-09 17:32   ` Krzysztof Kozlowski
  2023-05-09 16:01 ` [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant Kathiravan T
  2023-05-29 17:53 ` [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Kathiravan T @ 2023-05-09 16:01 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, linux-arm-msm, devicetree, linux-kernel
  Cc: Kathiravan T

Document the MI01.3 (Reference Design Platform 442) board based on IPQ5332
family of SoCs.

Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index d9dd25695c3d..b8ec71648894 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -87,6 +87,7 @@ description: |
         adp
         ap-al02-c7
         ap-mi01.2
+        ap-mi01.3
         ap-mi01.6
         cdp
         cp01-c1
@@ -333,6 +334,7 @@ properties:
       - items:
           - enum:
               - qcom,ipq5332-ap-mi01.2
+              - qcom,ipq5332-ap-mi01.3
               - qcom,ipq5332-ap-mi01.6
           - const: qcom,ipq5332
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant
  2023-05-09 16:01 [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Kathiravan T
  2023-05-09 16:01 ` [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on " Kathiravan T
@ 2023-05-09 16:01 ` Kathiravan T
  2023-05-09 17:33   ` Krzysztof Kozlowski
  2023-05-29 17:53 ` [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Kathiravan T @ 2023-05-09 16:01 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, linux-arm-msm, devicetree, linux-kernel
  Cc: Kathiravan T

Add the initial device tree support for the Reference Design
Platform(RDP) 442 based on IPQ5332 family of SoC. This patch carries
the support for Console UART, SPI NOR, eMMC and I2C.

Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
 arch/arm64/boot/dts/qcom/Makefile           |   1 +
 arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts | 117 ++++++++++++++++++++
 2 files changed, 118 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts

diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index d42c59572ace..79a4f1cebcbf 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= apq8094-sony-xperia-kitakami-karin_windy.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8096-db820c.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= apq8096-ifc6640.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq5332-mi01.2.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= ipq5332-rdp442.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq5332-rdp468.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq6018-cp01-c1.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq8074-hk01.dtb
diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts
new file mode 100644
index 000000000000..bcf3b31c20e3
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts
@@ -0,0 +1,117 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * IPQ5332 RDP442 board device tree source
+ *
+ * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/dts-v1/;
+
+#include "ipq5332.dtsi"
+
+/ {
+	model = "Qualcomm Technologies, Inc. IPQ5332 MI01.3";
+	compatible = "qcom,ipq5332-ap-mi01.3", "qcom,ipq5332";
+
+	aliases {
+		serial0 = &blsp1_uart0;
+	};
+
+	chosen {
+		stdout-path = "serial0";
+	};
+};
+
+&blsp1_uart0 {
+	pinctrl-0 = <&serial_0_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&blsp1_i2c1 {
+	clock-frequency  = <400000>;
+	pinctrl-0 = <&i2c_1_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&blsp1_spi0 {
+	pinctrl-0 = <&spi_0_data_clk_pins &spi_0_cs_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	flash@0 {
+		compatible = "micron,n25q128a11", "jedec,spi-nor";
+		reg = <0>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		spi-max-frequency = <50000000>;
+	};
+};
+
+&sdhc {
+	bus-width = <4>;
+	max-frequency = <192000000>;
+	mmc-ddr-1_8v;
+	mmc-hs200-1_8v;
+	non-removable;
+	pinctrl-0 = <&sdc_default_state>;
+	pinctrl-names = "default";
+	status = "okay";
+};
+
+&sleep_clk {
+	clock-frequency = <32000>;
+};
+
+&xo_board {
+	clock-frequency = <24000000>;
+};
+
+/* PINCTRL */
+
+&tlmm {
+	i2c_1_pins: i2c-1-state {
+		pins = "gpio29", "gpio30";
+		function = "blsp1_i2c0";
+		drive-strength = <8>;
+		bias-pull-up;
+	};
+
+	sdc_default_state: sdc-default-state {
+		clk-pins {
+			pins = "gpio13";
+			function = "sdc_clk";
+			drive-strength = <8>;
+			bias-disable;
+		};
+
+		cmd-pins {
+			pins = "gpio12";
+			function = "sdc_cmd";
+			drive-strength = <8>;
+			bias-pull-up;
+		};
+
+		data-pins {
+			pins = "gpio8", "gpio9", "gpio10", "gpio11";
+			function = "sdc_data";
+			drive-strength = <8>;
+			bias-pull-up;
+		};
+	};
+
+	spi_0_data_clk_pins: spi-0-data-clk-state {
+		pins = "gpio14", "gpio15", "gpio16";
+		function = "blsp0_spi";
+		drive-strength = <2>;
+		bias-pull-down;
+	};
+
+	spi_0_cs_pins: spi-0-cs-state {
+		pins = "gpio17";
+		function = "blsp0_spi";
+		drive-strength = <2>;
+		bias-pull-up;
+	};
+};
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on IPQ5332 family
  2023-05-09 16:01 ` [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on " Kathiravan T
@ 2023-05-09 17:32   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-09 17:32 UTC (permalink / raw)
  To: Kathiravan T, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel

On 09/05/2023 18:01, Kathiravan T wrote:
> Document the MI01.3 (Reference Design Platform 442) board based on IPQ5332
> family of SoCs.
> 
> Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
> ---


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant
  2023-05-09 16:01 ` [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant Kathiravan T
@ 2023-05-09 17:33   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-05-09 17:33 UTC (permalink / raw)
  To: Kathiravan T, agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel

On 09/05/2023 18:01, Kathiravan T wrote:
> Add the initial device tree support for the Reference Design
> Platform(RDP) 442 based on IPQ5332 family of SoC. This patch carries
> the support for Console UART, SPI NOR, eMMC and I2C.
> 
> Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/Makefile           |   1 +
>  arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts | 117 ++++++++++++++++++++
>  2 files changed, 118 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp442.dts

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family
  2023-05-09 16:01 [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Kathiravan T
  2023-05-09 16:01 ` [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on " Kathiravan T
  2023-05-09 16:01 ` [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant Kathiravan T
@ 2023-05-29 17:53 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2023-05-29 17:53 UTC (permalink / raw)
  To: Kathiravan T, robh+dt, conor+dt, devicetree, agross, linux-kernel,
	linux-arm-msm, krzysztof.kozlowski+dt, konrad.dybcio

On Tue, 9 May 2023 21:31:31 +0530, Kathiravan T wrote:
> Add the initial device tree support for the Reference Design
> Platform(RDP) 442 based on IPQ5332 family of SoC. This patch carries
> the support for Console UART, SPI NOR, eMMC and I2C.
> 
> Kathiravan T (2):
>   dt-bindings: arm: qcom: document MI01.3 board based on IPQ5332 family
>   arm64: dts: qcom: ipq5332: add support for the RDP442 variant
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: arm: qcom: document MI01.3 board based on IPQ5332 family
      commit: 68c4c67156ec0e0e1abe11a90e4bb9bfe34ca722
[2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant
      commit: a782318023f339213f29372e2ecae696c0ca4a69

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-29 17:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09 16:01 [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Kathiravan T
2023-05-09 16:01 ` [PATCH 1/2] dt-bindings: arm: qcom: document MI01.3 board based on " Kathiravan T
2023-05-09 17:32   ` Krzysztof Kozlowski
2023-05-09 16:01 ` [PATCH 2/2] arm64: dts: qcom: ipq5332: add support for the RDP442 variant Kathiravan T
2023-05-09 17:33   ` Krzysztof Kozlowski
2023-05-29 17:53 ` [PATCH 0/2] Add initial support for RDP442 of IPQ5332 family Bjorn Andersson

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).