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: 157081 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6286338jaa; Wed, 30 Jan 2019 10:50:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5rIcEZVh3tYk5b3ooQpTTps0/yfPTJwiiPMpiveg/EmaBmSWvuBsRKJrqCVfBu1Y0nbsNe X-Received: by 2002:a63:d208:: with SMTP id a8mr28135181pgg.77.1548874246623; Wed, 30 Jan 2019 10:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548874246; cv=none; d=google.com; s=arc-20160816; b=LarYVR/2YM/TmzlkZK9RW0WLK0EalN1NgQ1gx5Ioc3JDkYk3CL1T9+aHTdFge708da dFu3YcKN69OyBWtjED6gYIzlWLWU1cQuXevEwf04KvM7DpnKfBs+KQxfiJ7ZisEiqwo0 DH/GIsxTiyZ6V2ltm+412MGrDL+9rtBW+Xoq2kuz07EC9HQ/fjLW86ahRIvKbay0ozjx Y10aAMg4/PoHaVCz5NNL6mDkh9JfTwKLkTHsAk+OjOE91a1FDvwtzGnmXhgl6zxjQrxt rKQYerPS4LNdv6i6UX1vJLMuRoLoCEX3eXDDhzJQd8JoF2f362oSExvsK2wOpHMqfcO+ d2Pw== 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=b8M0eSUZUgsVMGxbQEiMn7Shg3Ln/ABC8nhad3aEAW8=; b=ev9aa1qCbZvIHIHNGI3XISlFGle392zkZi+RY6sBcnH+T+b5DMGJmUftuPZp+h9ox6 /Lngm04e5+8apPCoX/C1HGmMy91qJLOqF6t36y6ygCIqKYB/KFSWEv6OwtWHOf6+L3XU Jxh+aFx0AuMZA7McOsZErcRj+XaiSgPH6EjRMyXTJf4fmEWBr/BPavr2zG93lOUGCobe Sk9qNrm6JXlBBnWD0EYWQYowEW56MksM+/8f9FW/16vVM0qslHkwvfusZJyF3Q1oUGeI spUK5yuYI3rGpyNKc1wamx5HCPiWfUnemLrzDPJhnL6ijHlbLJAXZW1COI49WSLIc9bV Hs4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dFDxQf+c; 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 z5si1808434pgu.19.2019.01.30.10.50.46; Wed, 30 Jan 2019 10:50:46 -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=dFDxQf+c; 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 S1733295AbfA3Sup (ORCPT + 31 others); Wed, 30 Jan 2019 13:50:45 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39390 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733269AbfA3Sum (ORCPT ); Wed, 30 Jan 2019 13:50:42 -0500 Received: by mail-wr1-f68.google.com with SMTP id t27so628165wra.6 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=IaXNECGHuxNEKo44SGqiYZ9JIJjhkA5T3gzCIjoIGbfGdKZdjjzUHfvSKmrXR5W/qZ B29WKAHqnwA7sCFsLQm5xZAAszjqZNp0iFT29McJFTHMk1vuu0FoR9vZy7qk5PyMIdyp TeR04rVqgTu8K0mZiBg8aAwAeVKeFcNuDMnywhBDeyms4+CGN4OtWUVxzJApIEPAnl4M /1vxohjjBIyzlDOHsXlxeIBD4aqMKBIflHzeDz0+dWQSjvIHEuFKeIBBX7yFUH1Dh167 bWh2GM76jMbgq/lVM6rrBNJUEJUDvmzWTnpA7WTVZuUjyfUsQMmZUs29lyCPc3pPJh8h aUZA== X-Gm-Message-State: AHQUAuZ5912ZOLFbRZVQ1irAAwEMmSo1hOwnn+gKtZjIQnuDTWac1z7F 6qUQ8my1XT4aAeAHqV5MEn9G3w== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.20.1 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>; +};