linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Clark <inindev@gmail.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Heiko Stuebner <heiko@sntech.de>
Cc: Quentin Schulz <quentin.schulz@cherry.de>,
	Jonas Karlman <jonas@kwiboo.se>,
	Nicolas Frattaroli <nicolas.frattaroli@collabora.com>,
	Andrew Lunn <andrew@lunn.ch>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
	John Clark <inindev@gmail.com>
Subject: [PATCH v5 0/3] [PATCH v5 0/3] Add device tree support for Luckfox Omni3576 and Core3576
Date: Thu, 15 May 2025 20:27:10 -0400	[thread overview]
Message-ID: <20250516002713.145026-1-inindev@gmail.com> (raw)

Subject: [PATCH v5 0/3] Add device tree support for Luckfox Omni3576 and Core3576

This series adds device tree support for the Luckfox Omni3576 Carrier
Board with the Core3576 Module, powered by the Rockchip RK3576 SoC
(four Cortex-A72 cores, four Cortex-A53 cores, Mali-G52 MC3 GPU). It
enables essential functionality for booting Linux and basic connectivity,
with plans for future support of peripherals like WiFi, MIPI-DSI, HDMI,
and Ethernet.

Tested features (on Linux 6.15-rc4):
 - UART: Serial console operational
 - SD card: Mounts and reads/writes successfully
 - PCIe: NVMe SSD detected, mounted, and fully functional
 - USB 2.0: Host ports operational
 - RTC: Timekeeping and wake-up tested
 - LED: Heartbeat trigger functional
 - eMMC: Enabled in device tree, not populated on tested hardware

The series includes three patches:
 1. dt-bindings: vendor-prefixes: Add Luckfox vendor prefix
 2. dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
 3. arm64: dts: rockchip: Add Luckfox Omni3576 board support

The device tree is covered by the existing ROCKCHIP ARCHITECTURE entry in
MAINTAINERS. I am aware of ongoing RK3576 upstreaming efforts (e.g., by
Collabora) and welcome feedback or collaboration to align with mainline
driver development.

Changes in v5:
 - Patch 1: Moved luckfox vendor prefix to correct alphabetical position
   between lsi and lunzn (Quentin Schulz, v4).
   Acked-by: Conor Dooley <conor.dooley@microchip.com>
   Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 - Patch 2: Unchanged from v4.
   Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
   Acked-by: Rob Herring (Arm) <robh@kernel.org>
 - Patch 3:
   - Updated copyright to include John Clark (Quentin Schulz, v4).
   - Reordered top-level nodes alphabetically per DTS coding style
     (Quentin Schulz, v4).
   - Reordered CPU node overrides to match alphabetical order (cpu_bX
     before cpu_lX) (Quentin Schulz, v4).
   - Moved mmc0 alias to rk3576-luckfox-core3576.dtsi for module-level
     eMMC; kept mmc1 in rk3576-luckfox-omni3576.dts for board-specific
     SD (Quentin Schulz, v4).
   - Added regulator-state-mem to top-level regulator-fixed nodes with
     blank lines, omitting deprecated regulator-suspend-microvolt; PMIC
     regulators retain regulator-suspend-microvolt to preserve Luckfox
     SDK behavior, with a future patch planned after RK806 driver
     validation (Quentin Schulz, v4).
   - Removed redundant max-frequency from &sdmmc, as it matches
     rk3576.dtsi (Quentin Schulz, v4).
   - Added vmmc-supply and vqmmc-supply to &sdhci to support eMMC (Jonas
     Karlman, v2).
   - Confirmed blank line style compliance across DTSI and DTS (Jonas
     Karlman, v2).

Changes in v4:
 - Patch 1: Unchanged, Acked-by: Conor Dooley.
 - Patch 2: Fixed binding for Omni3576 to use correct enum syntax (enum:
   [luckfox,omni3576]), added luckfox,core3576 to compatible string
   (Heiko Stuebner, v3).
 - Patch 3: Updated compatible string in rk3576-luckfox-omni3576.dts to
   match revised binding.

Changes in v3:
 - Split device tree into rk3576-luckfox-core3576.dtsi and
   rk3576-luckfox-omni3576.dts for modularity (Jonas Karlman, v2).
 - Patch 3:
   - Added pinctrl for green LED GPIO (Jonas Karlman, v2).
   - Reordered regulator node properties for consistency (Jonas
     Karlman, v2).
   - Used gpios instead of deprecated gpio in regulators (Jonas
     Karlman, v2).
   - Removed vendor-specific pmic-power-off pinctrl and pwrkey from
     RK806 PMIC (Jonas Karlman, v2).
   - Removed no-mmc from &sdmmc to enable MMC support (Jonas Karlman, v2).
   - Removed Ethernet nodes (gmac0/gmac1) due to unreliable PHY driver
     (Andrew Lunn, v2).
   - Addressed DTB warnings within scope (Rob Herring, v2).
   - Added RNG node per Nicolas Frattaroli’s patch (v3).

Changes in v2:
 - Enabled HDMI node, untested due to driver issues (Heiko Stuebner,
   Nicolas Frattaroli, v1).
 - Enabled Ethernet 1 node, removed in v3 (Heiko Stuebner, v1).
 - Clarified eMMC enabled but unpopulated (Heiko Stuebner, v1).
 - Patch 1: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 - Patch 2: Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Signed-off-by: John Clark <inindev@gmail.com>
---
John Clark (3):
 dt-bindings: vendor-prefixes: Add luckfox prefix
 dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings
 arm64: dts: rockchip: Add Luckfox Omni3576 Board support

 .../devicetree/bindings/arm/rockchip.yaml     |   7 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/arm64/boot/dts/rockchip/Makefile         |   1 +
 .../dts/rockchip/rk3576-luckfox-core3576.dtsi | 748 ++++++++++++++++++
 .../dts/rockchip/rk3576-luckfox-omni3576.dts  |  50 ++
 5 files changed, 808 insertions(+)
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-core3576.dtsi
 create mode 100644 arch/arm64/boot/dts/rockchip/rk3576-luckfox-omni3576.dts

-- 
2.39.5

             reply	other threads:[~2025-05-16  0:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-16  0:27 John Clark [this message]
2025-05-16  0:27 ` [PATCH v5 1/3] dt-bindings: vendor-prefixes: Add luckfox prefix John Clark
2025-05-16  7:49   ` Quentin Schulz
2025-05-16  0:27 ` [PATCH v5 2/3] dt-bindings: arm: rockchip: Add Luckfox Omni3576 and Core3576 bindings John Clark
2025-05-16  0:27 ` [PATCH v5 3/3] arm64: dts: rockchip: Add Luckfox Omni3576 Board support John Clark
2025-06-09 11:11 ` [PATCH v5 0/3] [PATCH v5 0/3] Add device tree support for Luckfox Omni3576 and Core3576 Heiko Stuebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250516002713.145026-1-inindev@gmail.com \
    --to=inindev@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=nicolas.frattaroli@collabora.com \
    --cc=quentin.schulz@cherry.de \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).