* [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106
@ 2026-08-10 12:10 Vladislav Leonov
2026-08-10 12:11 ` [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible Vladislav Leonov
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Vladislav Leonov @ 2026-08-10 12:10 UTC (permalink / raw)
To: linux-rockchip
Cc: linux-arm-kernel, Simon Glass, linux-clk, devicetree,
linux-kernel, Vladislav Leonov, Alexandre Torgue, Andi Shyti,
Andrew Lunn, Aurelien Jarno, Brian Masney, Conor Dooley,
Daniel Golle, David S. Miller, David Wu, Eric Dumazet,
Greg Kroah-Hartman, Heiko Stuebner, Herbert Xu, Jakub Kicinski,
Krzysztof Kozlowski, Mark Brown, Maxime Chevallier,
Maxime Coquelin, Michael Turquette, Neil Armstrong,
Nicolas Frattaroli, Olivia Mackall, Paolo Abeni, Philipp Zabel,
Rob Herring, Stephen Boyd, Uwe Kleine-König, Vinod Koul,
linux-crypto, linux-i2c, linux-phy, linux-pwm, linux-spi,
linux-stm32, linux-usb, netdev
Basic support for the Rockchip RV1106/RV1103 SoCs currently under review.
This series builds on top of that and enables the peripherals needed to
bring up a board beyond a serial console:
- CRU reset controller support (dt-bindings + clk driver), needed
by most of the other peripherals below.
- Ethernet (GMAC) via dwmac-rk.
- USB2 PHY and USB3-OTG (DWC3).
- I2C (rk3x).
- DMA (PL330) + support DMA for the UART nodes.
- SPI, including a new SCLK_IN_SPI1 clock gate.
- RNG.
- SDMMC1.
- A dts-only quirk (arm,cpu-registers-not-fw-configured) needed on
the ARM timer node when booting without a secure firmware that
pre-configures the CPU timer registers.
- PWM.
Each new dt-binding is added ahead of the driver and dts nodes that
depend on it, so the series bisects cleanly.
This series depends on:
- "Add support for the Rockchip RV1106 and RV1103" (v3)
https://lore.kernel.org/all/20260729133609.3465563-1-sjg@chromium.org
- "pinctrl: Add support for the Rockchip RV1106" (v3)
https://lore.kernel.org/all/20260729132736.3807082-1-sjg@chromium.org
Testing: boot-tested on custom RV1106 board, with every peripheral
touched by this series: reset/CRU, Ethernet, USB2 PHY/USB3 DWC3,
I2C, DMA+UART, SPI, RNG, SDMMC1 and PWM - exercised and confirmed working.
Vladislav Leonov (25):
dt-bindings: reset: Add RV1106 CRU reset definitions
clk: rockchip: Add reset controller support for RV1106
ARM: dts: rockchip: Add reset bindings to RV1106
dt-bindings: net: rockchip-dwmac: add RV1106 compatible
net: ethernet: stmicro: stmmac: dwmac-rk: Add RV1106 support
ARM: dts: rockchip: Add Ethernet GMAC node for RV1106
dt-bindings: phy: rockchip,inno-usb2phy: Add RV1106 compatible
phy: rockchip: inno-usb2: Add support for RV1106
dt-bindings: usb: rockchip,dwc3: add RV1106 SoC support
ARM: dts: rockchip: Add USB2 PHY and USB3-OTG (DWC3) nodes for RV1106
dt-bindings: i2c: rk3x: Add RV1106 compatible
ARM: dts: rockchip: Add I2C nodes for RV1106
ARM: dts: rockchip: Add DMAC node for RV1106
ARM: dts: rockchip: Add DMA support to UART nodes
dt-bindings: clock: rockchip: Add SCLK_IN_SPI1 for RV1106
clk: rockchip: Add SCLK_IN_SPI1 gate for RV1106
dt-bindings: spi: rockchip: Add RV1106 compatible
spi: rockchip: Add support for RV1106
ARM: dts: rockchip: Add SPI nodes for RV1106
dt-bindings: rng: rockchip: Add RV1106 compatible
ARM: dts: rockchip: Add RNG node for RV1106
ARM: dts: rockchip: Add SDMMC1 node for RV1106
ARM: dts: rockchip: add arm,cpu-registers-not-fw-configured to RV1106
timer node
dt-bindings: pwm: rockchip: Add RV1106 compatible
ARM: dts: rockchip: Add PWM nodes for RV1106
.../devicetree/bindings/i2c/i2c-rk3x.yaml | 1 +
.../bindings/net/rockchip-dwmac.yaml | 2 +
.../bindings/phy/rockchip,inno-usb2phy.yaml | 9 +-
.../devicetree/bindings/pwm/pwm-rockchip.yaml | 8 +
.../bindings/rng/rockchip,rk3588-rng.yaml | 11 +-
.../devicetree/bindings/spi/spi-rockchip.yaml | 5 +
.../bindings/usb/rockchip,dwc3.yaml | 35 +-
arch/arm/boot/dts/rockchip/rv1106.dtsi | 426 ++++++++++++++++++
drivers/clk/rockchip/Makefile | 2 +-
drivers/clk/rockchip/clk-rv1106.c | 4 +
drivers/clk/rockchip/clk.h | 1 +
drivers/clk/rockchip/rst-rv1106.c | 340 ++++++++++++++
.../net/ethernet/stmicro/stmmac/dwmac-rk.c | 55 +++
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 76 ++++
drivers/spi/spi-rockchip.c | 1 +
.../dt-bindings/clock/rockchip,rv1106-cru.h | 2 +
.../dt-bindings/reset/rockchip,rv1106-cru.h | 305 +++++++++++++
17 files changed, 1272 insertions(+), 11 deletions(-)
create mode 100644 drivers/clk/rockchip/rst-rv1106.c
create mode 100644 include/dt-bindings/reset/rockchip,rv1106-cru.h
---
base-commit: ac414f5eda0814030636177593400acdacfe5e1e
branch: rv1106
--
2.47.3
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible
2026-08-10 12:10 [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106 Vladislav Leonov
@ 2026-08-10 12:11 ` Vladislav Leonov
2026-08-10 12:25 ` Mark Brown
2026-08-10 12:11 ` [PATCH 18/25] spi: rockchip: Add support for RV1106 Vladislav Leonov
2026-08-10 18:35 ` [PATCH 00/25] ARM: rockchip: Add peripheral " Jakub Kicinski
2 siblings, 1 reply; 8+ messages in thread
From: Vladislav Leonov @ 2026-08-10 12:11 UTC (permalink / raw)
To: linux-rockchip
Cc: linux-arm-kernel, Simon Glass, linux-clk, devicetree,
linux-kernel, Vladislav Leonov, Conor Dooley, Heiko Stuebner,
Krzysztof Kozlowski, Mark Brown, Rob Herring, linux-spi
The RV1106 SPI controller is compatible with the one found on RK3066,
so add the "rockchip,rv1106-spi" compatible to the list of variants
that fall back to "rockchip,rk3066-spi".
The RV1106 SPI controller also has an additional external slave clock
input (sclk_in), so extend clocks/clock-names with a third,
description/const entry for it.
Signed-off-by: Vladislav Leonov <vlad@zlab.su>
---
Documentation/devicetree/bindings/spi/spi-rockchip.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
index ce6762c92fda..159111d143f2 100644
--- a/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-rockchip.yaml
@@ -40,6 +40,7 @@ properties:
- rockchip,rk3568-spi
- rockchip,rk3576-spi
- rockchip,rk3588-spi
+ - rockchip,rv1106-spi
- rockchip,rv1126-spi
- const: rockchip,rk3066-spi
@@ -50,14 +51,18 @@ properties:
maxItems: 1
clocks:
+ minItems: 2
items:
- description: transfer-clock
- description: peripheral clock
+ - description: slave clock
clock-names:
+ minItems: 2
items:
- const: spiclk
- const: apb_pclk
+ - const: sclk_in
dmas:
items:
--
2.47.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible
2026-08-10 12:11 ` [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible Vladislav Leonov
@ 2026-08-10 12:25 ` Mark Brown
0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2026-08-10 12:25 UTC (permalink / raw)
To: Vladislav Leonov
Cc: linux-rockchip, linux-arm-kernel, Simon Glass, linux-clk,
devicetree, linux-kernel, Conor Dooley, Heiko Stuebner,
Krzysztof Kozlowski, Rob Herring, linux-spi
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
On Mon, Aug 10, 2026 at 03:11:08PM +0300, Vladislav Leonov wrote:
> The RV1106 SPI controller is compatible with the one found on RK3066,
> so add the "rockchip,rv1106-spi" compatible to the list of variants
> that fall back to "rockchip,rk3066-spi".
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 18/25] spi: rockchip: Add support for RV1106
2026-08-10 12:10 [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106 Vladislav Leonov
2026-08-10 12:11 ` [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible Vladislav Leonov
@ 2026-08-10 12:11 ` Vladislav Leonov
2026-08-10 18:35 ` [PATCH 00/25] ARM: rockchip: Add peripheral " Jakub Kicinski
2 siblings, 0 replies; 8+ messages in thread
From: Vladislav Leonov @ 2026-08-10 12:11 UTC (permalink / raw)
To: linux-rockchip
Cc: linux-arm-kernel, Simon Glass, linux-clk, devicetree,
linux-kernel, Vladislav Leonov, Heiko Stuebner, Mark Brown,
linux-spi
Add the "rockchip,rv1106-spi" compatible to the match table. No driver
changes are needed beyond that, since the controller behaves like the
other Rockchip variants already handled by the driver.
Signed-off-by: Vladislav Leonov <vlad@zlab.su>
---
drivers/spi/spi-rockchip.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c
index 231fbcf0e7aa..447e6ff47c53 100644
--- a/drivers/spi/spi-rockchip.c
+++ b/drivers/spi/spi-rockchip.c
@@ -1021,6 +1021,7 @@ static const struct of_device_id rockchip_spi_dt_match[] = {
{ .compatible = "rockchip,rk3328-spi", },
{ .compatible = "rockchip,rk3368-spi", },
{ .compatible = "rockchip,rk3399-spi", },
+ { .compatible = "rockchip,rv1106-spi", },
{ .compatible = "rockchip,rv1108-spi", },
{ .compatible = "rockchip,rv1126-spi", },
{ },
--
2.47.3
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106
2026-08-10 12:10 [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106 Vladislav Leonov
2026-08-10 12:11 ` [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible Vladislav Leonov
2026-08-10 12:11 ` [PATCH 18/25] spi: rockchip: Add support for RV1106 Vladislav Leonov
@ 2026-08-10 18:35 ` Jakub Kicinski
2026-08-11 5:43 ` Uwe Kleine-König
2 siblings, 1 reply; 8+ messages in thread
From: Jakub Kicinski @ 2026-08-10 18:35 UTC (permalink / raw)
To: Vladislav Leonov
Cc: linux-rockchip, linux-arm-kernel, Simon Glass, linux-clk,
devicetree, linux-kernel, Alexandre Torgue, Andi Shyti,
Andrew Lunn, Aurelien Jarno, Brian Masney, Conor Dooley,
Daniel Golle, David S. Miller, David Wu, Eric Dumazet,
Greg Kroah-Hartman, Heiko Stuebner, Herbert Xu,
Krzysztof Kozlowski, Mark Brown, Maxime Chevallier,
Maxime Coquelin, Michael Turquette, Neil Armstrong,
Nicolas Frattaroli, Olivia Mackall, Paolo Abeni, Philipp Zabel,
Rob Herring, Stephen Boyd, Uwe Kleine-König, Vinod Koul,
linux-crypto, linux-i2c, linux-phy, linux-pwm, linux-spi,
linux-stm32, linux-usb, netdev
On Mon, 10 Aug 2026 15:10:51 +0300 Vladislav Leonov wrote:
> Basic support for the Rockchip RV1106/RV1103 SoCs currently under review.
> This series builds on top of that and enables the peripherals needed to
> bring up a board beyond a serial console:
Don't expect maintainers to dig out patches for their subsystems
from a big series. This is not how upstream development works.
Repost 4+5 as a separate series to networking..
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106
2026-08-10 18:35 ` [PATCH 00/25] ARM: rockchip: Add peripheral " Jakub Kicinski
@ 2026-08-11 5:43 ` Uwe Kleine-König
2026-08-11 15:53 ` Jakub Kicinski
2026-08-11 16:06 ` Mark Brown
0 siblings, 2 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2026-08-11 5:43 UTC (permalink / raw)
To: Jakub Kicinski
Cc: Vladislav Leonov, linux-rockchip, linux-arm-kernel, Simon Glass,
linux-clk, devicetree, linux-kernel, Alexandre Torgue, Andi Shyti,
Andrew Lunn, Aurelien Jarno, Brian Masney, Conor Dooley,
Daniel Golle, David S. Miller, David Wu, Eric Dumazet,
Greg Kroah-Hartman, Heiko Stuebner, Herbert Xu,
Krzysztof Kozlowski, Mark Brown, Maxime Chevallier,
Maxime Coquelin, Michael Turquette, Neil Armstrong,
Nicolas Frattaroli, Olivia Mackall, Paolo Abeni, Philipp Zabel,
Rob Herring, Stephen Boyd, Vinod Koul, linux-crypto, linux-i2c,
linux-phy, linux-pwm, linux-spi, linux-stm32, linux-usb, netdev
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]
On Mon, Aug 10, 2026 at 11:35:48AM -0700, Jakub Kicinski wrote:
> On Mon, 10 Aug 2026 15:10:51 +0300 Vladislav Leonov wrote:
> > Basic support for the Rockchip RV1106/RV1103 SoCs currently under review.
> > This series builds on top of that and enables the peripherals needed to
> > bring up a board beyond a serial console:
>
> Don't expect maintainers to dig out patches for their subsystems
> from a big series. This is not how upstream development works.
I see this from time to time and I personally think it's fine to have
these patches together. Also the only the patch that affects my
subsystem was Cc:d to me which is how I like it (but I think opinions
differ on that one, too).
`b4 am -P _` is great!
> Repost 4+5 as a separate series to networking..
..ooOO(It worked! :-)
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106
2026-08-11 5:43 ` Uwe Kleine-König
@ 2026-08-11 15:53 ` Jakub Kicinski
2026-08-11 16:06 ` Mark Brown
1 sibling, 0 replies; 8+ messages in thread
From: Jakub Kicinski @ 2026-08-11 15:53 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Vladislav Leonov, linux-rockchip, linux-arm-kernel, Simon Glass,
linux-clk, devicetree, linux-kernel, Alexandre Torgue, Andi Shyti,
Andrew Lunn, Aurelien Jarno, Brian Masney, Conor Dooley,
Daniel Golle, David S. Miller, David Wu, Eric Dumazet,
Greg Kroah-Hartman, Heiko Stuebner, Herbert Xu,
Krzysztof Kozlowski, Mark Brown, Maxime Chevallier,
Maxime Coquelin, Michael Turquette, Neil Armstrong,
Nicolas Frattaroli, Olivia Mackall, Paolo Abeni, Philipp Zabel,
Rob Herring, Stephen Boyd, Vinod Koul, linux-crypto, linux-i2c,
linux-phy, linux-pwm, linux-spi, linux-stm32, linux-usb, netdev
On Tue, 11 Aug 2026 07:43:16 +0200 Uwe Kleine-König wrote:
> On Mon, Aug 10, 2026 at 11:35:48AM -0700, Jakub Kicinski wrote:
> > On Mon, 10 Aug 2026 15:10:51 +0300 Vladislav Leonov wrote:
> > > Basic support for the Rockchip RV1106/RV1103 SoCs currently under review.
> > > This series builds on top of that and enables the peripherals needed to
> > > bring up a board beyond a serial console:
> >
> > Don't expect maintainers to dig out patches for their subsystems
> > from a big series. This is not how upstream development works.
>
> I see this from time to time and I personally think it's fine to have
> these patches together. Also the only the patch that affects my
> subsystem was Cc:d to me which is how I like it (but I think opinions
> differ on that one, too).
>
> `b4 am -P _` is great!
We have automation and CI systems which ignore anything that isn't
scoped to networking to save cost. Not sure if there's a polite way
to say this but the smaller the subsystem the more flexibility can
be afforded? Let's stick to the existing process, please.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106
2026-08-11 5:43 ` Uwe Kleine-König
2026-08-11 15:53 ` Jakub Kicinski
@ 2026-08-11 16:06 ` Mark Brown
1 sibling, 0 replies; 8+ messages in thread
From: Mark Brown @ 2026-08-11 16:06 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Jakub Kicinski, Vladislav Leonov, linux-rockchip,
linux-arm-kernel, Simon Glass, linux-clk, devicetree,
linux-kernel, Alexandre Torgue, Andi Shyti, Andrew Lunn,
Aurelien Jarno, Brian Masney, Conor Dooley, Daniel Golle,
David S. Miller, David Wu, Eric Dumazet, Greg Kroah-Hartman,
Heiko Stuebner, Herbert Xu, Krzysztof Kozlowski,
Maxime Chevallier, Maxime Coquelin, Michael Turquette,
Neil Armstrong, Nicolas Frattaroli, Olivia Mackall, Paolo Abeni,
Philipp Zabel, Rob Herring, Stephen Boyd, Vinod Koul,
linux-crypto, linux-i2c, linux-phy, linux-pwm, linux-spi,
linux-stm32, linux-usb, netdev
[-- Attachment #1: Type: text/plain, Size: 1017 bytes --]
On Tue, Aug 11, 2026 at 07:43:16AM +0200, Uwe Kleine-König wrote:
> On Mon, Aug 10, 2026 at 11:35:48AM -0700, Jakub Kicinski wrote:
> > Don't expect maintainers to dig out patches for their subsystems
> > from a big series. This is not how upstream development works.
> I see this from time to time and I personally think it's fine to have
> these patches together. Also the only the patch that affects my
> subsystem was Cc:d to me which is how I like it (but I think opinions
> differ on that one, too).
Any cross tree thing is just always going to be more effort, at a
minimum you need to figure out if there are actually any dependencies or
if it's just a lot of tangentially related stuff bundled together. Plus
the larger CC lists and whatever.
> `b4 am -P _` is great!
OTOH b4 won't ingest serieses unless it can commit them to git and I
have *no* idea what the base is supposed to be here, it's not my tree,
Linus' tree or -next.
Please resend the spi bits as a separate series.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-08-11 16:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10 12:10 [PATCH 00/25] ARM: rockchip: Add peripheral support for RV1106 Vladislav Leonov
2026-08-10 12:11 ` [PATCH 17/25] dt-bindings: spi: rockchip: Add RV1106 compatible Vladislav Leonov
2026-08-10 12:25 ` Mark Brown
2026-08-10 12:11 ` [PATCH 18/25] spi: rockchip: Add support for RV1106 Vladislav Leonov
2026-08-10 18:35 ` [PATCH 00/25] ARM: rockchip: Add peripheral " Jakub Kicinski
2026-08-11 5:43 ` Uwe Kleine-König
2026-08-11 15:53 ` Jakub Kicinski
2026-08-11 16:06 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox