Skip to content

arm64: Realtek RTD1295 reset controllers

Andreas Färber linux-arm-kernel linux-devicetree lkml 1 version Applied

Status from this message: Applied to linux-realtek.git v5.5/arm64:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest11 patches 7 repliesApplied

Changes in v2 from the cover letter

* Drop custom reset driver
* Drop "realtek,rtd1295-reset" binding
* Reordered to not depend on irqchip or clk patches
* Extended with RTD1195 patches

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/11dt-bindings: reset: Add Realtek RTD1295include/dt-bindings/reset/realtek,rtd1295.h+111 -01 reply
2/11dt-bindings: reset: Add Realtek RTD1195include/dt-bindings/reset/realtek,rtd1195.h+74 -01 reply
3/11reset: simple: Keep alphabetical orderdrivers/reset/Kconfig+2 -20 replies
4/11reset: simple: Add Realtek RTD1195/RTD1295drivers/reset/Kconfig+2 -10 replies
5/11arm64: realtek: Select reset controllerarch/arm64/Kconfig.platforms+1 -01 reply
6/11arm64: dts: realtek: Add RTD129x reset controller nodesarch/arm64/boot/dts/realtek/rtd129x.dtsi+30 -01 reply
7/11arm64: dts: realtek: Add RTD129x UART resetsarch/arm64/boot/dts/realtek/rtd129x.dtsi+3 -01 reply
8/11ARM: dts: rtd1195: Add reset nodesarch/arm/boot/dts/rtd1195.dtsi+24 -00 replies
9/11ARM: dts: rtd1195: Add UART resetsarch/arm/boot/dts/rtd1195.dtsi+2 -00 replies
10/11arm64: dts: realtek: Adopt RTD129x reset constantsarch/arm64/boot/dts/realtek/rtd129x.dtsi+4 -31 reply
11/11ARM: dts: rtd1195: Adopt reset constantsarch/arm/boot/dts/rtd1195.dtsi+3 -20 replies

Reviews trailers per patch

2 of 11 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringPhilipp Zabel
SeriesA-b
1/11A-b
2/11R-b
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/11] arm64: Realtek RTD1295 reset controllers

Hello,

This series adds reset controllers for the Realtek RTD1295 and RTD1195 SoCs.

v2 adopts reset-simple driver and DesignWare bindings as simplification and covers RTD1195, too.

Note that reset-simple driver would allow to cover RTD1195's reset1-3 in one DT node, but it only maps the first resource, so RTD1295's reset4 would need to remain separate due to a gap in between. I've therefore left them all as separate nodes for now.

Also note that my initial 32-bit arm patch already selects RESET_CONTROLLER, to avoid needing a separate patch here to add that one line as done for arm64.

If I can take the bindings patches through the Realtek tree then I can squash the two final DT patches depending on them into the patches added the resets, otherwise they need to go into v5.6 or be merged via a topic branch.

More experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next

Have a lot of fun!

Cheers,
Andreas

v1 -> v2:
* Drop custom reset driver
* Drop "realtek,rtd1295-reset" binding
* Reordered to not depend on irqchip or clk patches
* Extended with RTD1195 patches

Andreas Färber (11):
dt-bindings: reset: Add Realtek RTD1295
dt-bindings: reset: Add Realtek RTD1195
reset: simple: Keep alphabetical order
reset: simple: Add Realtek RTD1195/RTD1295
arm64: realtek: Select reset controller
arm64: dts: realtek: Add RTD129x reset controller nodes
arm64: dts: realtek: Add RTD129x UART resets
ARM: dts: rtd1195: Add reset nodes
ARM: dts: rtd1195: Add UART resets
arm64: dts: realtek: Adopt RTD129x reset constants
ARM: dts: rtd1195: Adopt reset constants

 arch/arm/boot/dts/rtd1195.dtsi              |  27 +++++++
 arch/arm64/Kconfig.platforms                |   1 +
 arch/arm64/boot/dts/realtek/rtd129x.dtsi    |  34 +++++++++
 drivers/reset/Kconfig                       |   5 +-
 include/dt-bindings/reset/realtek,rtd1195.h |  74 +++++++++++++++++++
 include/dt-bindings/reset/realtek,rtd1295.h | 111 ++++++++++++++++++++++++++++
 6 files changed, 250 insertions(+), 2 deletions(-)
 create mode 100644 include/dt-bindings/reset/realtek,rtd1195.h
 create mode 100644 include/dt-bindings/reset/realtek,rtd1295.h
Signature · 1 line
2.16.4