linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] ARM: vt8500: Add VIA APC Rock/Paper board
@ 2025-04-25 15:02 Alexey Charkov
  2025-04-25 15:02 ` [PATCH v5 1/2] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards Alexey Charkov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexey Charkov @ 2025-04-25 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, linux-arm-kernel, Alexey Charkov,
	Conor Dooley

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/20250416-wmt-updates-v1-7-f9af689cdfc2@gmail.com/

Changes in v3:
- submit DTS changes together with the respective binding change
- Link to v2: https://lore.kernel.org/r/20250418-apc_paper_binding-v2-1-17c9023b7c9b@gmail.com

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/20250425-apc_paper_binding-v3-0-846b0855420e@gmail.com

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/20250425-apc_paper_binding-v4-0-0ec2d0febe21@gmail.com

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
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,
-- 
Alexey Charkov <alchark@gmail.com>



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

* [PATCH v5 1/2] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards
  2025-04-25 15:02 [PATCH v5 0/2] ARM: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
@ 2025-04-25 15:02 ` Alexey Charkov
  2025-04-25 15:02 ` [PATCH v5 2/2] ARM: dts: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
  2025-04-28  6:57 ` [PATCH v5 0/2] ARM: " Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Charkov @ 2025-04-25 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, linux-arm-kernel, Alexey Charkov,
	Conor Dooley

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.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
 Documentation/devicetree/bindings/arm/vt8500.yaml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/vt8500.yaml b/Documentation/devicetree/bindings/arm/vt8500.yaml
index 5d5ad5a60451f569e6ef30c924a1964d02e1aa82..fa47b8989bbfb3001ae7bf6b6db4ef16132f047a 100644
--- a/Documentation/devicetree/bindings/arm/vt8500.yaml
+++ b/Documentation/devicetree/bindings/arm/vt8500.yaml
@@ -7,14 +7,13 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
 title: VIA/Wondermedia VT8500 Platforms
 
 maintainers:
-  - Tony Prisk <linux@prisktech.co.nz>
-description: test
+  - Alexey Charkov <alchark@gmail.com>
 
 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

-- 
2.49.0



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

* [PATCH v5 2/2] ARM: dts: vt8500: Add VIA APC Rock/Paper board
  2025-04-25 15:02 [PATCH v5 0/2] ARM: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
  2025-04-25 15:02 ` [PATCH v5 1/2] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards Alexey Charkov
@ 2025-04-25 15:02 ` Alexey Charkov
  2025-04-28  6:57 ` [PATCH v5 0/2] ARM: " Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Charkov @ 2025-04-25 15:02 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Krzysztof Kozlowski
  Cc: devicetree, linux-kernel, linux-arm-kernel, 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)

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
 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(-)

diff --git a/arch/arm/boot/dts/vt8500/Makefile b/arch/arm/boot/dts/vt8500/Makefile
index 255f4403af91c1d6a22416ab694b8eab44bf98a2..6fd29c41f3660d29d0368e4f8772d46b0a3c414c 100644
--- a/arch/arm/boot/dts/vt8500/Makefile
+++ b/arch/arm/boot/dts/vt8500/Makefile
@@ -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
diff --git a/arch/arm/boot/dts/vt8500/wm8950-apc-rock.dts b/arch/arm/boot/dts/vt8500/wm8950-apc-rock.dts
new file mode 100644
index 0000000000000000000000000000000000000000..58b3c8deb4f20ae072bf1381f1dfa5e5adeb414a
--- /dev/null
+++ b/arch/arm/boot/dts/vt8500/wm8950-apc-rock.dts
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2025 Alexey Charkov <alchark@gmail.com>
+ */
+
+/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";
+};
diff --git a/arch/arm/boot/dts/vt8500/wm8950.dtsi b/arch/arm/boot/dts/vt8500/wm8950.dtsi
new file mode 100644
index 0000000000000000000000000000000000000000..31fba05d3c3e70b21a64d08b5cdf645102a1faf3
--- /dev/null
+++ b/arch/arm/boot/dts/vt8500/wm8950.dtsi
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) 2025 Alexey Charkov <alchark@gmail.com>
+ */
+
+/* No differences have been discovered vs. WM8850, but chip markings differ */
+/include/ "wm8850.dtsi"
+
+/ {
+	compatible = "wm,wm8950";
+};

-- 
2.49.0



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

* Re: [PATCH v5 0/2] ARM: vt8500: Add VIA APC Rock/Paper board
  2025-04-25 15:02 [PATCH v5 0/2] ARM: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
  2025-04-25 15:02 ` [PATCH v5 1/2] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards Alexey Charkov
  2025-04-25 15:02 ` [PATCH v5 2/2] ARM: dts: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
@ 2025-04-28  6:57 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28  6:57 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Krzysztof Kozlowski, Alexey Charkov
  Cc: devicetree, linux-kernel, linux-arm-kernel, Conor Dooley


On Fri, 25 Apr 2025 19:02:21 +0400, Alexey Charkov wrote:
> 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,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>



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

end of thread, other threads:[~2025-04-28  6:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25 15:02 [PATCH v5 0/2] ARM: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
2025-04-25 15:02 ` [PATCH v5 1/2] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards Alexey Charkov
2025-04-25 15:02 ` [PATCH v5 2/2] ARM: dts: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
2025-04-28  6:57 ` [PATCH v5 0/2] ARM: " Krzysztof Kozlowski

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