linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hzpeterchen@gmail.com (Peter Chen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/12] power: add generic power sequence framework
Date: Mon, 20 Jun 2016 19:27:37 +0800	[thread overview]
Message-ID: <20160620112737.GB26936@shlinux2> (raw)
In-Reply-To: <576487C1.5050807@maciej.szmigiero.name>

On Sat, Jun 18, 2016 at 01:29:05AM +0200, Maciej S. Szmigiero wrote:
> Hi Peter,
> 
> On 17.06.2016 12:09, Peter Chen wrote:
> > Hi all,
> > 
> > We have an well-known problem that the device needs to do some power
> > sequence before it can be recognized by related host, the typical
> > example like hard-wired mmc devices and usb devices. This power
> > sequence is hard to be described at device tree and handled by
> > related host driver, so we have created a common power sequence
> > framework to handle this requirement. The generic code is supplied
> > some common helpers from host driver, and individual power sequence
> > driver handles kinds of power sequence for devices.
> > 
> > Since the MMC has already done the similar things, and this power
> > sequence handling can be generic, we use mmc power sequence code
> > as base to create this framework.
> > 
> > This patch set is based on Krzysztof Kozlowski's RFC patch set (v4.7-rc1)
> > [1], and making some changes which can let it be generic. After that,
> > we create a generic power sequence driver for USB devices which handles
> > below things, it includes all input signals for devices I can consider.
> > 
> > - Clock and its frequencies
> > - GPIO for reset and the duration time
> > - GPIO for enable
> > - Regulator for power
> > 
> > This patch set is tested on i.mx6 sabresx evk using a dts change, I use
> > two hot-plug devices to simulate this use case. The udoo board changes
> > were tested using my last power sequence patch set. [2]
> > 
> > @Maciej S. Szmigiero, Oscar, would you please test them on imx6qdl udoo
> > boards?
> 
> Thanks for the patch set, just tested them on my UDOO Quad board and can
> confirm that USB and on-board hub work fine.
> 
> Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
> 
> Maciej
> 

Many thanks, Maciej.

-- 

Best Regards,
Peter Chen

      reply	other threads:[~2016-06-20 11:27 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17 10:09 [PATCH 00/12] power: add generic power sequence framework Peter Chen
2016-06-17 10:09 ` [PATCH 01/12] power/mmc: Move pwrseq drivers to power/pwrseq Peter Chen
2016-06-17 10:09 ` [PATCH 02/12] MAINTAINERS: Retain Ulf Hansson as the same maintainer of pwrseq Peter Chen
2016-06-17 10:09 ` [PATCH 03/12] power: pwrseq: Enable COMPILE_TEST for drivers Peter Chen
2016-06-17 10:09 ` [PATCH 04/12] power: pwrseq: Remove mmc prefix from mmc_pwrseq Peter Chen
2016-06-17 10:09 ` [PATCH 05/12] power: pwrseq: Generalize mmc_pwrseq operations by removing mmc prefix Peter Chen
2016-06-17 10:09 ` [PATCH 06/12] power: pwrseq: change common helpers as generic Peter Chen
2016-06-17 10:09 ` [PATCH 07/12] power: pwrseq: rename file name for generic driver Peter Chen
2016-06-20 12:48   ` Krzysztof Kozlowski
2016-06-21  2:19     ` Peter Chen
2016-06-17 10:09 ` [PATCH 08/12] doc: binding: pwrseq-usb-generic: add binding doc for generic usb power sequence driver Peter Chen
2016-06-17 17:16   ` Rob Herring
2016-06-20 11:26     ` Peter Chen
2016-06-20 12:29       ` Chen-Yu Tsai
2016-06-21  2:14         ` Peter Chen
2016-06-20 16:16       ` Rob Herring
2016-06-20 17:06         ` Mark Brown
2016-06-21  2:11         ` Peter Chen
2016-06-21 21:26           ` Rob Herring
2016-06-22  1:14             ` Peter Chen
2016-06-22  9:09             ` Ulf Hansson
2016-06-24 15:25               ` Rob Herring
2016-06-17 10:09 ` [PATCH 09/12] power: pwrseq: pwrseq_usb_generic: add generic power sequence support for USB deivces Peter Chen
2016-06-17 10:09 ` [PATCH 10/12] usb: core: add power sequence handling for USB devices Peter Chen
2016-06-17 16:12   ` Alan Stern
2016-06-17 10:09 ` [PATCH 11/12] usb: chipidea: host: let the hcd know's parent device node Peter Chen
2016-06-17 10:09 ` [PATCH 12/12] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property Peter Chen
2016-06-17 23:29 ` [PATCH 00/12] power: add generic power sequence framework Maciej S. Szmigiero
2016-06-20 11:27   ` Peter Chen [this message]

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=20160620112737.GB26936@shlinux2 \
    --to=hzpeterchen@gmail.com \
    --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).