linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: p.zabel@pengutronix.de (Philipp Zabel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 0/4] Add support for the Allwinner A31 Reset Controllers
Date: Mon, 18 Nov 2013 19:11:24 +0100	[thread overview]
Message-ID: <1384798284.4348.33.camel@pizza.hi.pengutronix.de> (raw)
In-Reply-To: <1384539547-29463-1-git-send-email-maxime.ripard@free-electrons.com>

Hi Maxime,

Am Freitag, den 15.11.2013, 19:19 +0100 schrieb Maxime Ripard:
> 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

Acked-by: Philipp Zabel <p.zabel@pengutronix.de>

> Changes from v3:
>   - Added some locking
>   - Added back the sun6i compatible and the request_mem_region
> 
> Changes from v2:
>   - Changed the commit logs to be a bit more generic
>   - Fixed a stupid breakage in the Makefile
> 
> 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 SoCs 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      | 175 +++++++++++++++++++++++++++++++++++++++
>  5 files changed, 210 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/reset/reset-sunxi.c

regards
Philipp

  parent reply	other threads:[~2013-11-18 18:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 18:19 [PATCH v4 0/4] Add support for the Allwinner A31 Reset Controllers Maxime Ripard
2013-11-15 18:19 ` [PATCH v4 1/4] reset: Add Allwinner SoCs Reset Controller Driver Maxime Ripard
2013-11-15 18:19 ` [PATCH v4 2/4] ARM: sunxi: Select ARCH_HAS_RESET_CONTROLLER Maxime Ripard
2013-11-15 18:19 ` [PATCH v4 3/4] ARM: sunxi: Register the A31 reset IP in init_time Maxime Ripard
2013-11-15 18:19 ` [PATCH v4 4/4] ARM: sun6i: Add the reset controller to the DTSI Maxime Ripard
2013-11-18 18:11 ` Philipp Zabel [this message]
2013-11-19  7:49   ` [PATCH v4 0/4] Add support for the Allwinner A31 Reset Controllers Maxime Ripard
2013-11-19 14:30     ` Philipp Zabel
2013-11-19 15:53       ` Maxime Ripard
2013-11-19 16:27         ` Philipp Zabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1384798284.4348.33.camel@pizza.hi.pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).