From patchwork Fri Dec 7 09:55:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 10717757 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 228D117DB for ; Fri, 7 Dec 2018 09:56:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1146F2E700 for ; Fri, 7 Dec 2018 09:56:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 04CA82E747; Fri, 7 Dec 2018 09:56:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 937742E700 for ; Fri, 7 Dec 2018 09:56:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726006AbeLGJ4a (ORCPT ); Fri, 7 Dec 2018 04:56:30 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44392 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbeLGJ4Q (ORCPT ); Fri, 7 Dec 2018 04:56:16 -0500 Received: by mail-wr1-f65.google.com with SMTP id z5so3161185wrt.11 for ; Fri, 07 Dec 2018 01:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bxxkWbXvkYGqIeLqYBC5ySezjbblFHISKHwaIRuZ2sA=; b=CLZtFOZjBDIyzPIOLBqVmvJQLCJ7qRJHWugIZ8yGyxM+c9KR/1lXDS7A7hkSr8VfuO By4e23wgjXQ4PyqlklRLqrrbQTKByzzYwQJZwvrPN1zJR+y4PrsPT9+i4xnyCDTzND67 wKpNNeYqw+YHdvW/oCGg3EWeRRJQ6YtwXKq4s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bxxkWbXvkYGqIeLqYBC5ySezjbblFHISKHwaIRuZ2sA=; b=tV4ONnu36eyphTH8T+X10TvZORbjGKpPLJCQfD6p42D3rFwDgEIJqU2k/c3mqGtHwY eC2zCgPSlaC0dKS+CGSgVw/KA5pzKdqnf8GOf6ifDeTBQYuAlOcbjn4nieyvFQBxtcgf pRkS3BGbFLarl2D+IC4jper7zMzK90ts+RivOBQhC3prOqeySgdUBLrdoC4lZKgdoUat lsDFGb00/6Qw+3HmHeiFF58u39PgrX7PcjpCeExwV2ahPUY3xnjGwcPTaOra2tJV7avV tt0/EQadXg444JFEH5h9DCRSuPME/gjNWjDNSjibbDDKGBKRNP0m87rGhsMg/oVKunKj 13ZA== X-Gm-Message-State: AA+aEWYGLrDY+4dsxY3vXmL7Yfef/IlnM2s21fAZ/6jLo61aAWe/vmIz 9+Uwjktk90cDcYn+QxeDPdO52g== X-Google-Smtp-Source: AFSGD/Xtb9f+h56HjFu8kVZbjl8aVLmpTM7BWjoMxaRvdCV8sesVt3l0BhAJQjOji98kXjdlJLXISw== X-Received: by 2002:a5d:480d:: with SMTP id l13mr1309494wrq.175.1544176573927; Fri, 07 Dec 2018 01:56:13 -0800 (PST) Received: from localhost.localdomain (58.red-81-47-145.staticip.rima-tde.net. [81.47.145.58]) by smtp.gmail.com with ESMTPSA id h129sm3153776wma.0.2018.12.07.01.56.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Dec 2018 01:56:13 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, gregkh@linuxfoundation.org, robh+dt@kernel.org, mark.rutland@arm.com, kishon@ti.com Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawn.guo@linaro.org, vkoul@kernel.org Subject: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings Date: Fri, 7 Dec 2018 10:55:57 +0100 Message-Id: <1544176558-7946-2-git-send-email-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544176558-7946-1-git-send-email-jorge.ramirez-ortiz@linaro.org> References: <1544176558-7946-1-git-send-email-jorge.ramirez-ortiz@linaro.org> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY controller embedded in QCS404. Based on Sriharsha Allenki's original definitions. Signed-off-by: Jorge Ramirez-Ortiz Reviewed-by: Vinod Koul --- .../devicetree/bindings/usb/qcom,usb-ssphy.txt | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt diff --git a/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt b/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt new file mode 100644 index 0000000..fcf4e01 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt @@ -0,0 +1,78 @@ +Qualcomm Synopsys 1.0.0 SS phy controller +=========================================== + +Synopsys 1.0.0 ss phy controller supports SS usb connectivity on Qualcomm +chipsets + +Required properties: + +- compatible: + Value type: + Definition: Should contain "qcom,usb-ssphy". + +- reg: + Value type: + Definition: USB PHY base address and length of the register map. + +- #phy-cells: + Value type: + Definition: Should be 0. See phy/phy-bindings.txt for details. + +- clocks: + Value type: + Definition: See clock-bindings.txt section "consumers". List of + three clock specifiers for reference, phy core and + pipe clocks. + +- clock-names: + Value type: + Definition: Names of the clocks in 1-1 correspondence with the "clocks" + property. Must contain "ref", "phy" and "pipe". + +- vdd-supply: + Value type: + Definition: phandle to the regulator VDD supply node. + +- vdda1p8-supply: + Value type: + Definition: phandle to the regulator 1.8V supply node. + +- qcom,vdd-voltage-level: + Value type: + Definition: This is a list of three integer values where + each value corresponding to voltage corner in uV. + +Optional child nodes: + +- vbus-supply: + Value type: + Definition: phandle to the VBUS supply node. + +- resets: + Value type: + Definition: See reset.txt section "consumers". PHY reset specifiers + for phy core and COR resets. + +- reset-names: + Value type: + Definition: Names of the resets in 1-1 correspondence with the "resets" + property. Must contain "com" and "phy". + +Example: + +usb3_phy: phy@78000 { + compatible = "qcom,usb-ssphy"; + reg = <0x78000 0x400>; + #phy-cells = <0>; + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, + <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, + <&gcc GCC_USB3_PHY_PIPE_CLK>; + clock-names = "ref", "phy", "pipe"; + resets = <&gcc GCC_USB3_PHY_BCR>, + <&gcc GCC_USB3PHY_PHY_BCR>; + reset-names = "com", "phy"; + vdd-supply = <&vreg_l3_1p05>; + vdda1p8-supply = <&vreg_l5_1p8>; + vbus-supply = <&usb3_vbus_reg>; + qcom,vdd-voltage-level = <0 1050000 1050000>; +};