From patchwork Wed Jan 30 18:50:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 10789145 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 A50001390 for ; Wed, 30 Jan 2019 18:50:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 972B32FB6D for ; Wed, 30 Jan 2019 18:50:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B0342FB9B; Wed, 30 Jan 2019 18:50:57 +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 27C342FB6D for ; Wed, 30 Jan 2019 18:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733284AbfA3Sun (ORCPT ); Wed, 30 Jan 2019 13:50:43 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45721 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733264AbfA3Sum (ORCPT ); Wed, 30 Jan 2019 13:50:42 -0500 Received: by mail-wr1-f68.google.com with SMTP id t6so581143wrr.12 for ; Wed, 30 Jan 2019 10:50:41 -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 :mime-version:content-transfer-encoding; bh=b8M0eSUZUgsVMGxbQEiMn7Shg3Ln/ABC8nhad3aEAW8=; b=dFDxQf+czaJhUfGeIlbm70Wl9zp/5W1fiO5HXUnNF2AMiVHO0EhU23lql7yB/Z0f+I SpdhfHqPOpr+RjZMAIKeT7MDhSIO/78jUyICa+tBMVrZRajRAOeXdSMLUtev57k1q+Xl MO+RwsBYQoB8DOETq66dEJllaU03UjJfG6gNo= 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:mime-version:content-transfer-encoding; bh=b8M0eSUZUgsVMGxbQEiMn7Shg3Ln/ABC8nhad3aEAW8=; b=Cgv0H+iO96RUThLLR4hhEdzJj7BxuRMUzogbefFivwyUBn1AIOruh+ndMbLftPwR7f kkhC9Xpu6JepB2TgQcwwaY62ciBv9fCesxmTUCJMgaO1FOraLH/d8NxF/yqMuMYX1ZJy ygKOTGOqCoNxlkrX2/9zgXIG/+Maaet0IU2bN2NaD7PRHpOkolqIAACgWHC/02nLtAEe 88ISVw7B6aFiJvs43dE62pAd1sxafkIh148t1JmMp5Cr6vkeHKY8XG1FEvzMStDzBYCS fUQBd3z+KwQxRHaTpZqWkshRzy6OYsKTE4H3iC5eHqZ6Hy0SLPxEyhk5HrVhwYEKhqOM O1vA== X-Gm-Message-State: AHQUAubO0If2iI7f8sM6pW/QIawMo9Ql79EexDYD8Vtnzh0BW66ya9FY BRKeVEenZMyu8OwAzeEpacNOmw== X-Google-Smtp-Source: AHgI3Ia4JDkY7jy1nqI65XPeHAMK3bonriibvkW57xRkiJeNQzfJsiPjMIfqqrcwnLxbVqvNsPFYiA== X-Received: by 2002:a5d:4046:: with SMTP id w6mr10756623wrp.92.1548874241097; Wed, 30 Jan 2019 10:50:41 -0800 (PST) Received: from localhost.localdomain (99.red-79-146-83.dynamicip.rima-tde.net. [79.146.83.99]) by smtp.gmail.com with ESMTPSA id a17sm2802575wrs.58.2019.01.30.10.50.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Jan 2019 10:50:40 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, bjorn.andersson@linaro.org, gregkh@linuxfoundation.org, mark.rutland@arm.com, kishon@ti.com, jackp@codeaurora.org, andy.gross@linaro.org, swboyd@chromium.org Cc: shawn.guo@linaro.org, vkoul@kernel.org, khasim.mohammed@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: Add Qualcomm USB SuperSpeed PHY bindings Date: Wed, 30 Jan 2019 19:50:30 +0100 Message-Id: <20190130185031.24798-2-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190130185031.24798-1-jorge.ramirez-ortiz@linaro.org> References: <20190130185031.24798-1-jorge.ramirez-ortiz@linaro.org> MIME-Version: 1.0 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 1.0.0 SuperSpeed phy controller embedded in QCS404. Based on Sriharsha Allenki's original definitions. Signed-off-by: Jorge Ramirez-Ortiz --- .../bindings/usb/qcom,usb-ssphy.txt | 74 +++++++++++++++++++ 1 file changed, 74 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 000000000000..83748a07d665 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt @@ -0,0 +1,74 @@ +Qualcomm Synopsys 1.0.0 SS phy controller +=========================================== + +Qualcomm 1.0.0 SS phy controller supports SuperSpeed USB connectivity on +some Qualcomm platforms. + +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. + + +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" if the property is + specified. + +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>; +};