Skip to contentSkip to conversation

Add Powkiddy RGB20SX

PATCH Applied Chris Morgan 3 participants 5 messages Oct 1, 2024 – Oct 2, 2024

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

cover Add Powkiddy RGB20SX

From: Chris Morgan <[email protected]>

Add support for the Powkiddy RGB20SX handheld gaming console. The device is mostly identical to the RGB30 but with a few key differences. Namely, the size of the battery and presense of a function button differ from the RGB30; these changes cannot be detected at runtime and necessitate a distinct devicetree.

https://powkiddy.com/products/pre-sale-powkiddy-rgb20sx-handheld-game-console

Chris Morgan (2):
dt-bindings: arm: rockchip: Add Powkiddy RGB20SX
arm64: dts: rockchip: Add Powkiddy RGB20SX

 .../devicetree/bindings/arm/rockchip.yaml     |  1 +
 arch/arm64/boot/dts/rockchip/Makefile         |  1 +
 .../dts/rockchip/rk3566-powkiddy-rgb20sx.dts  | 89 +++++++++++++++++++
 3 files changed, 91 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb20sx.dts
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 dt-bindings: arm: rockchip: Add Powkiddy RGB20SX

From: Chris Morgan <[email protected]>

Add devicetree binding for Powkiddy RGB20SX.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +1 -0
index 687823e58c22..4fd6ce5697d0 100644
@@ -760,6 +760,7 @@ properties:
         items:
           - enum:
               - powkiddy,rgb10max3
+              - powkiddy,rgb20sx
               - powkiddy,rgb30
               - powkiddy,rk2023
               - powkiddy,x55
Signature · 1 line
2.43.0
#3 lore raw

PATCH 2/2 arm64: dts: rockchip: Add Powkiddy RGB20SX

In reply to Chris Morgan

From: Chris Morgan <[email protected]>

The Powkiddy RGB20SX is a portable game console extremely similar to the existing RGB30 console. The key differences from the RGB30 are as follows:

- Realtek RTW8723DS WiFi and Bluetooth.
- UART pads for debug console (UART2).
- A function button (ADC channel 0).
- A much larger battery (5000 mAh).

Otherwise, the device is identical to the RGB30, including the hard-coded value on ADC channel 1 used to identify the device at runtime.

---
 arch/arm64/boot/dts/rockchip/Makefile         |  1 +
 .../dts/rockchip/rk3566-powkiddy-rgb20sx.dts  | 89 +++++++++++++++++++
 2 files changed, 90 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb20sx.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index 09423070c992..8021e5190ece 100644
@@ -91,6 +91,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinenote-v1.2.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinetab2-v0.1.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-pinetab2-v2.0.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rgb10max3.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rgb20sx.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rgb30.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-rk2023.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-powkiddy-x55.dtb
arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb20sx.dts new file +89 -0

89 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer Applied
#4 lore raw
In reply to Chris Morgan
Quoted 9 lines · Chris Morgan

From: Chris Morgan <[email protected]>

Add support for the Powkiddy RGB20SX handheld gaming console. The device is mostly identical to the RGB30 but with a few key differences. Namely, the size of the battery and presense of a function button differ from the RGB30; these changes cannot be detected at runtime and necessitate a distinct devicetree.

[...]

Applied, thanks!

[1/2] dt-bindings: arm: rockchip: Add Powkiddy RGB20SX

      commit: fbfff2f64673b5bc7e937ec806db6bee31c5d32d
[2/2] arm64: dts: rockchip: Add Powkiddy RGB20SX
      commit: de7e071ad5e46515e2d930862820c65fa53dbe2a

Best regards,

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