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

Andreas Färber
2019-10-23T10:14:05Z

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

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: devicetree@vger.kernel.org

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