Skip to content

Add Ariaboard Photonicat 2 support for rockchip64-6.18#9535

Open
HackingGate wants to merge 1 commit intoarmbian:mainfrom
HackingGate:photonicat2
Open

Add Ariaboard Photonicat 2 support for rockchip64-6.18#9535
HackingGate wants to merge 1 commit intoarmbian:mainfrom
HackingGate:photonicat2

Conversation

@HackingGate
Copy link
Member

Description

Add Ariaboard Photonicat 2 support for rockchip64-6.18

Board configuration:

  • config/boards/photonicat2.csc

Kernel config:

  • config/kernel/linux-rockchip64-current.config

Device tree:

  • patch/kernel/archive/rockchip64-6.18/dt/rk3576-photonicat2.dts
  • patch/kernel/archive/rockchip64-6.18/board-photonicat2.patch

RK3576 SoC patches (rockchip64-6.18):

0001 gpio: rockchip: set input direction when request irq
Author: Ye Zhang ye.zhang@rock-chips.com
Source: [PATCH v5 4/4] gpio: rockchip: Update the GPIO driver
https://lore.kernel.org/r/20241112015408.3139996-5-ye.zhang@rock-chips.com
Series: https://lore.kernel.org/r/20241112015408.3139996-1-ye.zhang@rock-chips.com

0002 mmc: dw_mmc-rockchip: add v2 tuning support
Author: Shawn Lin shawn.lin@rock-chips.com
Posted-by: Detlev Casanova detlev.casanova@collabora.com
Source: [PATCH v3 2/3] Add dw_mmc support for rk3576
https://lore.kernel.org/r/20240814223555.3695-3-detlev.casanova@collabora.com
Series: https://lore.kernel.org/r/20240814223555.3695-1-detlev.casanova@collabora.com

0003 pmdomain: rockchip: Add always on configuration
Author: Finley Xiao finley.xiao@rock-chips.com
Source: Rockchip BSP (not posted to lore.kernel.org)

0004 dt-bindings: pwm: Add a new binding for rockchip,rk3576-pwm
0005 mfd: Add Rockchip mfpwm driver
0006 pwm: Add rockchip PWMv4 driver
0007 counter: Add rockchip-pwm-capture driver
0008 arm64: dts: rockchip: add PWM nodes to RK3576 SoC dtsi
Author: Nicolas Frattaroli nicolas.frattaroli@collabora.com
Source: [PATCH v3 0/5] Add Rockchip RK3576 PWM Support Through MFPWM
https://lore.kernel.org/r/20251027-rk3576-pwm-v3-0-654a5cb1e3f8@collabora.com

0009 arm64: dts: rockchip: add dma-coherent for pcie and gmac of RK3576
Author: Shawn Lin shawn.lin@rock-chips.com
Source: https://lore.kernel.org/r/1764313762-78063-1-git-send-email-shawn.lin@rock-chips.com

U-Boot:

  • patch/u-boot/v2026.01/board_photonicat2/

BSP:

  • extensions/photonicat-pm.sh

How Has This Been Tested?

Tested on Photonicat 2 with the following functionality:

  • Boot from eMMC
  • Boot Linux from NVMe via U-Boot bootflow
  • HDMI video output
  • USB HID
  • Ethernet
  • Wi-Fi connection (both onboard Wi-Fi AIC8800 on USB and M.2 Wi-Fi QCNFA765 on PCI)
  • Onboard USB hub (onboard Wi-Fi AIC8800 and M.2 GSM modem recognized)
  • Mini LCD screen (display and brightness adjustment)
  • photonicat-pm power manager driver (battery status, hwmon sensors, graceful shutdown; fan device present)
  • aic8800 driver for onboard Wi-Fi

Build log

https://paste.next.armbian.com/budupijeze

Board configuration:
- config/boards/photonicat2.csc

Kernel config:
- config/kernel/linux-rockchip64-current.config

Device tree:
- patch/kernel/archive/rockchip64-6.18/dt/rk3576-photonicat2.dts
- patch/kernel/archive/rockchip64-6.18/board-photonicat2.patch

RK3576 SoC patches (rockchip64-6.18):

  0001 gpio: rockchip: set input direction when request irq
    Author: Ye Zhang <ye.zhang@rock-chips.com>
    Source: [PATCH v5 4/4] gpio: rockchip: Update the GPIO driver
    https://lore.kernel.org/r/20241112015408.3139996-5-ye.zhang@rock-chips.com
    Series: https://lore.kernel.org/r/20241112015408.3139996-1-ye.zhang@rock-chips.com

  0002 mmc: dw_mmc-rockchip: add v2 tuning support
    Author: Shawn Lin <shawn.lin@rock-chips.com>
    Posted-by: Detlev Casanova <detlev.casanova@collabora.com>
    Source: [PATCH v3 2/3] Add dw_mmc support for rk3576
    https://lore.kernel.org/r/20240814223555.3695-3-detlev.casanova@collabora.com
    Series: https://lore.kernel.org/r/20240814223555.3695-1-detlev.casanova@collabora.com

  0003 pmdomain: rockchip: Add always on configuration
    Author: Finley Xiao <finley.xiao@rock-chips.com>
    Source: Rockchip BSP (not posted to lore.kernel.org)

  0004 dt-bindings: pwm: Add a new binding for rockchip,rk3576-pwm
  0005 mfd: Add Rockchip mfpwm driver
  0006 pwm: Add rockchip PWMv4 driver
  0007 counter: Add rockchip-pwm-capture driver
  0008 arm64: dts: rockchip: add PWM nodes to RK3576 SoC dtsi
    Author: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
    Source: [PATCH v3 0/5] Add Rockchip RK3576 PWM Support Through MFPWM
    https://lore.kernel.org/r/20251027-rk3576-pwm-v3-0-654a5cb1e3f8@collabora.com

  0009 arm64: dts: rockchip: add dma-coherent for pcie and gmac of RK3576
    Author: Shawn Lin <shawn.lin@rock-chips.com>
    Source: https://lore.kernel.org/r/1764313762-78063-1-git-send-email-shawn.lin@rock-chips.com

U-Boot:
- patch/u-boot/v2026.01/board_photonicat2/

BSP:
- extensions/photonicat-pm.sh
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 15, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • Needs review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 387d9fc5-80aa-4d4e-9452-bd23367b9e41

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size/large PR with 250 lines or more 05 Milestone: Second quarter release labels Mar 15, 2026
@HackingGate HackingGate added Hardware Hardware related like kernel, U-Boot, ... and removed 05 Milestone: Second quarter release size/large PR with 250 lines or more labels Mar 15, 2026
@github-actions
Copy link
Contributor

🚫 Missing required board assets

This PR adds new board configuration(s). Required assets must already exist in github/armbian/armbian.github.io.
They are required by Armbian Imager to ensure all boards are displayed with proper images.

  • Board images: board-images/<board>.png (1920x1080 px transparent)
  • Vendor logos: board-vendor-logos/<vendor>-logo.png (512x512 px transparent)

Missing items

  • Board image missing for photonicat2

    • Expected: board-images/photonicat2.png
    • Fix: add the file to armbian/armbian.github.io (folder board-images/)
  • BOARD_VENDOR not found in config/boards/photonicat2.csc

    • Fix: add e.g. BOARD_VENDOR="radxa" (lowercase recommended)

Once the missing files are added (or a PR is opened in armbian/armbian.github.io), re-run this check.

@github-actions github-actions bot added Needs review Seeking for review Framework Framework components Patches Patches related to kernel, U-Boot, ... labels Mar 15, 2026
@HackingGate HackingGate removed Needs review Seeking for review Framework Framework components labels Mar 15, 2026
@EvilOlaf
Copy link
Member

I see a few things were changed from module to built-in. Is this necessary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hardware Hardware related like kernel, U-Boot, ... Patches Patches related to kernel, U-Boot, ...

Development

Successfully merging this pull request may close these issues.

2 participants