[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57618775.3000903@ti.com>
Date: Wed, 15 Jun 2016 11:51:01 -0500
From: Suman Anna <s-anna@...com>
To: "Andrew F. Davis" <afd@...com>,
Philipp Zabel <p.zabel@...gutronix.de>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>
CC: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 2/2] reset: add a SYSCON based reset driver
Hi Andrew,
On 06/01/2016 01:41 PM, Andrew F. Davis wrote:
> Add a reset-controller driver for performing reset management of
> various devices present on the SoC, with the reset registers shared
> between devices in a common register memory space. This driver uses
> the syscon/regmap frameworks to actually implement the various reset
> functionalities needed by the reset consumer devices.
>
> Signed-off-by: Andrew F. Davis <afd@...com>
> [s-anna@...com: add documentation, syscon name change]
> Signed-off-by: Suman Anna <s-anna@...com>
> ---
> drivers/reset/Kconfig | 10 ++
> drivers/reset/Makefile | 1 +
> drivers/reset/reset-syscon.c | 289 +++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 300 insertions(+)
> create mode 100644 drivers/reset/reset-syscon.c
>
> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> index 0b2733d..73072e2 100644
> --- a/drivers/reset/Kconfig
> +++ b/drivers/reset/Kconfig
> @@ -15,5 +15,15 @@ menuconfig RESET_CONTROLLER
> config RESET_OXNAS
> bool
>
> +config SYSCON_RESET
> + tristate "SYSCON Reset Driver"
> + depends on RESET_CONTROLLER
Please add a depends on HAS_IOMEM here that you seem to have missed from
our local patches.
regards
Suman
> + select MFD_SYSCON
> + help
> + This enables the reset driver support for devices with memory-mapped
> + reset registers as part of a syscon device node. If you wish to use
> + the reset framework for such memory-mapped devices, say Y here.
> + Otherwise, say N.
> +
Powered by blists - more mailing lists