All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: srinivas.kandagatla@st.com
Cc: linux-arm-kernel@lists.infradead.org,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>, Rob Landley <rob@landley.net>,
	Russell King <linux@arm.linux.org.uk>,
	Stuart Menefy <stuart.menefy@st.com>,
	Grant Likely <grant.likely@linaro.org>,
	devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, kernel@stlinux.com,
	Arnd Bergmann <arnd@arndb.de>,
	stephen.gallimore@st.com, Olof Johansson <olof@lixom.net>
Subject: Re: [PATCH v2 0/6] ARM: STi reset controller support
Date: Wed, 05 Feb 2014 10:28:06 +0100	[thread overview]
Message-ID: <1391592486.11239.4.camel@pizza.hi.pengutronix.de> (raw)
In-Reply-To: <1391437665-11913-1-git-send-email-srinivas.kandagatla@st.com>

Hi Srinivas,

Am Montag, den 03.02.2014, 14:27 +0000 schrieb
srinivas.kandagatla@st.com:
> From: Srinivas Kandagatla <srinivas.kandagatla@st.com>
> 
> Hi All,
> 
> This patch series adds reset controller support for STi SOC series STiH415 and
> STiH416. It adds support for both power down reset and soft reset controllers.
> On STi series SOCs reset lines are wired up to system configuration registers.
> Most of the IPs on STi SOCs are left in reset state, so this driver is very
> important for other drivers to use the IPs.
> 
> Patch 01: Adds reset controller based on system configuration registers via
> regmap.
> 
> Patch 02, 03: adds STiH415 and STiH416 reset controller drivers.
> 
> Patch 04, 05: adds STiH415 and STiH416 soft reset controllers.
> 
> The final patch 06 selects reset controller in mach-sti Kconfig.
> 
> I would like get this driver in to 3.15, so that its possible to add dt
> support for other IPs with reset lines. Without this patchset its impossible
> to add DT support to IPs with reset lines as reset line definition is in
> common header file in include/dt-bindings/.
> 
> This reset controller will be used by gmac, i2c and st-ir drivers.
> 
> 
> Comments?

the patchset looks good to me for the soft resets. But for the powerdown
bits I am wondering whether the reset controller API is the right
abstraction. Depending on whether those bits really just put the IPs
into reset or there is some power gating / sequencing involved,
shouldn't this rather be handled as a set of pm domains?
I see that for example on STiH415 there are both soft resets and
powerdown bits for USB[012].

regards
Philipp


WARNING: multiple messages have this Message-ID (diff)
From: Philipp Zabel <p.zabel@pengutronix.de>
To: srinivas.kandagatla@st.com
Cc: Mark Rutland <mark.rutland@arm.com>,
	devicetree@vger.kernel.org, Russell King <linux@arm.linux.org.uk>,
	kernel@stlinux.com, Pawel Moll <pawel.moll@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Olof Johansson <olof@lixom.net>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	stephen.gallimore@st.com, Stuart Menefy <stuart.menefy@st.com>,
	Rob Herring <robh+dt@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Rob Landley <rob@landley.net>, Kumar Gala <galak@codeaurora.org>,
	Grant Likely <grant.likely@linaro.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 0/6] ARM: STi reset controller support
Date: Wed, 05 Feb 2014 10:28:06 +0100	[thread overview]
Message-ID: <1391592486.11239.4.camel@pizza.hi.pengutronix.de> (raw)
In-Reply-To: <1391437665-11913-1-git-send-email-srinivas.kandagatla@st.com>

Hi Srinivas,

Am Montag, den 03.02.2014, 14:27 +0000 schrieb
srinivas.kandagatla@st.com:
> From: Srinivas Kandagatla <srinivas.kandagatla@st.com>
> 
> Hi All,
> 
> This patch series adds reset controller support for STi SOC series STiH415 and
> STiH416. It adds support for both power down reset and soft reset controllers.
> On STi series SOCs reset lines are wired up to system configuration registers.
> Most of the IPs on STi SOCs are left in reset state, so this driver is very
> important for other drivers to use the IPs.
> 
> Patch 01: Adds reset controller based on system configuration registers via
> regmap.
> 
> Patch 02, 03: adds STiH415 and STiH416 reset controller drivers.
> 
> Patch 04, 05: adds STiH415 and STiH416 soft reset controllers.
> 
> The final patch 06 selects reset controller in mach-sti Kconfig.
> 
> I would like get this driver in to 3.15, so that its possible to add dt
> support for other IPs with reset lines. Without this patchset its impossible
> to add DT support to IPs with reset lines as reset line definition is in
> common header file in include/dt-bindings/.
> 
> This reset controller will be used by gmac, i2c and st-ir drivers.
> 
> 
> Comments?

the patchset looks good to me for the soft resets. But for the powerdown
bits I am wondering whether the reset controller API is the right
abstraction. Depending on whether those bits really just put the IPs
into reset or there is some power gating / sequencing involved,
shouldn't this rather be handled as a set of pm domains?
I see that for example on STiH415 there are both soft resets and
powerdown bits for USB[012].

regards
Philipp

WARNING: multiple messages have this Message-ID (diff)
From: p.zabel@pengutronix.de (Philipp Zabel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/6] ARM: STi reset controller support
Date: Wed, 05 Feb 2014 10:28:06 +0100	[thread overview]
Message-ID: <1391592486.11239.4.camel@pizza.hi.pengutronix.de> (raw)
In-Reply-To: <1391437665-11913-1-git-send-email-srinivas.kandagatla@st.com>

Hi Srinivas,

Am Montag, den 03.02.2014, 14:27 +0000 schrieb
srinivas.kandagatla at st.com:
> From: Srinivas Kandagatla <srinivas.kandagatla@st.com>
> 
> Hi All,
> 
> This patch series adds reset controller support for STi SOC series STiH415 and
> STiH416. It adds support for both power down reset and soft reset controllers.
> On STi series SOCs reset lines are wired up to system configuration registers.
> Most of the IPs on STi SOCs are left in reset state, so this driver is very
> important for other drivers to use the IPs.
> 
> Patch 01: Adds reset controller based on system configuration registers via
> regmap.
> 
> Patch 02, 03: adds STiH415 and STiH416 reset controller drivers.
> 
> Patch 04, 05: adds STiH415 and STiH416 soft reset controllers.
> 
> The final patch 06 selects reset controller in mach-sti Kconfig.
> 
> I would like get this driver in to 3.15, so that its possible to add dt
> support for other IPs with reset lines. Without this patchset its impossible
> to add DT support to IPs with reset lines as reset line definition is in
> common header file in include/dt-bindings/.
> 
> This reset controller will be used by gmac, i2c and st-ir drivers.
> 
> 
> Comments?

the patchset looks good to me for the soft resets. But for the powerdown
bits I am wondering whether the reset controller API is the right
abstraction. Depending on whether those bits really just put the IPs
into reset or there is some power gating / sequencing involved,
shouldn't this rather be handled as a set of pm domains?
I see that for example on STiH415 there are both soft resets and
powerdown bits for USB[012].

regards
Philipp

  parent reply	other threads:[~2014-02-05  9:28 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 10:50 [PATCH v1 0/6] STi reset controller suppport Srinivas Kandagatla
2014-01-14 10:50 ` Srinivas Kandagatla
2014-01-14 10:50 ` Srinivas Kandagatla
2014-01-14 10:51 ` [PATCH v1 1/6] drivers: reset: STi SoC system configuration reset controller support Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51 ` [PATCH v1 2/6] drivers: reset: Reset controller driver for STiH415 Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51 ` [PATCH v1 3/6] drivers: reset: Reset controller driver for STiH416 Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51 ` [PATCH v1 4/6] drivers: reset: stih415: add softreset controller Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51 ` [PATCH v1 5/6] drivers: reset: stih416: " Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51 ` [PATCH v1 6/6] ARM: STi: Add reset controller support to mach-sti Kconfig Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-01-14 10:51   ` Srinivas Kandagatla
2014-02-03 14:27 ` [PATCH v2 0/6] ARM: STi reset controller support srinivas.kandagatla
2014-02-03 14:27   ` srinivas.kandagatla at st.com
2014-02-03 14:27   ` srinivas.kandagatla
2014-02-03 14:28   ` [PATCH v2 1/6] drivers: reset: STi SoC system configuration " srinivas.kandagatla
2014-02-03 14:28     ` srinivas.kandagatla at st.com
2014-02-03 14:28     ` srinivas.kandagatla
2014-02-03 14:28   ` [PATCH v2 2/6] drivers: reset: Reset controller driver for STiH415 srinivas.kandagatla
2014-02-03 14:28     ` srinivas.kandagatla at st.com
2014-02-03 14:28     ` srinivas.kandagatla
2014-02-03 14:28   ` [PATCH v2 3/6] drivers: reset: Reset controller driver for STiH416 srinivas.kandagatla
2014-02-03 14:28     ` srinivas.kandagatla at st.com
2014-02-03 14:28     ` srinivas.kandagatla-qxv4g6HH51o
2014-02-03 14:28   ` [PATCH v2 4/6] drivers: reset: stih415: add softreset controller srinivas.kandagatla
2014-02-03 14:28     ` srinivas.kandagatla at st.com
2014-02-03 14:28     ` srinivas.kandagatla-qxv4g6HH51o
2014-02-03 14:28   ` [PATCH v2 5/6] drivers: reset: stih416: " srinivas.kandagatla
2014-02-03 14:28     ` srinivas.kandagatla at st.com
2014-02-03 14:28     ` srinivas.kandagatla
2014-02-03 14:29   ` [PATCH v2 6/6] ARM: STi: Add reset controller support to mach-sti Kconfig srinivas.kandagatla
2014-02-03 14:29     ` srinivas.kandagatla at st.com
2014-02-03 14:29     ` srinivas.kandagatla
2014-02-05  9:28   ` Philipp Zabel [this message]
2014-02-05  9:28     ` [PATCH v2 0/6] ARM: STi reset controller support Philipp Zabel
2014-02-05  9:28     ` Philipp Zabel
2014-02-07 12:54     ` srinivas kandagatla
2014-02-07 12:54       ` srinivas kandagatla
2014-02-07 12:54       ` srinivas kandagatla
2014-02-19 13:57       ` Maxime Coquelin
2014-02-19 13:57         ` Maxime Coquelin
2014-02-19 13:57         ` Maxime Coquelin
2014-02-24 10:33         ` Philipp Zabel
2014-02-24 10:33           ` Philipp Zabel
2014-02-24 10:33           ` Philipp Zabel
2014-02-24 14:03           ` srinivas kandagatla
2014-02-24 14:03             ` srinivas kandagatla
2014-02-24 14:03             ` srinivas kandagatla
2014-02-24 15:16             ` Philipp Zabel
2014-02-24 15:16               ` Philipp Zabel
2014-02-24 15:16               ` Philipp Zabel
2014-02-25  9:08               ` srinivas kandagatla
2014-02-25  9:08                 ` srinivas kandagatla
2014-02-25  9:08                 ` srinivas kandagatla
2014-02-25  9:47                 ` Philipp Zabel
2014-02-25  9:47                   ` Philipp Zabel
2014-02-25  9:47                   ` Philipp Zabel
2014-02-25 10:56                   ` srinivas kandagatla
2014-02-25 10:56                     ` srinivas kandagatla
2014-02-25 10:56                     ` srinivas kandagatla
2014-02-25 11:15                     ` Philipp Zabel
2014-02-25 11:15                       ` Philipp Zabel
2014-02-25 11:15                       ` 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=1391592486.11239.4.camel@pizza.hi.pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=grant.likely@linaro.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kernel@stlinux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=olof@lixom.net \
    --cc=pawel.moll@arm.com \
    --cc=rob@landley.net \
    --cc=robh+dt@kernel.org \
    --cc=srinivas.kandagatla@st.com \
    --cc=stephen.gallimore@st.com \
    --cc=stuart.menefy@st.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.