* [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family
@ 2023-06-05 8:05 Kathiravan T
2023-06-05 8:05 ` [PATCH V2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300 Kathiravan T
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Kathiravan T @ 2023-06-05 8:05 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel
Cc: Kathiravan T
Add the initial device tree support for the Reference Design
Platform(RDP) 474 based on IPQ5332 family of SoC. This patch carries
the support for Console UART, eMMC, I2C and GPIO based buttons.
Most of the features of RDP474 is similar to RDP441, except that the
QDSP will not be used in RDP474, whereas it will be used in the RDP441.
RDP474 comes with the SoC IPQ5300, so add the SoC info support for the
same.
Kathiravan T (4):
dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300
soc: qcom: socinfo: Add Soc ID for IPQ5300
dt-bindings: arm: qcom: document MI01.9 board based on IPQ5332 family
arm64: dts: qcom: ipq5332: add support for the RDP474 variant
.../devicetree/bindings/arm/qcom.yaml | 2 +
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts | 112 ++++++++++++++++++
drivers/soc/qcom/socinfo.c | 1 +
include/dt-bindings/arm/qcom,ids.h | 1 +
5 files changed, 117 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts
--
2.17.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH V2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300
2023-06-05 8:05 [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Kathiravan T
@ 2023-06-05 8:05 ` Kathiravan T
2023-06-05 8:05 ` [PATCH V2 2/4] soc: qcom: socinfo: Add Soc " Kathiravan T
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Kathiravan T @ 2023-06-05 8:05 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel
Cc: Kathiravan T
Add the SoC ID for IPQ5300, which belong to the family of IPQ5332 SoC.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
Changes in V2:
- Pick up A-b tag
include/dt-bindings/arm/qcom,ids.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h
index 69c2d8fa79f4..bcbe9ee2cdaf 100644
--- a/include/dt-bindings/arm/qcom,ids.h
+++ b/include/dt-bindings/arm/qcom,ids.h
@@ -258,6 +258,7 @@
#define QCOM_ID_IPQ5322 593
#define QCOM_ID_IPQ5312 594
#define QCOM_ID_IPQ5302 595
+#define QCOM_ID_IPQ5300 624
/*
* The board type and revision information, used by Qualcomm bootloaders and
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH V2 2/4] soc: qcom: socinfo: Add Soc ID for IPQ5300
2023-06-05 8:05 [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Kathiravan T
2023-06-05 8:05 ` [PATCH V2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300 Kathiravan T
@ 2023-06-05 8:05 ` Kathiravan T
2023-06-05 8:05 ` [PATCH V2 3/4] dt-bindings: arm: qcom: document MI01.9 board based on IPQ5332 family Kathiravan T
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Kathiravan T @ 2023-06-05 8:05 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel
Cc: Kathiravan T
Add the SoC ID for IPQ5300, which belong to the family of IPQ5332 SoC.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
Changes in V2:
- Pick up R-b tag
drivers/soc/qcom/socinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index dfd4330daef5..c60c9ab321fe 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -411,6 +411,7 @@ static const struct soc_id soc_id[] = {
{ qcom_board_id(IPQ5322) },
{ qcom_board_id(IPQ5312) },
{ qcom_board_id(IPQ5302) },
+ { qcom_board_id(IPQ5300) },
};
static const char *socinfo_machine(struct device *dev, unsigned int id)
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH V2 3/4] dt-bindings: arm: qcom: document MI01.9 board based on IPQ5332 family
2023-06-05 8:05 [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Kathiravan T
2023-06-05 8:05 ` [PATCH V2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300 Kathiravan T
2023-06-05 8:05 ` [PATCH V2 2/4] soc: qcom: socinfo: Add Soc " Kathiravan T
@ 2023-06-05 8:05 ` Kathiravan T
2023-06-05 8:05 ` [PATCH V2 4/4] arm64: dts: qcom: ipq5332: add support for the RDP474 variant Kathiravan T
2023-06-13 22:30 ` (subset) [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Bjorn Andersson
4 siblings, 0 replies; 6+ messages in thread
From: Kathiravan T @ 2023-06-05 8:05 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel
Cc: Kathiravan T
Document the MI01.9 (Reference Design Platform 474) board based on IPQ5332
family of SoCs.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
Changes in V2:
- Pick up A-b tag
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 8302d1ee280d..9716dd884080 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -93,6 +93,7 @@ description: |
ap-mi01.2
ap-mi01.3
ap-mi01.6
+ ap-mi01.9
cdp
cp01-c1
dragonboard
@@ -340,6 +341,7 @@ properties:
- qcom,ipq5332-ap-mi01.2
- qcom,ipq5332-ap-mi01.3
- qcom,ipq5332-ap-mi01.6
+ - qcom,ipq5332-ap-mi01.9
- const: qcom,ipq5332
- items:
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH V2 4/4] arm64: dts: qcom: ipq5332: add support for the RDP474 variant
2023-06-05 8:05 [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Kathiravan T
` (2 preceding siblings ...)
2023-06-05 8:05 ` [PATCH V2 3/4] dt-bindings: arm: qcom: document MI01.9 board based on IPQ5332 family Kathiravan T
@ 2023-06-05 8:05 ` Kathiravan T
2023-06-13 22:30 ` (subset) [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Bjorn Andersson
4 siblings, 0 replies; 6+ messages in thread
From: Kathiravan T @ 2023-06-05 8:05 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree,
linux-kernel
Cc: Kathiravan T
Add the initial device tree support for the Reference Design
Platform(RDP) 474 based on IPQ5332 family of SoC. This patch carries
the support for Console UART, eMMC, I2C and GPIO based buttons.
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
Changes in V2:
- Used hypen in node name instead of underscore
- s/gpio_keys_default/gpio_keys_default_state
arch/arm64/boot/dts/qcom/Makefile | 1 +
arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts | 112 ++++++++++++++++++++
2 files changed, 113 insertions(+)
create mode 100644 arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index 4f9e81253e18..0f8c763a9bd9 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -7,6 +7,7 @@ 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) += ipq5332-rdp474.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq6018-cp01-c1.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk01.dtb
dtb-$(CONFIG_ARCH_QCOM) += ipq8074-hk10-c1.dtb
diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts
new file mode 100644
index 000000000000..53c68d8c5e5d
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp474.dts
@@ -0,0 +1,112 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * IPQ5332 RDP474 board device tree source
+ *
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include "ipq5332.dtsi"
+
+/ {
+ model = "Qualcomm Technologies, Inc. IPQ5332 MI01.9";
+ compatible = "qcom,ipq5332-ap-mi01.9", "qcom,ipq5332";
+
+ aliases {
+ serial0 = &blsp1_uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0";
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-0 = <&gpio_keys_default_state>;
+ pinctrl-names = "default";
+
+ button-wps {
+ label = "wps";
+ linux,code = <KEY_WPS_BUTTON>;
+ gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
+ linux,input-type = <1>;
+ debounce-interval = <60>;
+ };
+ };
+};
+
+&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";
+};
+
+&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 {
+ gpio_keys_default_state: gpio-keys-default-state {
+ pins = "gpio35";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-pull-up;
+ };
+
+ 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;
+ };
+ };
+};
--
2.17.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: (subset) [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family
2023-06-05 8:05 [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Kathiravan T
` (3 preceding siblings ...)
2023-06-05 8:05 ` [PATCH V2 4/4] arm64: dts: qcom: ipq5332: add support for the RDP474 variant Kathiravan T
@ 2023-06-13 22:30 ` Bjorn Andersson
4 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2023-06-13 22:30 UTC (permalink / raw)
To: Kathiravan T, Rob Herring, linux-arm-msm, Andy Gross,
Conor Dooley, Krzysztof Kozlowski, Konrad Dybcio, devicetree,
linux-kernel
On Mon, 5 Jun 2023 13:35:27 +0530, Kathiravan T wrote:
> Add the initial device tree support for the Reference Design
> Platform(RDP) 474 based on IPQ5332 family of SoC. This patch carries
> the support for Console UART, eMMC, I2C and GPIO based buttons.
>
> Most of the features of RDP474 is similar to RDP441, except that the
> QDSP will not be used in RDP474, whereas it will be used in the RDP441.
>
> [...]
Applied, thanks!
[1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300
commit: b56715957bc820ee4b01adfd6fa63fea63cd212a
[2/4] soc: qcom: socinfo: Add Soc ID for IPQ5300
commit: f471f91a0d63539107004a8e826ff017ed4d2588
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-06-13 22:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-05 8:05 [PATCH V2 0/4] Add initial support for RDP474 of IPQ5332 family Kathiravan T
2023-06-05 8:05 ` [PATCH V2 1/4] dt-bindings: arm: qcom,ids: add SoC ID for IPQ5300 Kathiravan T
2023-06-05 8:05 ` [PATCH V2 2/4] soc: qcom: socinfo: Add Soc " Kathiravan T
2023-06-05 8:05 ` [PATCH V2 3/4] dt-bindings: arm: qcom: document MI01.9 board based on IPQ5332 family Kathiravan T
2023-06-05 8:05 ` [PATCH V2 4/4] arm64: dts: qcom: ipq5332: add support for the RDP474 variant Kathiravan T
2023-06-13 22:30 ` (subset) [PATCH V2 0/4] Add initial support for RDP474 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).