Skip to contentSkip to conversation

arm64: dts: rockchip: add Vicharak Axon board support

PATCH Superseded Hrushiraj Gandhi 2 participants 5 messages Jun 1

Subsystems (2)

v5 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

v5 cover arm64: dts: rockchip: add Vicharak Axon board support

This series adds initial device tree support for the Vicharak Axon single-board computer, which is based on the Rockchip RK3588 SoC.

The Vicharak Axon is a feature-rich SBC targeting developer and embedded use cases. It ships with:

- Rockchip RK3588 (4x Cortex-A76 + 4x Cortex-A55)
- RK806 PMIC providing all SoC power domains
- eMMC 5.1 (on-board) and microSD slot
- Gigabit Ethernet via RGMII (RTL8211F)
- Dual HDMI 2.1 output and one HDMI 2.0 input (receiver)
- PCIe 3.0 x4 and two PCIe 2.0 slots
- SATA 3.0
- USB 2.0 host ports (EHCI/OHCI)
- NXP PCA9554 I/O expander for status LEDs
- Haoyu HYM8563 RTC

Changes since v4:
- Re-enabled combphy2_psu which is a required PHY for pcie2x1l1. (It was incorrectly removed in v4 during the unused PHY cleanup).
- Fixed alphabetical sorting of rk3588-vicharak-axon.dtb in the Makefile.

Changes since v3:
- Completely removed sdio_pwrseq and wireless-wlan pinctrl nodes as Wi-Fi/SDIO was already removed.
- Removed unused u2phy0, u2phy0_otg, u2phy1, u2phy1_otg nodes to fix orphaned PHY warnings, since the USB 2.0 host ports utilize u2phy2 and u2phy3.

Changes since v2:
- Split the dt-bindings patch into two separate patches: one for the vendor prefix and one for the board binding as requested by Heiko.
- Removed invalid enable-gpios property from HDMI nodes (ignored by dw-hdmi-qp binding)
- Fixed copy-paste error in rk806_dvs1_null pinctrl node (gpio_pwrctrl2 -> gpio_pwrctrl1)

Changes since v1:
- Renamed the dts file from rk3588-axon.dts to rk3588-vicharak-axon.dts
- Added binding patches for the board (rockchip.yaml) and vendor (vendor-prefixes.yaml)
- Renamed regulator nodes to the standard regulator-name pattern
- Removed mem-supply properties and phandles from cpu nodes (vendor-kernel specific)
- Fixed pcie20_avdd0v85 vin-supply mismatch
- Removed obsolete regulator-compatible property
- Removed invalid regulator-init-microvolt property
- Removed dangling enable-active-high properties from fixed regulators
- Cleaned up unneeded i2c3 / es8388 nodes
- Added missing vpcie3v3-supply properties to PCIe nodes

Hrushiraj Gandhi (3):
dt-bindings: vendor-prefixes: add vicharak
dt-bindings: arm: rockchip: add Vicharak Axon board
arm64: dts: rockchip: add Vicharak Axon board

 .../devicetree/bindings/arm/rockchip.yaml     |   5 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588-vicharak-axon.dts     | 983 ++++++++++++++++++
 4 files changed, 991 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts
Signature · 1 line
2.47.3
#1 lore raw

PATCH v5 1/3 dt-bindings: vendor-prefixes: add vicharak

Add the vendor prefix for Vicharak Computers Pvt. Ltd.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 28784d66ae7b..504a691a33b9 100644
@@ -1791,6 +1791,8 @@ patternProperties:
     description: VIA Technologies, Inc.
   "^vialab,.*":
     description: VIA Labs, Inc.
+  "^vicharak,.*":
+    description: Vicharak Computers Pvt. Ltd.
   "^vicor,.*":
     description: Vicor Corporation
   "^videostrong,.*":
Signature · 1 line
2.47.3
#2 lore raw

PATCH v5 2/3 dt-bindings: arm: rockchip: add Vicharak Axon board

In reply to Hrushiraj Gandhi

Add the device tree binding for the Vicharak Axon single-board computer based on the Rockchip RK3588 SoC.

---
 Documentation/devicetree/bindings/arm/rockchip.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +5 -0
index 1a9dde18626d..b023d4cc9842 100644
@@ -1306,6 +1306,11 @@ properties:
           - const: turing,rk1
           - const: rockchip,rk3588
 
+      - description: Vicharak Axon
+        items:
+          - const: vicharak,axon
+          - const: rockchip,rk3588
+
       - description: WolfVision PF5 mainboard
         items:
           - const: wolfvision,rk3568-pf5
Signature · 1 line
2.47.3
#3 lore raw

PATCH v5 3/3 arm64: dts: rockchip: add Vicharak Axon board

In reply to Hrushiraj Gandhi

Add initial support for the Vicharak Axon single-board computer based on the Rockchip RK3588 SoC.

The board supports:

- eMMC storage
- microSD card
- Gigabit Ethernet
- HDMI output (dual HDMI)
- HDMI input
- USB 2.0 host ports
- PCIe 2.0 slots
- PCIe 3.0 x4 slot
- SATA
- RTC
- Status LEDs

The board uses an RK806 PMIC and provides the regulators required by the RK3588 SoC.

---
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3588-vicharak-axon.dts     | 983 ++++++++++++++++++
 2 files changed, 984 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
index cb55c6b70d0e..b10c6d80c5cc 100644
@@ -211,6 +211,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-tiger-haikou.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-tiger-haikou-video-demo.dtbo
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-toybrick-x0.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-turing-rk1.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588-vicharak-axon.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-coolpi-4b.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-evb1-v10.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-gameforce-ace.dtb
arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +983 -0

983 lines not on this page · raw message

Signature · 1 line
2.47.3
#4 lore raw

Re: [PATCH v5 3/3] arm64: dts: rockchip: add Vicharak Axon board

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] HDMI sound cards are enabled without enabling their required I2S CPU DAIs, causing permanent…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] HDMI sound cards are enabled without enabling their required I2S CPU DAIs, causing permanent probe deferral. --

commit ca10e83c8d79d810a60f06ac2d9b83eaded46a17
Author: Hrushiraj Gandhi <[email protected]>

arm64: dts: rockchip: add Vicharak Axon board

Add initial support for the Vicharak Axon single-board computer based on the Rockchip RK3588 SoC.

Quoted 5 lines
arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +0 -0
new file mode 100644
index 0000000000000..f0ba75a750e8e

[ ... ]

arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts

Quoted 3 lines

+&hdmi0_sound {

arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +2 -0
+	status = "okay";
+};

[Severity: Medium]
Will enabling hdmi0_sound without enabling its required I2S CPU DAI (i2s5_8ch) cause permanent probe deferral?

The base dtsi files set status = "disabled" for this I2S controller. If it is not enabled in this board DTS, won't the simple-audio-card driver indefinitely defer probing while waiting for it to be registered as an ASoC component?

[ ... ]

arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts

Quoted 3 lines

+&hdmi1_sound {

arch/arm64/boot/dts/rockchip/rk3588-vicharak-axon.dts new file +2 -0
+	status = "okay";
+};

[Severity: Medium]
Similarly, will hdmi1_sound also fail to probe and indefinitely defer since its required I2S controller (i2s6_8ch) is left disabled?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3