2022-11-25 11:20:54

by Sriranjani P

[permalink] [raw]
Subject: [PATCH v2 0/2] arm64: dts: Add SYSREG nodes for FSD SoC

FSD has few system controller register blocks. This patch series intends to
add support of device node for system controller registers group that
resides in PERIC, FSYS0 and FSYS1 blocks of FSD SoC. As these will be used
by PCIE and EQoS module. Patches for adding support for PCIE and EQoS are
already under review at [1] and [2].

Also this patch series add required DT bindings for such system controller
of FSD SoC.

[1]: https://lkml.org/lkml/2022/11/21/463
[2]: https://lkml.org/lkml/2022/11/4/420

Changes since v1:
1. Fixed SoB in [PATCH 1/2] dt-bindings: mfd: syscon: Add tesla compatibles
found on FSD SoC.
2. Address review comments from Krzysztof on [PATCH 2/2] and aligned sysreg
node near to respective blocks sorted in order of unit address.

Sriranjani P (2):
dt-bindings: mfd: syscon: Add tesla compatibles found on FSD SoC
arm64: dts: fsd: add sysreg device node

Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
arch/arm64/boot/dts/tesla/fsd.dtsi | 15 +++++++++++++++
2 files changed, 16 insertions(+)

--
2.17.1


2022-11-25 11:21:19

by Sriranjani P

[permalink] [raw]
Subject: [PATCH v2 2/2] arm64: dts: fsd: add sysreg device node

Add SYSREG controller device node, which is available in PERIC, FSYS0 and
FSYS1 block of FSD SoC.

Signed-off-by: Alim Akhtar <[email protected]>
Signed-off-by: Pankaj Dubey <[email protected]>
Signed-off-by: Sriranjani P <[email protected]>
---
arch/arm64/boot/dts/tesla/fsd.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi
index f35bc5a288c2..76d08d9fa01d 100644
--- a/arch/arm64/boot/dts/tesla/fsd.dtsi
+++ b/arch/arm64/boot/dts/tesla/fsd.dtsi
@@ -492,6 +492,11 @@
"dout_cmu_peric_shared1div4_dmaclk";
};

+ sysreg_peric: system-controller@14030000 {
+ compatible = "tesla,fsd-sysreg", "syscon";
+ reg = <0x0 0x14030000 0x0 0x1000>;
+ };
+
clock_fsys0: clock-controller@15010000 {
compatible = "tesla,fsd-clock-fsys0";
reg = <0x0 0x15010000 0x0 0x3000>;
@@ -506,6 +511,11 @@
"dout_cmu_fsys0_shared0div4";
};

+ sysreg_fsys0: system-controller@15030000 {
+ compatible = "tesla,fsd-sysreg", "syscon";
+ reg = <0x0 0x15030000 0x0 0x1000>;
+ };
+
clock_fsys1: clock-controller@16810000 {
compatible = "tesla,fsd-clock-fsys1";
reg = <0x0 0x16810000 0x0 0x3000>;
@@ -518,6 +528,11 @@
"dout_cmu_fsys1_shared0div4";
};

+ sysreg_fsys1: system-controller@16830000 {
+ compatible = "tesla,fsd-sysreg", "syscon";
+ reg = <0x0 0x16830000 0x0 0x1000>;
+ };
+
mdma0: dma-controller@10100000 {
compatible = "arm,pl330", "arm,primecell";
reg = <0x0 0x10100000 0x0 0x1000>;
--
2.17.1

2022-11-25 11:55:07

by Sriranjani P

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: mfd: syscon: Add tesla compatibles found on FSD SoC

Add compatible for Tesla SYSREG controllers found on FSD SoC.

Signed-off-by: Sriranjani P <[email protected]>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 4e4baf53796d..8c3334999bec 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -69,6 +69,7 @@ properties:
- samsung,exynos5433-sysreg
- samsung,exynos850-sysreg
- samsung,exynosautov9-sysreg
+ - tesla,fsd-sysreg

- const: syscon

--
2.17.1