[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160809002501.GA125064@google.com>
Date: Mon, 8 Aug 2016 17:25:01 -0700
From: Matthias Kaehlcke <mka@...omium.org>
To: Peter Chen <peter.chen@....com>
Cc: gregkh@...uxfoundation.org, stern@...land.harvard.edu,
ulf.hansson@...aro.org, broonie@...nel.org, sre@...nel.org,
robh+dt@...nel.org, shawnguo@...nel.org, dbaryshkov@...il.com,
dwmw3@...radead.org, k.kozlowski@...sung.com,
linux-arm-kernel@...ts.infradead.org, p.zabel@...gutronix.de,
devicetree@...r.kernel.org, pawel.moll@....com,
mark.rutland@....com, linux-usb@...r.kernel.org, arnd@...db.de,
s.hauer@...gutronix.de, mail@...iej.szmigiero.name,
troy.kisky@...ndarydevices.com, festevam@...il.com,
oscar@...andei.net, stephen.boyd@...aro.org,
linux-pm@...r.kernel.org, stillcompiling@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 2/6] power: add power sequence library
El Mon, Aug 08, 2016 at 04:52:07PM +0800 Peter Chen ha dit:
> 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
> library to cover this requirement. The core code has supplied
> some common helpers for host driver, and individual power sequence
> libraries handle kinds of power sequence for devices.
>
> pwrseq_generic is intended for general purpose of power sequence, which
> handles gpios and clocks currently, and can cover regulator and pinctrl
> in future. The host driver calls pwrseq_alloc_generic to create
> an generic pwrseq instance.
>
> Signed-off-by: Peter Chen <peter.chen@....com>
> Tested-by Joshua Clayton <stillcompiling@...il.com>
Reviewed-by: Matthias Kaehlcke <mka@...omium.org>
Tested-by: Matthias Kaehlcke <mka@...omium.org>
Powered by blists - more mailing lists