From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Mon, 14 Oct 2013 21:23:25 +0200 Subject: [PATCH v2 0/4] Add support for the Allwinner A31 Reset Controllers Message-ID: <1381778609-4191-1-git-send-email-maxime.ripard@free-electrons.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi everyone, This patchset adds support for the reset controllers found in the Allwinner A31 SoCs. Since these controllers are pretty simple, basically just a few MMIO registers, with a single bit controlling the reset state of the other devices it asserts in reset, the driver is quite simple as well. However, one of the IPs asserted in reset by these controllers are the timers, the only thing standing out is that it requires to be registered before the timers are initialized. Thanks, Maxime Changes from v1: - Don't call request_mem_region, since some of these controllers will share registers with clock drivers - Switched to a more generic allwinner,sun4i-clock-reset compatible, since a lot of these controllers are found in other SoCs than the A31 - Switched to a "real" driver using the device model for all these reset controllers but the one that needs to be initialised early. - Fixed a typo in one of the DT bindings that was leading to a compilation breakage Maxime Ripard (4): reset: Add Allwinner A31 Reset Controller Driver ARM: sunxi: Select ARCH_HAS_RESET_CONTROLLER ARM: sunxi: Register the A31 reset IP in init_time ARM: sun6i: Add the reset controller to the DTSI arch/arm/boot/dts/sun6i-a31.dtsi | 24 ++++++ arch/arm/mach-sunxi/Kconfig | 1 + arch/arm/mach-sunxi/sunxi.c | 10 ++- drivers/reset/Makefile | 1 + drivers/reset/reset-sunxi.c | 156 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 191 insertions(+), 1 deletion(-) create mode 100644 drivers/reset/reset-sunxi.c -- 1.8.4