Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1452221
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Peter Chen <hzpeterchen@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 1/6] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library |
| Date | Fri, 29 Jul 2016 04:20:01 +0200 |
| Message-ID | <s05z3-6In-1@gated-at.bofh.it> (permalink) |
| References | <rXij8-5uu-27@gated-at.bofh.it> <s05z3-6In-3@gated-at.bofh.it> |
| X-Original-To | Peter Chen <peter.chen@nxp.com> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=y0F4NnP+WBrLATk9dfob8KTqLBdA8r/zV9fP2WpoMQ8=; b=eK8O0U+WkEq2FeaBN6OmkeYVcxQsI6zNqRS13/JP3WALHZeTzgOFj6bAQ1MmKGOcJ4 JwBxxnvZmG+7MgYC9OzYZ8LWen/1lhDwCVQQnYUzdwTr678BD7oVwdZ8yMYqlufki6nj EWAZBM+HVlnhiHmH+RR+SoZ/u283Rti07gMIMmlOMwsMkly2b0MvSgI9vJiK5SrQNBKh jB+FcKNOufI3u7QlAxBSb/c7UaBvJ6x2R8C6weRSyJoKIQSdNHICQvtN/ScFEGVHLUs0 UGpNPOtWBVEcmTBPgvzDUJdI+iPTgsKgzt2MFMzqdV5c2962FkckQjGBnCdCi93aD8Tl i+tQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=y0F4NnP+WBrLATk9dfob8KTqLBdA8r/zV9fP2WpoMQ8=; b=CNQqCL8B1vcu3YsJlV7xj67+qkOSL7sAgHzgWoY8pHN+Ka1xzESYMmOsqMkDgJS2Lh WqzDbfpj/Rcp2Z/1QXbcKxugEHveEkxQG2+Nib2SKgsmbbqE6aMrenzEEPMCAiGTX9qg Rr56c9p7tlj33oS1EwX3c1CPcrrXq3+b2ct3/ntImIwjKAx16ZnK3Gj6EjXb51N/Q7/M MyIkG8WmKakkLpAyDnj6va5XI7N/AtHVwcLueJL7hpOBF6no4vwTflWFUAa32ENOND2T oC0iYOlmMDwrYxYhXReZai7Dp9U9Eg/Xlxsqr4Awlsrnyc6VZPrHaL3WOOmhCmotrH/V eG1w== |
| X-Gm-Message-State | AEkoouvT+apN+0TiptaVrP0s1yFv0mM53H6ej+cabRvphiNtFlQrBf8cupDmpT+HhODebw== |
| X-Received | by 10.66.136.8 with SMTP id pw8mr64483300pab.110.1469758677501; Thu, 28 Jul 2016 19:17:57 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 74 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | gregkh@linuxfoundation.org, stern@rowland.harvard.edu, ulf.hansson@linaro.org, broonie@kernel.org, sre@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, dbaryshkov@gmail.com, dwmw2@infradead.org, mark.rutland@arm.com, devicetree@vger.kernel.org, k.kozlowski@samsung.com, stephen.boyd@linaro.org, oscar@naiandei.net, arnd@arndb.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, s.hauer@pengutronix.de, linux-usb@vger.kernel.org, mail@maciej.szmigiero.name, troy.kisky@boundarydevices.com, stillcompiling@gmail.com, p.zabel@pengutronix.de, festevam@gmail.com, linux-arm-kernel@lists.infradead.org |
| X-Original-Date | Fri, 29 Jul 2016 10:09:17 +0800 |
| X-Original-Message-ID | <20160729020917.GB11787@shlinux2> |
| X-Original-References | <1469007629-31757-1-git-send-email-peter.chen@nxp.com> <1469007629-31757-2-git-send-email-peter.chen@nxp.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1452221 |
Show key headers only | View raw
On Wed, Jul 20, 2016 at 05:40:24PM +0800, Peter Chen wrote:
> Add binding doc for generic power sequence library.
>
> Signed-off-by: Peter Chen <peter.chen@nxp.com>
> Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
> .../bindings/power/pwrseq/pwrseq-generic.txt | 48 ++++++++++++++++++++++
> 1 file changed, 48 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt
>
> diff --git a/Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt b/Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt
> new file mode 100644
> index 0000000..48bb3e1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/pwrseq/pwrseq-generic.txt
> @@ -0,0 +1,48 @@
> +The generic power sequence library
> +
> +Some hard-wired devices (eg USB/MMC) need to do power sequence before
> +the device can be enumerated on the bus, the typical power sequence
> +like: enable USB PHY clock, toggle reset pin, etc. But current
> +Linux device driver lacks of such code to do it, it may cause some
> +hard-wired devices works abnormal or can't be recognized by
> +controller at all. The power sequence will be done before this device
> +can be found at the bus.
> +
> +The power sequence properties is under the device node.
> +
> +Optional properties:
> +- clocks: the input clock for device.
> +- reset-gpios: Should specify the GPIO for reset.
> +- reset-duration-us: the duration in microsecond for assert reset signal.
> +
> +Below is the example of USB power sequence properties on USB device
> +nodes which have two level USB hubs.
> +
> +&usbotg1 {
> + vbus-supply = <®_usb_otg1_vbus>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_usb_otg1_id>;
> + status = "okay";
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> + genesys: hub@1 {
> + compatible = "usb5e3,608";
> + reg = <1>;
> +
> + clocks = <&clks IMX6SX_CLK_CKO>;
> + reset-gpios = <&gpio4 5 GPIO_ACTIVE_LOW>; /* hub reset pin */
> + reset-duration-us = <10>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> + asix: ethernet@1 {
> + compatible = "usbb95,1708";
> + reg = <1>;
> +
> + clocks = <&clks IMX6SX_CLK_IPG>;
> + reset-gpios = <&gpio4 6 GPIO_ACTIVE_LOW>; /* ethernet_rst */
> + reset-duration-us = <15>;
> + };
> + };
> +};
> --
> 1.9.1
Rob, would you please help to ack dts changes in this series if you are
ok with them?
--
Best Regards,
Peter Chen
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v3 1/6] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library Peter Chen <hzpeterchen@gmail.com> - 2016-07-29 04:20 +0200
csiph-web