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: 153101 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp301320ljp; Fri, 7 Dec 2018 01:56:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/VUOrDTCHVuzlJfJbcO4FnjDS7cXk6pTzsE7tABnRsolTT6iAfhWvojId+SlEALnqF6zXOB X-Received: by 2002:a62:710a:: with SMTP id m10mr1556198pfc.69.1544176578554; Fri, 07 Dec 2018 01:56:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544176578; cv=none; d=google.com; s=arc-20160816; b=fM6tN9bY6b3ydLzSeUuA3UW07QXGf+8JQzc4FCH6RowCDyFy5XGASkFRhj4c3LEGyl N1Pbm+CtsQCHZBbu2b9i+FQnk5x97tE9zzGJxrNtWn8BbL4etm0X4RyTj+c7/rH+QRwf GY5It8iuRfkwaJOlFcg1sUf1sbDjOuhHK0Nqcdb5rokWsXIJMvj+s7KjZSmK01e/SX5q SaogxnkTxY2+we+Elu6h57OtrcOLBPfBf8+eb5l2eB8nu3x2ETMoN4Qnlm1+9UC1HSO2 dLfVp22VSa0qq4vSbKRdkP79A3kxE6d2RlCYFQM6NGWt0A7mBNxrj6rx3GDaNK1FuCrq 3NpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=bxxkWbXvkYGqIeLqYBC5ySezjbblFHISKHwaIRuZ2sA=; b=wqB9I5G36Vq+PDoQMkQeefzXeeRvQhs9FoPPEAP/QGomFQLOM0Sd4IjTTULWUkimED 0Gxjv5MOpyyGwU1MolVIQ789pn2Mw8EqzPwKDJaoFgg9HGDmycWkh8SGgxw87QaaHkpP 9DCCkiTrmEYhV5pIx+gn2Y03evtMuATPDqckf+F8mWbyI+mVS4/kTEgDsVc6yO2C5rIl KPFfUBK+zP6/gwXp40r4+/Evgn7mOeCWf8ugoS1dqHy++6qVswiUMO/f6blf9gQiAKxT GP7FIMtKi+/a3Y8U+yRxv1unlIepxRI0swwKtKJc48yvPfVq1/i4YvtVwuUWh1PprEGc vX2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CLZtFOZj; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 a8si2307758pgw.380.2018.12.07.01.56.18; Fri, 07 Dec 2018 01:56:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=CLZtFOZj; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726057AbeLGJ4Q (ORCPT + 6 others); Fri, 7 Dec 2018 04:56:16 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:42243 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbeLGJ4Q (ORCPT ); Fri, 7 Dec 2018 04:56:16 -0500 Received: by mail-wr1-f66.google.com with SMTP id q18so3175036wrx.9 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=rwZTOiW+9KxdJVh9hgQFd7gKEwkpPJPWaqZ7tWzgRnjNPs9dxFTNllAVt8yqb760wL 3CyUFEw/DfNcUPwMiIAnfIuvx+JrGpNG7+DmOsyysc/LTTGnB32+wn91ugyAScMHJpXr cl2MZi0w6/71mpPCSJek+XKW/KTI9oUg601sjFtcQGFpzq4B8a6EndOJ6UsJks/ORZhF wHBfbGJizBpAOcBbL5mgxyIigz1nuKtqTrAG//HmM38sydDcZZOBpnvxdeADJ3zqaU02 OyGhk1gUtdmLfK9qWmIxZz4FVJM4RT0QcDwsjm6k1E850LHUGtFrNC84t8eM/nHFIy/9 aP2A== X-Gm-Message-State: AA+aEWafBy37C2MsQlddpo+rJpoPAdzCy9imDdTP63cTE9lRfaHIlicn caZ1bJLHjJcD0CiNxom/D3ynHA== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.7.4 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>; +};