[PATCH v3 0/4] Amlogic: Meson: Add reset controller
From: Neil Armstrong
Date: Mon May 30 2016 - 09:28:08 EST
Patchset to add and enable the reset controller driver on Meson SoCs platforms.
This reset controller has up to 256 reset lines with reset pulse generation only,
so the assert and deassert calls are not available.
Depends on the patch :
- "reset: add devm_reset_controller_register API" [1]
Changes since v2 at http://lkml.kernel.org/r/1464169758-26975-1-git-send-email-narmstrong@xxxxxxxxxxxx :
- Get back __iomem in _reset() callback
- Get rid of MODULE_ALIAS
Changes since v1 at http://lkml.kernel.org/r/1463732875-23141-1-git-send-email-narmstrong@xxxxxxxxxxxx :
- Remove _gxbb_ in names
- Depends build on ARCH_MESON only
- Add meson8b compatible and bindings
- Re-indent dt-bindings headers
- Switch to devm_ reset controller register
- Remove platform "remove" callback
- Update Dual BSD/GPL file headers
Changes since the RFC at http://lkml.kernel.org/r/1463148012-25988-1-git-send-email-narmstrong@xxxxxxxxxxxx :
- Fix register mapping and bit defines in bindings header
- Remove assert and unassert calls
- Fix missing __iomem
[1] https://patchwork.kernel.org/patch/8988471/
Neil Armstrong (4):
reset: Add support for the Amlogic Meson SoC Reset Controller
dt-bindings: reset: Add bindings for the Meson SoC Reset Controller
ARM64: dts: amlogic: Enable Reset Controller on GXBB-based platforms
ARM: dts: amlogic: Enable Reset Controller on Meson8b platforms
.../bindings/reset/amlogic,meson-reset.txt | 18 ++
arch/arm/boot/dts/meson8b.dtsi | 7 +
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 7 +
drivers/reset/Makefile | 1 +
drivers/reset/reset-meson.c | 136 +++++++++++++
.../dt-bindings/reset/amlogic,meson-gxbb-reset.h | 210 +++++++++++++++++++++
include/dt-bindings/reset/amlogic,meson8b-reset.h | 175 +++++++++++++++++
7 files changed, 554 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-reset.txt
create mode 100644 drivers/reset/reset-meson.c
create mode 100644 include/dt-bindings/reset/amlogic,meson-gxbb-reset.h
create mode 100644 include/dt-bindings/reset/amlogic,meson8b-reset.h
--
2.7.0