Skip to contentSkip to conversation

arm64: dts: realtek: Initial RTD1319 and Pym Particles support

PATCH In review Andreas Färber 2 participants 6 messages Jun 22, 2020 – Jul 9, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: realtek: Initial RTD1319 and Pym Particles support

Hello,

This patch series adds initial Device Trees for Realtek RTD1319 SoC and Realtek Pym Particles EVB.

This v4 is an update of James' v3, incorporating pending review comments.

Upstreaming progress being tracked at:
https://en.opensuse.org/HCL:Realtek_DHC

Latest experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next

Have a lot of fun!

Cheers,
Andreas

v3 -> v4:
* Updated Realtek copyright for files changed in v3
* Updated PMU compatible (Robin)
* Changed compatible, renamed .dts
* Updated bindings schema and prepended refactoring

Andreas Färber (1):
dt-bindings: arm: realtek: Convert comments to descriptions

James Tai (2):
dt-bindings: arm: realtek: Document RTD1319 and Realtek Pym Particles
EVB
arm64: dts: realtek: Add RTD1319 SoC and Realtek Pym Particles EVB

 .../devicetree/bindings/arm/realtek.yaml      |  30 ++-
 arch/arm64/boot/dts/realtek/Makefile          |   2 +
 .../boot/dts/realtek/rtd1319-pymparticles.dts |  43 ++++
 arch/arm64/boot/dts/realtek/rtd1319.dtsi      |  12 +
 arch/arm64/boot/dts/realtek/rtd13xx.dtsi      | 213 ++++++++++++++++++
 5 files changed, 288 insertions(+), 12 deletions(-)
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1319-pymparticles.dts
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1319.dtsi
 create mode 100644 arch/arm64/boot/dts/realtek/rtd13xx.dtsi
Signature · 1 line
2.26.2
#1 lore raw

PATCH v4 1/3 dt-bindings: arm: realtek: Convert comments to descriptions

Turn the SoC-level comments into description properties.

---
v4: New

 .../devicetree/bindings/arm/realtek.yaml      | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
Documentation/devicetree/bindings/arm/realtek.yaml +12 -12
index 845f9c76d6f7..0b388016bbcd 100644
@@ -14,21 +14,21 @@ properties:
     const: '/'
   compatible:
     oneOf:
-      # RTD1195 SoC based boards
-      - items:
+      - description: RTD1195 SoC based boards
+        items:
           - enum:
               - mele,x1000 # MeLE X1000
               - realtek,horseradish # Realtek Horseradish EVB
           - const: realtek,rtd1195
 
-      # RTD1293 SoC based boards
-      - items:
+      - description: RTD1293 SoC based boards
+        items:
           - enum:
               - synology,ds418j # Synology DiskStation DS418j
           - const: realtek,rtd1293
 
-      # RTD1295 SoC based boards
-      - items:
+      - description: RTD1295 SoC based boards
+        items:
           - enum:
               - mele,v9 # MeLE V9
               - probox2,ava # ProBox2 AVA
@@ -36,21 +36,21 @@ properties:
               - zidoo,x9s # Zidoo X9S
           - const: realtek,rtd1295
 
-      # RTD1296 SoC based boards
-      - items:
+      - description: RTD1296 SoC based boards
+        items:
           - enum:
               - synology,ds418 # Synology DiskStation DS418
           - const: realtek,rtd1296
 
-      # RTD1395 SoC based boards
-      - items:
+      - description: RTD1395 SoC based boards
+        items:
           - enum:
               - bananapi,bpi-m4 # Banana Pi BPI-M4
               - realtek,lion-skin # Realtek Lion Skin EVB
           - const: realtek,rtd1395
 
-      # RTD1619 SoC based boards
-      - items:
+      - description: RTD1619 SoC based boards
+        items:
           - enum:
               - realtek,mjolnir # Realtek Mjolnir EVB
           - const: realtek,rtd1619
Signature · 1 line
2.26.2
maintainer Reviewed-by on v4 1/3
#2 lore raw

Re: [PATCH v4 1/3] dt-bindings: arm: realtek: Convert comments to descriptions

Quoted 9 lines · Andreas Färber

Turn the SoC-level comments into description properties.

---
v4: New

 .../devicetree/bindings/arm/realtek.yaml      | 24 +++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
#3 lore raw

PATCH v4 2/3 dt-bindings: arm: realtek: Document RTD1319 and Realtek Pym Particles EVB

In reply to Andreas Färber

From: James Tai <[email protected]>

Define compatible strings for Realtek RTD1319 SoC and Realtek Pym Particles EVB.

---
v3 -> v4:
* Renamed compatible from pymparticle to pym-particles
* Turned SoC comment into description

v2 -> v3: Unchanged

v1 -> v2:
* Put string in alphabetical order

 Documentation/devicetree/bindings/arm/realtek.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/realtek.yaml +6 -0
index 0b388016bbcd..e36e87df3521 100644
@@ -42,6 +42,12 @@ properties:
               - synology,ds418 # Synology DiskStation DS418
           - const: realtek,rtd1296
 
+      - description: RTD1319 SoC based boards
+        items:
+          - enum:
+              - realtek,pym-particles # Realtek Pym Particles EVB
+          - const: realtek,rtd1319
+
       - description: RTD1395 SoC based boards
         items:
           - enum:
Signature · 1 line
2.26.2
maintainer Reviewed-by on v4 2/3
#4 lore raw

Re: [PATCH v4 2/3] dt-bindings: arm: realtek: Document RTD1319 and Realtek Pym Particles EVB

Quoted 12 lines · Andreas Färber

From: James Tai <[email protected]>

Define compatible strings for Realtek RTD1319 SoC and Realtek Pym Particles EVB.

---
v3 -> v4:
* Renamed compatible from pymparticle to pym-particles
* Turned SoC comment into description

Quoted 8 lines

v2 -> v3: Unchanged

v1 -> v2:
* Put string in alphabetical order

 Documentation/devicetree/bindings/arm/realtek.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
#5 lore raw

PATCH v4 3/3 arm64: dts: realtek: Add RTD1319 SoC and Realtek Pym Particles EVB

In reply to Andreas Färber

From: James Tai <[email protected]>

Add Device Trees for Realtek RTD1319 SoC family, RTD1319 SoC and Realtek Pym Particles EVB.

---
v3 -> v4:
* Updated Realtek copyright for 2 out of 3 files from v3
* Renamed from rtd1319-pymparticle.dts to rtd1319-pymparticles.dts
* Updated compatible from pymparticle to pym-particles
* Updated PMU compatible from armv8-pmuv3 to cortex-a55-pmu (Robin)

v2 -> v3:
* Add virtual maintenance interrupt for architecture timer
* Correct the GIC redistributor address range

v1 -> v2:
* Reserve the boot ROM address
* Reserve boot loader address
* Reserve audio/video FW address
* Reserve RPC and ring buffer address
* Reserve TEE address
* Support 1 GiB RAM by default
* Reduce rbus range to 2 MiB
* Apply the syscon for ISO,MISC,CRT,SB2,SCPU_WRAPPER
* Adjust compatible strings order in document

 arch/arm64/boot/dts/realtek/Makefile          |   2 +
 .../boot/dts/realtek/rtd1319-pymparticles.dts |  43 ++++
 arch/arm64/boot/dts/realtek/rtd1319.dtsi      |  12 +
 arch/arm64/boot/dts/realtek/rtd13xx.dtsi      | 213 ++++++++++++++++++
 4 files changed, 270 insertions(+)
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1319-pymparticles.dts
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1319.dtsi
 create mode 100644 arch/arm64/boot/dts/realtek/rtd13xx.dtsi
arch/arm64/boot/dts/realtek/Makefile +2 -0
index ef8d8fcbaa05..83708596726d 100644
@@ -9,6 +9,8 @@ dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb
 
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1296-ds418.dtb
 
+dtb-$(CONFIG_ARCH_REALTEK) += rtd1319-pymparticles.dtb
+
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-bpi-m4.dtb
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-lionskin.dtb
 
arch/arm64/boot/dts/realtek/rtd1319-pymparticles.dts new file +43 -0

43 lines not on this page · raw message

arch/arm64/boot/dts/realtek/rtd1319.dtsi new file +12 -0
new file mode 100644
index 000000000000..1dcee00009cd
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
+/*
+ * Realtek RTD1319 SoC
+ *
+ * Copyright (c) 2019 Realtek Semiconductor Corp.
+ */
+
+#include "rtd13xx.dtsi"
+
+/ {
+	compatible = "realtek,rtd1319";
+};
arch/arm64/boot/dts/realtek/rtd13xx.dtsi new file +213 -0

213 lines not on this page · raw message

Signature · 1 line
2.26.2