Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp102589ybh; Fri, 13 Mar 2020 17:55:53 -0700 (PDT) X-Google-Smtp-Source: ADFU+vteSo69IUJkGo86nGN+Ng+2clM+S0FKjUhIFaBAIH+xlOpsdpSPmcj1Saaa0lb4y3F2a0jT X-Received: by 2002:a9d:22:: with SMTP id 31mr12707873ota.173.1584147353122; Fri, 13 Mar 2020 17:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584147353; cv=none; d=google.com; s=arc-20160816; b=lByO1HAjghXcw/v7kbXh0vHNllLv6/QiU9hqxMmTWGEcAeEsim+wrBWJ+Jgd3OLVP3 ap2L/tcU+nVigVJGo7yuavhwbg8cDX7/kveR/bURewtKBBvSU8Eli/elOX7dX3XALmTP YcTG2Aa62plKCwLJ7OPwgJiH7hBvKorW0nxUNUU8ce9eiJKO8z4HKgeYWyGpXMmQEUCD xqT6QZVyZv5mZtg4FZ6uu5vC/Vi3CZPy56kASqnw+C4gHBCHVKf7c6YO1aLMbuvBQynP P4wWGFmPR7MDSuCfP28q+zDoyo6RMw6//sVgRK5d23SLZ5jnNPiTlSOJb+PME0nIiCuF DCOQ== 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:dmarc-filter:dkim-signature; bh=hb6tu0nDOFJcrv92gcih7zFdKzp38gkPg0cH8w+wR+w=; b=dlPWRWjrxLUqytNiJ3uRtaekFHiEnIG/QZ2/BU3bLVv4QE49wybtG7Ubc+Vkkv0XE2 SS+40xxA9xC3e3AF0hqD8z2n2pTolhjVpaTvX+QNvKeRTZbsiEr341fjp88f3k1G75c+ JE08VOD0t9frg5dcRWmLcJzEEjm2Izm2iuAcjENM4Hv2VZxXpYsxze0kvmSuBh2djpcv EBdHp7SSGRvmJSXjENc4GT/GlxqiWJqmKFGOTEN3rnjniA9HhIcJEmA1veseAStiuY+i 7Wzb91P+mPRPoFP2DF9YHSeQnKbxM1egWiO7qnTvooI5l6c31UTcgKlCYGYbGLtO+rp5 tuKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=M5Jirwb2; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p6si5505781oth.259.2020.03.13.17.55.41; Fri, 13 Mar 2020 17:55:53 -0700 (PDT) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=M5Jirwb2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727738AbgCNAzO (ORCPT + 99 others); Fri, 13 Mar 2020 20:55:14 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:50379 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbgCNAzM (ORCPT ); Fri, 13 Mar 2020 20:55:12 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1584147312; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=hb6tu0nDOFJcrv92gcih7zFdKzp38gkPg0cH8w+wR+w=; b=M5Jirwb2e4nvTJkgAEo9iZ2xVMqcacYQmCzIN7mneBt3PQnKFleVgnNkYpHSdZNk91od3HVT 8RAfZx/bzJ1UrJObPixxCJllSN9cf/D0mH1kNbHSedNFznTX76m6yixh2c1ElRS+Qszjg2xY d7EybDqyEzQF8FycY8ww8QbAo8A= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e6c2b66.7f25ed075848-smtp-out-n01; Sat, 14 Mar 2020 00:55:02 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BCCCAC433CB; Sat, 14 Mar 2020 00:55:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from wcheng-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id DAF9FC433D2; Sat, 14 Mar 2020 00:54:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DAF9FC433D2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=wcheng@codeaurora.org From: Wesley Cheng To: agross@kernel.org, bjorn.andersson@linaro.org, kishon@ti.com, robh+dt@kernel.org, mark.rutland@arm.com, p.zabel@pengutronix.de Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Wesley Cheng Subject: [PATCH 1/4] dt-bindings: phy: Add binding for qcom,usb-hs-7nm Date: Fri, 13 Mar 2020 17:54:50 -0700 Message-Id: <1584147293-6763-2-git-send-email-wcheng@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1584147293-6763-1-git-send-email-wcheng@codeaurora.org> References: <1584147293-6763-1-git-send-email-wcheng@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This binding shows the descriptions and properties for the 7nm Synopsis HS USB PHY used on QCOM platforms. Signed-off-by: Wesley Cheng --- .../devicetree/bindings/phy/qcom,usb-hs-7nm.yaml | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml new file mode 100644 index 0000000..ec64ceb --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/qcom,usb-hs-7nm.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm Synopsys 7nm High-Speed USB PHY + +description: | + Qualcomm Hi-Speed 7nm USB PHY + +properties: + compatible: + enum: + - qcom,usb-snps-hs-7nm-phy + - qcom,sm8150-usb-hs-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: rpmhcc ref clock + + clock-names: + items: + - const: ref + + resets: + items: + - description: PHY core reset + + vdda-pll-supply: + description: phandle to the regulator VDD supply node. + + vdda18-supply: + description: phandle to the regulator 1.8V supply node. + + vdda33-supply: + description: phandle to the regulator 3.3V supply node. + +required: + - compatible + - reg + - "#phy-cells" + - clocks + - clock-names + - resets + - vdda-pll-supply + - vdda18-supply + - vdda33-supply + +additionalProperties: false + +examples: + - | + #include + #include + usb_1_hsphy: phy@88e2000 { + compatible = "qcom,usb-snps-hs-7nm-phy", + "qcom,sm8150-usb-hs-phy"; + reg = <0 0x088e2000 0 0x400>; + status = "disabled"; + #phy-cells = <0>; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "ref"; + + resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; + }; +... \ No newline at end of file -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project