Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1674907
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Rob Herring <robh@kernel.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy |
| Date | Mon, 26 Jun 2017 18:00:03 +0200 |
| Message-ID | <tWEAH-4e5-45@gated-at.bofh.it> (permalink) |
| References | <tUK7v-4ih-15@gated-at.bofh.it> <tUK7x-4ih-55@gated-at.bofh.it> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=60+eXCX0OzgeqVpdvEuOVtmiBQLn8CMvVC/0QD9IDLo=; b=SLBwdW85W//us8wHxRGCnYqFgHR/h8dYqY8AJ0Ieprp083rRHPrg7jZ6rk3nMt0lpJ smRSbRfKE3Ccg3YCAheJGlMIsRBMMkx6qOhNQEI6YElSeGhcmVEdtwsAc18UzhwD7GeD 1kacaQRhSTD3mM3v/CzXgGkJzkXgw+Z7pFNRlgmLEjcxyTypHYZrI6+WNp+UNIUEKf1H pj9pGzPs1s4ej3T9DSj1yB3Lq5Hqi/yFibSfIxV+RpH3/Fghj65nDIvVgjnFBUq0BsH7 TUXtthRVuSzYURM8UeIjhGz0nwZt8K03YNzO7S+NUo/fUrQm3lsRsryLgvePwrCx5Q1s n9kw== |
| X-Gm-Message-State | AKS2vOwdx1FzFhUiQGXVxGhLXVMqRUqRTO2j9eWQHMcPDqupcErUOnua hoNV8djLnl29Iw== |
| X-Received | by 10.36.53.70 with SMTP id k67mr260476ita.79.1498492561991; Mon, 26 Jun 2017 08:56:01 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| 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 | 67 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | sboyd@codeaurora.org, kishon@ti.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, balbi@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, project-aspen-dev@linaro.org, yanhaifeng@hisilicon.com |
| X-Original-Date | Mon, 26 Jun 2017 10:56:00 -0500 |
| X-Original-Message-ID | <20170626155600.abksvlvxehksp2hp@rob-hp-laptop> |
| X-Original-References | <1498035645-22804-1-git-send-email-xuejiancheng@hisilicon.com> <1498035645-22804-3-git-send-email-xuejiancheng@hisilicon.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1674907 |
Show key headers only | View raw
On Wed, Jun 21, 2017 at 05:00:42PM +0800, Jiancheng Xue wrote:
> Add support for hisi-inno-usb2 phy.
>
> Signed-off-by: Jiancheng Xue <xuejiancheng@hisilicon.com>
> ---
> .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 36 ++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt
>
> diff --git a/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt b/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt
> new file mode 100644
> index 0000000..21f8208
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt
> @@ -0,0 +1,36 @@
> +HiSilicon INNO USB2 PHY
> +-----------------------
> +Required properties:
> +- compatible: Should be one of the following strings:
> + "hisilicon,inno-usb2-phy",
> + "hisilicon,hi3798cv200-usb2-phy",
> +- #phy-cells: Must be 0
> +- hisilicon,peripheral-syscon: Phandle of syscon used to control phy.
> +- clocks: Phandle and clock specifier pair for reference clock utmi_refclk.
> +- resets: List of phandle and reset specifier pairs for each reset signal in
> +reset-names.
> +- reset-names: Should be "por_rst" and "test_rst". The test_rst only
> +exists in some of SOCs, so it is optional.
_rst is redundant.
> +
> +Phy node can include up to four subnodes. Each subnode represents one port.
> +The required properties of port node are as follows:
> +- clocks: Phandle and clock specifier pair for utmi_clock.
> +- resets: List of phandle and reset specifier pairs for port reset and utmi reset.
> +- reset-names: List of reset signal names. Should be "port_rst" and "utmi_rst"
> +
> +Refer to phy/phy-bindings.txt for the generic PHY binding properties
> +
> +Example:
> +usb_phy: phy {
> + compatible = "hisilicon,inno_usb2_phy";
Doesn't match the above compatible.
> + #phy-cells = <0>;
> + hisilicon,peripheral-syscon = <&peri_ctrl>;
> + clocks = <&crg USB2_REF_CLK>;
> + resets = <&crg 0xb4 2>;
> + reset-names = "por_rst";
> + port0 {
port@0 and provide a reg property.
> + clocks = <&crg USB2_UTMI0_CLK>;
> + resets = <&crg 0xb4 5>, <&crg 0xb4 1>;
> + reset-names = "port_rst", "utmi_rst";
> + };
> + };
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy Jiancheng Xue <xuejiancheng@hisilicon.com> - 2017-06-21 11:30 +0200 Re: [PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy Jiancheng Xue <xuejiancheng@hisilicon.com> - 2017-06-22 10:30 +0200 Re: [PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy Rob Herring <robh@kernel.org> - 2017-06-26 18:00 +0200
csiph-web