Skip to contentSkip to conversation

arm64: dts: rockchip: add core devicetree for rk3326

PATCH Applied Heiko Stuebner 1 participant 4 messages Apr 14, 2020 – Apr 19, 2020

Subsystems (2)
lore
Share & tools
lore

Heiko Stuebner

author maintainer
#0 lore raw

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

From: Heiko Stuebner <heiko.stuebner-SN7IsUiht6C/[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 v4 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.

---
changes in v3:
- add Rob's Ack

 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 715586dea9bb..d4a4045092df 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
#2 lore raw

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

In reply to Heiko Stuebner

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.

---
changes in v3:
- fix "layoout" typo in button diagram
- sorting of pinctrl entries
- drop unneeded sound-dai-cells from i2s1
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   | 560 ++++++++++++++++++
 2 files changed, 561 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 +560 -0

560 lines not on this page · raw message

Signature · 1 line
2.24.1
author maintainer Applied
#3 lore raw
In reply to Heiko Stuebner
Quoted 8 lines · Heiko Stuebner

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.

[...]

Applied, thanks!

[1/3] arm64: dts: rockchip: add core devicetree for rk3326

      commit: df07f7df7e5a61d06b21f89c4ab744fb4e4c2222
[2/3] dt-bindings: Add binding for Hardkernel Odroid Go Advance
      commit: 98412e1e57ea776b4581077a68fe6ed598bfba99
[3/3] arm64: dts: rockchip: add Odroid Advance Go
      commit: ce33988fb69828dfcb5825f9086d9dc2b37a9282

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>