From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Cc: "Fabio Estevam" <festevam@nabladev.com>,
"Jonas Karlman" <jonas@kwiboo.se>,
"Simon Glass" <sjg@chromium.org>,
"Albert Aribaud" <albert.u.boot@aribaud.net>,
"Alexander Feilke" <alexander.feilke@ew.tq-group.com>,
"Alexey Charkov" <alchark@flipper.net>,
"Alexey Charkov" <alchark@gmail.com>, "Andrew Davis" <afd@ti.com>,
"Anshul Dalal" <anshuld@ti.com>,
"Bastien Curutchet" <bastien.curutchet@bootlin.com>,
"Chris Morgan" <macromorgan@hotmail.com>,
"Chris Packham" <judge.packham@gmail.com>,
"Elaine Zhang" <zhangqing@rock-chips.com>,
"FUKAUMI Naoki" <naoki@radxa.com>,
"Finley Xiao" <finley.xiao@rock-chips.com>,
"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
"Hrushikesh Salunke" <h-salunke@ti.com>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Jeffy Chen" <jeffy.chen@rock-chips.com>,
"Johan Jonker" <jbx6244@gmail.com>,
"João Marcos Costa" <joaomarcos.costa@bootlin.com>,
"Kever Yang" <kever.yang@rock-chips.com>,
"Lukasz Majewski" <lukma@denx.de>,
"Mattijs Korpershoek" <mkorpershoek@kernel.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Niu Zhihong" <zhihong@nzhnb.com>, "Peng Fan" <peng.fan@nxp.com>,
"Peter Robinson" <pbrobinson@gmail.com>,
"Philipp Tomsich" <philipp.tomsich@vrull.eu>,
"Quentin Schulz" <quentin.schulz@cherry.de>,
"Richard Genoud" <richard.genoud@bootlin.com>,
"Svyatoslav Ryhel" <clamor95@gmail.com>,
"Tianling Shen" <cnsztl@gmail.com>,
"Tom Rini" <trini@konsulko.com>,
"Xuhui Lin" <xuhui.lin@rock-chips.com>,
"Ye Zhang" <ye.zhang@rock-chips.com>,
"huang lin" <hl@rock-chips.com>
Subject: [PATCH v3 00/15] rockchip: Add support for the RV1103B, RV1103 and RV1106
Date: Tue, 7 Jul 2026 09:30:58 -0600 [thread overview]
Message-ID: <20260707153135.2048115-1-sjg@chromium.org> (raw)
This series adds support for three small Rockchip camera SoCs and two
boards which use them.
The first eight patches are Fabio Estevam's series adding the RV1103B
and the Onion Omega4 board, updated here to address the review
comments on v2: the board patch is split into SoC and board patches,
the devicetree files move into the patches where they belong and the
pinctrl driver uses regmap_update_bits() throughout. All credit for
this work goes to Fabio. The devicetree concern raised in the v2
review is also resolved now: the devicetree files carried here are the
versions merged in Linux v7.1, verbatim, and can be dropped once the
next dts/upstream sync brings them in.
The remaining patches add the RV1106 and its RV1103 package variant,
following the same structure as the RV1103B patches, together with
the Luckfox Pico Mini B board. These SoCs have no mainline Linux
support yet, so their devicetrees are local for now. The clock and
pinctrl drivers are ported from the Rockchip vendor tree and are the
work of Elaine Zhang and Ye Zhang. The final patch makes the
maskrom-mode RAM-boot images work on 32-bit boards without OP-TEE,
which both of these boards rely on.
Tested on the Luckfox Pico Mini B: U-Boot runs from RAM over the USB
maskrom path and both the SPI NAND and a microSD card are usable. THe
board is running in my lab.
Changes in v3:
- Move the board devicetrees to the board patch and the SoC u-boot.dtsi
to the SoC patch (Jonas)
- Use the devicetree files as merged in Linux v7.1
- Use regmap_update_bits() in all the remaining places (Jonas)
- Align continuation lines with the open parenthesis (checkpatch)
- Use CONFIG_IS_ENABLED() to guard the set_parent operation, matching
clk_rk3588.c, since plain IS_ENABLED() needs the CONFIG_ prefix
- Guard the spi-nand checks with SPI_NAND_LOAD so that boards without
SPI NAND support do not grow in size
- New patch, split out from the board patch (Jonas)
- Include the SoC u-boot.dtsi here (Jonas)
- Match the pmu-grf compatible used by the devicetree merged in Linux
v7.1
- Split out the SoC support into its own patch (Jonas)
- Move the board devicetree files into this patch (Jonas)
- Add the board to the list in the Rockchip documentation
- Extend the MAINTAINERS entry to cover all the RV1103B files
- Use the board devicetree files as merged in Linux v7.1 and switch
the default devicetree to rv1103b-omega4-evb
Changes in v2:
- Use the devicetrees submitted to upstream Linux
- Use the original author from Rockchip's vendor U-Boot tree
- Use regmap_update_bits()
- Remove unneeded blank lines
- Remove unneeded logging functions
- Use the original author from Rockchip's vendor U-Boot tree
- Use RV1103B rather than RV1103, which is the correct SoC name
Elaine Zhang (1):
clk: rockchip: Add RV1103B clock driver
Fabio Estevam (5):
ARM: dts: Add the RV1103B devicetree files
rockchip: spl-boot-order: Add SPI NAND support
spl: Add SPI NAND support via MTD in SPL
rockchip: rv1103b: Add SoC support
omega4-rv1103b: Add the initial support
Simon Glass (7):
tools: rkcommon: Add RV1106 support
pinctrl: rockchip: Add RV1106 support
ARM: dts: Add the RV1103/RV1106 devicetree files
clk: rockchip: Add RV1106 clock driver
rockchip: rv1106: Add SoC support
luckfox-pico: Add the initial support
rockchip: Support legacy images when booting from RAM
Xuhui Lin (1):
tools: rkcommon: Add RV1103B support
Ye Zhang (1):
pinctrl: rockchip: Add RV1103B support
.../rv1103-luckfox-pico-mini-b-u-boot.dtsi | 10 +
arch/arm/dts/rv1103-luckfox-pico-mini-b.dts | 85 ++
arch/arm/dts/rv1103.dtsi | 16 +
arch/arm/dts/rv1103b-omega4-evb-u-boot.dtsi | 10 +
arch/arm/dts/rv1103b-omega4-evb.dts | 63 +
arch/arm/dts/rv1103b-omega4.dtsi | 147 ++
arch/arm/dts/rv1103b-pinctrl.dtsi | 816 ++++++++++
arch/arm/dts/rv1103b-u-boot.dtsi | 4 +
arch/arm/dts/rv1103b.dtsi | 239 +++
arch/arm/dts/rv1106-pinctrl.dtsi | 1102 ++++++++++++++
arch/arm/dts/rv1106-u-boot.dtsi | 4 +
arch/arm/dts/rv1106.dtsi | 328 ++++
.../include/asm/arch-rockchip/cru_rv1103b.h | 266 ++++
.../include/asm/arch-rockchip/cru_rv1106.h | 305 ++++
.../include/asm/arch-rockchip/grf_rv1103b.h | 31 +
arch/arm/include/asm/arch-rv1103b/boot0.h | 11 +
arch/arm/include/asm/arch-rv1106/boot0.h | 11 +
arch/arm/mach-rockchip/Kconfig | 28 +
arch/arm/mach-rockchip/Makefile | 2 +
arch/arm/mach-rockchip/rv1103b/Kconfig | 22 +
arch/arm/mach-rockchip/rv1103b/Makefile | 12 +
arch/arm/mach-rockchip/rv1103b/boot0.h | 5 +
arch/arm/mach-rockchip/rv1103b/clk_rv1103b.c | 32 +
arch/arm/mach-rockchip/rv1103b/rv1103b.c | 133 ++
.../mach-rockchip/rv1103b/syscon_rv1103b.c | 19 +
arch/arm/mach-rockchip/rv1106/Kconfig | 28 +
arch/arm/mach-rockchip/rv1106/Makefile | 12 +
arch/arm/mach-rockchip/rv1106/clk_rv1106.c | 31 +
arch/arm/mach-rockchip/rv1106/rv1106.c | 118 ++
arch/arm/mach-rockchip/rv1106/syscon_rv1106.c | 19 +
arch/arm/mach-rockchip/spl-boot-order.c | 12 +-
arch/arm/mach-rockchip/spl.c | 53 +-
board/luckfox/pico/Kconfig | 12 +
board/luckfox/pico/MAINTAINERS | 6 +
board/luckfox/pico/Makefile | 7 +
board/luckfox/pico/pico.c | 19 +
board/luckfox/pico/pico.env | 4 +
board/onion/omega4_rv1103b/Kconfig | 12 +
board/onion/omega4_rv1103b/MAINTAINERS | 15 +
board/onion/omega4_rv1103b/Makefile | 7 +
board/onion/omega4_rv1103b/omega4_rv1103b.c | 19 +
board/onion/omega4_rv1103b/omega4_rv1103b.env | 5 +
common/spl/Kconfig | 10 +-
common/spl/Makefile | 1 +
common/spl/spl_spi_nand.c | 82 +
configs/luckfox-pico-mini-b-rv1103_defconfig | 79 +
configs/omega4-rv1103b_defconfig | 82 +
doc/board/index.rst | 2 +
doc/board/luckfox/index.rst | 9 +
doc/board/luckfox/luckfox-pico.rst | 71 +
doc/board/onion/index.rst | 9 +
doc/board/onion/omega4-rv1103b.rst | 56 +
doc/board/rockchip/rockchip.rst | 7 +
drivers/clk/rockchip/Makefile | 2 +
drivers/clk/rockchip/clk_rv1103b.c | 1068 +++++++++++++
drivers/clk/rockchip/clk_rv1106.c | 1319 +++++++++++++++++
drivers/mtd/Makefile | 1 +
drivers/mtd/nand/Makefile | 13 +-
drivers/pinctrl/rockchip/Makefile | 2 +
drivers/pinctrl/rockchip/pinctrl-rv1103b.c | 402 +++++
drivers/pinctrl/rockchip/pinctrl-rv1106.c | 320 ++++
include/configs/luckfox_pico.h | 11 +
include/configs/omega4_rv1103b.h | 11 +
include/configs/rv1103b_common.h | 14 +
include/configs/rv1106_common.h | 13 +
.../dt-bindings/clock/rockchip,rv1103b-cru.h | 220 +++
include/dt-bindings/clock/rv1106-cru.h | 572 +++++++
tools/rkcommon.c | 2 +
68 files changed, 8436 insertions(+), 22 deletions(-)
create mode 100644 arch/arm/dts/rv1103-luckfox-pico-mini-b-u-boot.dtsi
create mode 100644 arch/arm/dts/rv1103-luckfox-pico-mini-b.dts
create mode 100644 arch/arm/dts/rv1103.dtsi
create mode 100644 arch/arm/dts/rv1103b-omega4-evb-u-boot.dtsi
create mode 100644 arch/arm/dts/rv1103b-omega4-evb.dts
create mode 100644 arch/arm/dts/rv1103b-omega4.dtsi
create mode 100644 arch/arm/dts/rv1103b-pinctrl.dtsi
create mode 100644 arch/arm/dts/rv1103b-u-boot.dtsi
create mode 100644 arch/arm/dts/rv1103b.dtsi
create mode 100644 arch/arm/dts/rv1106-pinctrl.dtsi
create mode 100644 arch/arm/dts/rv1106-u-boot.dtsi
create mode 100644 arch/arm/dts/rv1106.dtsi
create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rv1103b.h
create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rv1106.h
create mode 100644 arch/arm/include/asm/arch-rockchip/grf_rv1103b.h
create mode 100644 arch/arm/include/asm/arch-rv1103b/boot0.h
create mode 100644 arch/arm/include/asm/arch-rv1106/boot0.h
create mode 100644 arch/arm/mach-rockchip/rv1103b/Kconfig
create mode 100644 arch/arm/mach-rockchip/rv1103b/Makefile
create mode 100644 arch/arm/mach-rockchip/rv1103b/boot0.h
create mode 100644 arch/arm/mach-rockchip/rv1103b/clk_rv1103b.c
create mode 100644 arch/arm/mach-rockchip/rv1103b/rv1103b.c
create mode 100644 arch/arm/mach-rockchip/rv1103b/syscon_rv1103b.c
create mode 100644 arch/arm/mach-rockchip/rv1106/Kconfig
create mode 100644 arch/arm/mach-rockchip/rv1106/Makefile
create mode 100644 arch/arm/mach-rockchip/rv1106/clk_rv1106.c
create mode 100644 arch/arm/mach-rockchip/rv1106/rv1106.c
create mode 100644 arch/arm/mach-rockchip/rv1106/syscon_rv1106.c
create mode 100644 board/luckfox/pico/Kconfig
create mode 100644 board/luckfox/pico/MAINTAINERS
create mode 100644 board/luckfox/pico/Makefile
create mode 100644 board/luckfox/pico/pico.c
create mode 100644 board/luckfox/pico/pico.env
create mode 100644 board/onion/omega4_rv1103b/Kconfig
create mode 100644 board/onion/omega4_rv1103b/MAINTAINERS
create mode 100644 board/onion/omega4_rv1103b/Makefile
create mode 100644 board/onion/omega4_rv1103b/omega4_rv1103b.c
create mode 100644 board/onion/omega4_rv1103b/omega4_rv1103b.env
create mode 100644 common/spl/spl_spi_nand.c
create mode 100644 configs/luckfox-pico-mini-b-rv1103_defconfig
create mode 100644 configs/omega4-rv1103b_defconfig
create mode 100644 doc/board/luckfox/index.rst
create mode 100644 doc/board/luckfox/luckfox-pico.rst
create mode 100644 doc/board/onion/index.rst
create mode 100644 doc/board/onion/omega4-rv1103b.rst
create mode 100644 drivers/clk/rockchip/clk_rv1103b.c
create mode 100644 drivers/clk/rockchip/clk_rv1106.c
create mode 100644 drivers/pinctrl/rockchip/pinctrl-rv1103b.c
create mode 100644 drivers/pinctrl/rockchip/pinctrl-rv1106.c
create mode 100644 include/configs/luckfox_pico.h
create mode 100644 include/configs/omega4_rv1103b.h
create mode 100644 include/configs/rv1103b_common.h
create mode 100644 include/configs/rv1106_common.h
create mode 100644 include/dt-bindings/clock/rockchip,rv1103b-cru.h
create mode 100644 include/dt-bindings/clock/rv1106-cru.h
---
base-commit: ee5d46b45ec0c63f8f9dd1e816e0dac3452ccc3d
branch: rocka-us3
--
2.43.0
next reply other threads:[~2026-07-07 16:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 15:30 Simon Glass [this message]
2026-07-07 15:30 ` [PATCH v3 01/15] ARM: dts: Add the RV1103B devicetree files Simon Glass
2026-07-07 15:31 ` [PATCH v3 02/15] pinctrl: rockchip: Add RV1103B support Simon Glass
2026-07-07 15:31 ` [PATCH v3 03/15] clk: rockchip: Add RV1103B clock driver Simon Glass
2026-07-07 15:31 ` [PATCH v3 04/15] tools: rkcommon: Add RV1103B support Simon Glass
2026-07-07 15:31 ` [PATCH v3 05/15] rockchip: spl-boot-order: Add SPI NAND support Simon Glass
2026-07-07 15:31 ` [PATCH v3 06/15] spl: Add SPI NAND support via MTD in SPL Simon Glass
2026-07-07 15:31 ` [PATCH v3 07/15] rockchip: rv1103b: Add SoC support Simon Glass
2026-07-07 15:31 ` [PATCH v3 08/15] omega4-rv1103b: Add the initial support Simon Glass
2026-07-07 15:31 ` [PATCH v3 09/15] tools: rkcommon: Add RV1106 support Simon Glass
2026-07-07 15:31 ` [PATCH v3 10/15] pinctrl: rockchip: " Simon Glass
2026-07-07 15:31 ` [PATCH v3 11/15] ARM: dts: Add the RV1103/RV1106 devicetree files Simon Glass
2026-07-07 15:31 ` [PATCH v3 12/15] clk: rockchip: Add RV1106 clock driver Simon Glass
2026-07-07 15:31 ` [PATCH v3 13/15] rockchip: rv1106: Add SoC support Simon Glass
2026-07-07 15:31 ` [PATCH v3 14/15] luckfox-pico: Add the initial support Simon Glass
2026-07-07 15:31 ` [PATCH v3 15/15] rockchip: Support legacy images when booting from RAM Simon Glass
2026-07-07 15:35 ` [PATCH v3 00/15] rockchip: Add support for the RV1103B, RV1103 and RV1106 Tom Rini
2026-07-08 22:36 ` Simon Glass
2026-07-09 0:38 ` Tom Rini
2026-07-09 1:27 ` Simon Glass
2026-07-09 1:40 ` Tom Rini
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=20260707153135.2048115-1-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=afd@ti.com \
--cc=albert.u.boot@aribaud.net \
--cc=alchark@flipper.net \
--cc=alchark@gmail.com \
--cc=alexander.feilke@ew.tq-group.com \
--cc=anshuld@ti.com \
--cc=bastien.curutchet@bootlin.com \
--cc=clamor95@gmail.com \
--cc=cnsztl@gmail.com \
--cc=festevam@nabladev.com \
--cc=finley.xiao@rock-chips.com \
--cc=h-salunke@ti.com \
--cc=hl@rock-chips.com \
--cc=ilias.apalodimas@linaro.org \
--cc=jbx6244@gmail.com \
--cc=jeffy.chen@rock-chips.com \
--cc=joaomarcos.costa@bootlin.com \
--cc=jonas@kwiboo.se \
--cc=judge.packham@gmail.com \
--cc=kever.yang@rock-chips.com \
--cc=lukma@denx.de \
--cc=macromorgan@hotmail.com \
--cc=mkorpershoek@kernel.org \
--cc=naoki@radxa.com \
--cc=neil.armstrong@linaro.org \
--cc=pbrobinson@gmail.com \
--cc=peng.fan@nxp.com \
--cc=philipp.tomsich@vrull.eu \
--cc=quentin.schulz@cherry.de \
--cc=richard.genoud@bootlin.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xuhui.lin@rock-chips.com \
--cc=xypron.glpk@gmx.de \
--cc=ye.zhang@rock-chips.com \
--cc=zhangqing@rock-chips.com \
--cc=zhihong@nzhnb.com \
/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