lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190315232303.GA17556@bogus>
Date:   Fri, 15 Mar 2019 18:23:03 -0500
From:   Rob Herring <robh@...nel.org>
To:     Srinath Mannam <srinath.mannam@...adcom.com>
Cc:     Mark Rutland <mark.rutland@....com>,
        Kishon Vijay Abraham I <kishon@...com>,
        Tejun Heo <tj@...nel.org>,
        Jayachandran C <jnair@...iumnetworks.com>,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        bcm-kernel-feedback-list@...adcom.com
Subject: Re: [PATCH v5 1/3] dt-bindings: phy: Add Stingray USB PHY binding
 document

On Tue, Mar 12, 2019 at 09:36:19PM +0530, Srinath Mannam wrote:
> Add DT binding document for Stingray USB PHY.
> 
> Signed-off-by: Srinath Mannam <srinath.mannam@...adcom.com>
> ---
>  .../bindings/phy/brcm,stingray-usb-phy.txt         | 40 ++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt
> 
> diff --git a/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt
> new file mode 100644
> index 0000000..51c3d73
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/phy/brcm,stingray-usb-phy.txt
> @@ -0,0 +1,40 @@
> +Broadcom Stingray USB PHY
> +
> +Required properties:
> + - compatible : should be one of the listed compatibles
> +	- "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS.
> +	- "brcm,sr-usb-hs-phy" is a single HS PHY.
> + - reg: offset and length of the PHY blocks registers

> + - address-cells: should be 1
> + - size-cells: should be 0

These can be dropped now. With that,

Reviewed-by: Rob Herring <robh@...nel.org>

> + - #phy-cells:
> +   - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate
> +     the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY.
> +   - Must be 0 for brcm,sr-usb-hs-phy.
> +
> +Refer to phy/phy-bindings.txt for the generic PHY binding properties
> +
> +Example:
> +	usbphy0: usb-phy@0 {
> +		compatible = "brcm,sr-usb-combo-phy";
> +		reg = <0x00000000 0x100>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		#phy-cells = <1>;
> +	};
> +
> +	usbphy1: usb-phy@...00 {
> +		compatible = "brcm,sr-usb-combo-phy";
> +		reg = <0x00010000 0x100>,
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		#phy-cells = <1>;
> +	};
> +
> +	usbphy2: usb-phy@...00 {
> +		compatible = "brcm,sr-usb-hs-phy";
> +		reg = <0x00020000 0x100>,
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		#phy-cells = <0>;
> +	};
> -- 
> 2.7.4
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ