Skip to contentSkip to conversation

arm64: dts: rockchip: add core devicetree for rk3326

PATCH Superseded Heiko Stuebner 2 participants 5 messages Mar 8, 2020 – Mar 23, 2020

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

PATCH v2 1/3 arm64: dts: rockchip: add core devicetree for rk3326

From: Heiko Stuebner <[email protected]>

The rk3326 is basically a px30 without the second display controller. So add a dtsi based on that, that just removes the affected nodes.

---
 arch/arm64/boot/dts/rockchip/rk3326.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3326.dtsi
arch/arm64/boot/dts/rockchip/rk3326.dtsi new file +15 -0
new file mode 100644
index 000000000000..2ba6da125137
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd
+ */
+
+#include "px30.dtsi"
+
+&display_subsystem {
+	ports = <&vopb_out>;
+};
+
+/delete-node/ &dsi_in_vopl;
+/delete-node/ &lvds_vopl_in;
+/delete-node/ &vopl;
+/delete-node/ &vopl_mmu;
Signature · 1 line
2.24.1
author maintainer
#1 lore raw

PATCH v2 2/3 dt-bindings: Add binding for Hardkernel Odroid Go Advance

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Add a compatible for the Odroid Go Advance from Hardkernel. The compatible used by the vendor already is odroid-go2, to distinguish it from the previous (microcontroller-based) Odroid Go, so we're keeping that, also to not cause unnecessary incompatibilites.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index f4ba00d679e6..4343ce7880e4 100644
@@ -358,6 +358,11 @@ properties:
           - const: haoyu,marsboard-rk3066
           - const: rockchip,rk3066a
 
+      - description: Hardkernel Odroid Go Advance
+        items:
+          - const: hardkernel,rk3326-odroid-go2
+          - const: rockchip,rk3326
+
       - description: Hugsun X99 TV Box
         items:
           - const: hugsun,x99
Signature · 1 line
2.24.1
author maintainer
#3 lore raw

PATCH v2 3/3 arm64: dts: rockchip: add Odroid Advance Go

In reply to Heiko Stuebner

From: Heiko Stuebner <[email protected]>

The Odroid Advance Go is a handheld based on Rockchip's rk3326 soc with a DSI display and some handheld controls including an analog joystick connected to the saradc.

---
changes in v2:
- move backlight to its alphabetic correct position
- name heartbeat-led according to yaml binding
- re-sort some properties
- drop pinctrl overrides from tsdadc, they're using a wrong name anyway

 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../boot/dts/rockchip/rk3326-odroid-go2.dts   | 541 ++++++++++++++++++
 2 files changed, 542 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index af1e1c3707d0..86c38467d487 100644
@@ -6,6 +6,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-copperhead-ltk101b4029w.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3326-odroid-go2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-a1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-evb.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3328-rock64.dtb
arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts new file +541 -0

541 lines not on this page · raw message

Signature · 1 line
2.24.1
author maintainer
#4 lore raw

Re: [PATCH v2 3/3] arm64: dts: rockchip: add Odroid Advance Go

Am Sonntag, 8. März 2020, 23:32:50 CET schrieb Heiko Stuebner:

arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts line 33

Quoted 9 lines

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

The Odroid Advance Go is a handheld based on Rockchip's rk3326 soc with a DSI display and some handheld controls including an analog joystick connected to the saradc.

arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts new file +1 -0
+		 *      *** ODROIDGO2-Advance Switch layoout ***

It was pointed out to me that there is a typo here, layout instead of layoout ;-) .

I'll hopefully just remember to remove that when applying, if I don't need a v3 for other things.

Quoted 12 lines
arch/arm64/boot/dts/rockchip/rk3326-odroid-go2.dts new file +12 -0
+		 * |------------------------------------------------|
+		 * | sw15                                      sw16 |
+		 * |------------------------------------------------|
+		 * |     sw1      |-------------------|      sw8    |
+		 * |  sw3   sw4   |                   |   sw7   sw5 |
+		 * |     sw2      |    LCD Display    |      sw6    |
+		 * |              |                   |             |
+		 * |              |-------------------|             |
+		 * |         sw9 sw10   sw11 sw12   sw13 sw14       |
+		 * |------------------------------------------------|
+		 */
+
maintainer Acked-by on v2 2/3
#2 lore raw

Re: [PATCH v2 2/3] dt-bindings: Add binding for Hardkernel Odroid Go Advance

In reply to Heiko Stuebner
Quoted 7 lines · Heiko Stuebner

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[email protected]>

Add a compatible for the Odroid Go Advance from Hardkernel. The compatible used by the vendor already is odroid-go2, to distinguish it from the previous (microcontroller-based) Odroid Go, so we're keeping that, also to not cause unnecessary incompatibilites.

Quoted 5 lines
---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)