From patchwork Thu Feb 7 11:17:33 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: 157697 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp516791jaa; Thu, 7 Feb 2019 03:17:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ9p1VMCb49K15UGLO4E2oLbRgC+QTIVMCIwlt89Vq8ruSRujURZrpSl+Uor3MWvph1KIef X-Received: by 2002:a63:f109:: with SMTP id f9mr9453894pgi.286.1549538271173; Thu, 07 Feb 2019 03:17:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549538271; cv=none; d=google.com; s=arc-20160816; b=mFV9LcskV+WANPXzs0NTwFYZ4k4//m4LTLbBtAF5KiMadEQNdlNca4hMrV0Ezvq5yB V6R3RUQ4dhv0IjJaYM4zOqhOBdPy4XVFyZORDTai7kxhLO4bgtfhwR5QlPGslLSkouGQ E/Iq7ksi3Md3M9/yI+nyAbNXcOuorTbKG5QDSy/pCJGlJei4Q+gJqHXt6Vp9P9fKJkZA EM7aE2tvppmhOvXo5bg8R3TtbBJCZioBdeydt99F9n6Y3lu09vw4mdYGK9Vo1olvcds1 J+jS24oBIR6dd1D3al3XipjrkZvByzz3SNQVPbYe9wZxKMnDl8tL7b44YzuIIvBLhojv KQAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QnEuMYZYNfZTiAaCyfHqZT4lfGHr0o+uMykks6XX9xA=; b=JgaNXG1j9gbbmYkjooMJ2soVIPo1vRA4A5BnRcsCLbAL9lUOGCqWJZuHpSYwfcxhA9 HIzjhAefttIrajbohDjHT4SXcSSqmML5QMfUJcX33NBnwPAczcuvh4sz4QJ/kRR966/C RdoXq9HzvESgAsgZJNr+uHMLJAjaGILyt4KkRYr3oyfj1Pd3T8yjHiGRbQCHHIqa6cBE XZXthnZbOrCNpeC6WQf5XPOM+HXgMY5QgxBPDsrydt++jySiMU+uEkabLmhQBEJtBEp3 ze7PR9M1RIfj4M/msnBQZ0fBux3MigNlwPlqw45SuSCfNI0VFHS+q6kliG4ae860vRYh Rykg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bxCvqmZY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h91si8797922pld.411.2019.02.07.03.17.50; Thu, 07 Feb 2019 03:17:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bxCvqmZY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727132AbfBGLRt (ORCPT + 31 others); Thu, 7 Feb 2019 06:17:49 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46306 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbfBGLRq (ORCPT ); Thu, 7 Feb 2019 06:17:46 -0500 Received: by mail-wr1-f65.google.com with SMTP id l9so11039912wrt.13 for ; Thu, 07 Feb 2019 03:17:44 -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=QnEuMYZYNfZTiAaCyfHqZT4lfGHr0o+uMykks6XX9xA=; b=bxCvqmZYTN7U9/njoi8RrudRZSox1QAoMxC0MiTwAetGy1HxGFuJBjmjPC3xWmR+fc 9+sHOkP/Bjto6EnjqgE/rHZK3cqT3z10RMM+U/P/xO9F/bIJAHi4QUcQGLtqo2H4TIEe h7ar0Rw/K1QRa2FLHih/aMF78EIaOeMqr+6yGbmSg2AjqWGTPUfNH2i7CaLSMz48OvIA YHntYDfqNBjUSYxocx6c6rluSxb5jiZGAsU2snxSWiRyu32SV2FBIlf1xK4LcPHWd4gJ 3rYXc2Cahcz5orrUaQsftIl/2THWOhoIqUujhKkk4hRu2FbGJrozhG66O63AOk6MafrL 1HaA== 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=QnEuMYZYNfZTiAaCyfHqZT4lfGHr0o+uMykks6XX9xA=; b=Dg9msyqACui7ZDx984iWUTPZqcdHPUOuicqIxWLURvaQcrZ7UjPnsGBieZentDk2FY YPmUIyXr3lf8Sups5w49AIUH0xTmKava7Qg5u++ct7H74IgrLzYpDLLV5ra0QhrDIHIr pHeNrbcOYZqOVC4eRgKTRT6gtEagsjptpo+7e1aEWmuaQYMSMCBouhb6c0aZm3itJg9g Ht+gtslmEfnVik3w9FoxEhGqwX3tpgK9Jka4RzfiWtt0n65Rs8qdUiBzvhhvbR2Hgl4o 011zzBQLuVtN7QKe4BJUsnaMYcF86uFJtwUMacTyqd9iGuSmmc208JUc5Ia02lzRN8KK 97oA== X-Gm-Message-State: AHQUAubM5M647wzPLuf9LMO0iPZ88vwu20WFu944A/VjsTZGzWX3e7VV t5+p0/fB1UOdVwEholYvYY1ltQ== X-Received: by 2002:adf:84e4:: with SMTP id 91mr11726200wrg.237.1549538264038; Thu, 07 Feb 2019 03:17:44 -0800 (PST) Received: from localhost.localdomain (42.red-95-121-90.dynamicip.rima-tde.net. [95.121.90.42]) by smtp.gmail.com with ESMTPSA id a62sm24490224wmf.47.2019.02.07.03.17.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Feb 2019 03:17:43 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, robh@kernel.org, bjorn.andersson@linaro.org Cc: swboyd@chromium.org, andy.gross@linaro.org, shawn.guo@linaro.org, gregkh@linuxfoundation.org, mark.rutland@arm.com, kishon@ti.com, jackp@codeaurora.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, khasim.mohammed@linaro.org Subject: [PATCH v4 3/4] dt-bindings: Add Qualcomm USB SuperSpeed PHY bindings Date: Thu, 7 Feb 2019 12:17:33 +0100 Message-Id: <20190207111734.24171-4-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190207111734.24171-1-jorge.ramirez-ortiz@linaro.org> References: <20190207111734.24171-1-jorge.ramirez-ortiz@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Binding description for Qualcomm's Synopsys 1.0.0 SuperSpeed phy controller embedded in QCS404. Based on Sriharsha Allenki's original definitions. Signed-off-by: Jorge Ramirez-Ortiz --- .../bindings/phy/qcom,snps-usb-ssphy.txt | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,snps-usb-ssphy.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-usb-ssphy.txt b/Documentation/devicetree/bindings/phy/qcom,snps-usb-ssphy.txt new file mode 100644 index 000000000000..354e6f9cef62 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,snps-usb-ssphy.txt @@ -0,0 +1,79 @@ +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,snps-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 properties: + +- resets: + Value type: + Definition: See reset.txt section "consumers". Specifiers for COM and + PHY 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. + +Required child nodes: + +- usb connector node as defined in bindings/connector/usb-connector.txt + containing the property vbus-supply. + +Example: + +usb3_phy: usb3-phy@78000 { + compatible = "qcom,snps-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>; + usb3_c_connector: usb3-c-connector { + compatible = "usb-c-connector"; + label = "USB-C"; + type = "micro"; + vbus-supply = <&usb3_vbus_reg>; + }; +};