Skip to contentSkip to conversation

ARM: vt8500: Add VIA APC Rock/Paper board

PATCH Applied Alexey Charkov 2 participants 4 messages Apr 25, 2025 – Apr 28, 2025

Subsystems (2)
lore
Share & tools
lore

Alexey Charkov

author maintainer
#0 lore raw

v5 cover ARM: vt8500: Add VIA APC Rock/Paper board

Add binding and DTS for the WM8950 based VIA APC Rock board. Paper is the same board for all intents and purposes, so reflect it only in the binding description.

Split the series from v1 into several chunks by topic so as not to spam all the subsystems with unrelated changes, per Rob's suggestion

Changes in v2:
- kept single-valued compatibles in a single enum (thanks Rob)
- dropped the empty overall description node
- Link to v1: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- submit DTS changes together with the respective binding change
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v4:
- fix typo in the dts Makefile which went unnoticed due to a previously
built .dtb file lying around there under just the right name
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v5:
- simplified binding changes by putting the enum directly under the "compatible:" node instead of nesting it under another "items:"
(thanks Conor)
- Link to v4: https://lore.kernel.org/r/[email protected]

---
Alexey Charkov (2):
dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards
ARM: dts: vt8500: Add VIA APC Rock/Paper board

 Documentation/devicetree/bindings/arm/vt8500.yaml | 10 +++++++---
 arch/arm/boot/dts/vt8500/Makefile                 |  3 ++-
 arch/arm/boot/dts/vt8500/wm8950-apc-rock.dts      | 21 +++++++++++++++++++++
 arch/arm/boot/dts/vt8500/wm8950.dtsi              | 11 +++++++++++
 4 files changed, 41 insertions(+), 4 deletions(-)

---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250418-apc_paper_binding-8feae286710e

Best regards,

Signature · 1 line
Alexey Charkov <[email protected]>
author maintainer
#1 lore raw

PATCH v5 1/2 dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards

APC Rock is a development board based on WonderMedia WM8950 SoC released around 2013. Paper is the same as Rock but lacking a VGA port and shipped with a recycled cardboard case.

While at that, put myself as the maintainer, given that Tony is unavailable as of lately.

---
 Documentation/devicetree/bindings/arm/vt8500.yaml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/arm/vt8500.yaml +7 -3
index 5d5ad5a60451f569e6ef30c924a1964d02e1aa82..fa47b8989bbfb3001ae7bf6b6db4ef16132f047a 100644
@@ -7,14 +7,13 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: VIA/Wondermedia VT8500 Platforms
 
 maintainers:
-  - Tony Prisk <[email protected]>
-description: test
+  - Alexey Charkov <[email protected]>
 
 properties:
   $nodename:
     const: '/'
   compatible:
-    items:
+    oneOf:
       - enum:
           - via,vt8500
           - wm,wm8505
@@ -22,4 +21,9 @@ properties:
           - wm,wm8750
           - wm,wm8850
 
+      - description: VIA APC Rock and Paper boards
+        items:
+          - const: via,apc-rock
+          - const: wm,wm8950
+
 additionalProperties: true
Signature · 1 line
2.49.0
author maintainer
#2 lore raw

PATCH v5 2/2 ARM: dts: vt8500: Add VIA APC Rock/Paper board

In reply to Alexey Charkov

APC Rock is a development board based on WonderMedia WM8590 released around 2013. Paper is the same board, but with the VGA port left unpopulated, and shipped with a recycled cardboard case

Its hardware includes:
* Single-core Cortex-A9 CPU at 800 MHz
* 512MB DDR3 RAM
* 4GB NAND flash
* 8MB SPI NOR flash
* ARM Mali-400 GPU
* HDMI output (type A) capable of 1080p
* VGA output (on Rock, but not on Paper)
* 2x USB 2.0 type A
* 1x USB 2.0 OTG (microUSB connector)
* microSD slot
* 10/100M Ethernet
* 3.5mm minijack connector with combined headphones/mic
* Half-height miniPCIe slot (with only USB 2.0 signals)

---
 arch/arm/boot/dts/vt8500/Makefile            |  3 ++-
 arch/arm/boot/dts/vt8500/wm8950-apc-rock.dts | 21 +++++++++++++++++++++
 arch/arm/boot/dts/vt8500/wm8950.dtsi         | 11 +++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)
arch/arm/boot/dts/vt8500/Makefile +2 -1
index 255f4403af91c1d6a22416ab694b8eab44bf98a2..6fd29c41f3660d29d0368e4f8772d46b0a3c414c 100644
@@ -4,4 +4,5 @@ dtb-$(CONFIG_ARCH_VT8500) += \
 	wm8505-ref.dtb \
 	wm8650-mid.dtb \
 	wm8750-apc8750.dtb \
-	wm8850-w70v2.dtb
+	wm8850-w70v2.dtb \
+	wm8950-apc-rock.dtb
arch/arm/boot/dts/vt8500/wm8950-apc-rock.dts new file +21 -0
new file mode 100644
index 0000000000000000000000000000000000000000..58b3c8deb4f20ae072bf1381f1dfa5e5adeb414a
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2025 Alexey Charkov <[email protected]>
+ */
+
+/dts-v1/;
+/include/ "wm8950.dtsi"
+
+/ {
+	model = "VIA APC Rock";
+	compatible = "via,apc-rock", "wm,wm8950";
+
+	memory@0 {
+		device_type = "memory";
+		reg = <0x0 0x20000000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
arch/arm/boot/dts/vt8500/wm8950.dtsi new file +11 -0
new file mode 100644
index 0000000000000000000000000000000000000000..31fba05d3c3e70b21a64d08b5cdf645102a1faf3
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2025 Alexey Charkov <[email protected]>
+ */
+
+/* No differences have been discovered vs. WM8850, but chip markings differ */
+/include/ "wm8850.dtsi"
+
+/ {
+	compatible = "wm,wm8950";
+};
Signature · 1 line
2.49.0
#3 lore raw
In reply to Alexey Charkov
Quoted 8 lines · Alexey Charkov

Add binding and DTS for the WM8950 based VIA APC Rock board. Paper is the same board for all intents and purposes, so reflect it only in the binding description.

Split the series from v1 into several chunks by topic so as not to spam all the subsystems with unrelated changes, per Rob's suggestion

[...]

Applied, thanks!

[1/2] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards

      https://git.kernel.org/krzk/linux-dt/c/5ff150fc3755516937e7b1747722687ad4f75eae
[2/2] ARM: dts: vt8500: Add VIA APC Rock/Paper board
      https://git.kernel.org/krzk/linux-dt/c/927e1b7ac361fa1a76fb29caa21853c9d8ba315a

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>