From patchwork Thu Jun 29 07:51:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 114201 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9469762vqr; Thu, 29 Jun 2023 01:01:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4tJPmuwjnG83MxWm5QOoExFLaziw5lkNGuJpHSs6lrWdC7xj1nBYYEs8kRXiqKPdx/BpWC X-Received: by 2002:a05:6a20:8e19:b0:11a:efaa:eb88 with SMTP id y25-20020a056a208e1900b0011aefaaeb88mr46620767pzj.3.1688025711843; Thu, 29 Jun 2023 01:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688025711; cv=none; d=google.com; s=arc-20160816; b=w/nXE1kBSsKenLHk++JEPoOipEcrh8tucMlOlfU5x36rrNkSjDwyWlwJrAeJB1knyt uqE62VF5ec87zYXtIBgweT0DhAt0DDMweANVg7GGV+eYQcnEuThV7ORO9rZeGsO3OZHn CxiJJpr70XCPZvewfLr49Xne0oc+C6+RgQiMUH1O7h4WBhlEXNJqUUDoiGbj7afKBxF0 15gBQnvQYaHL0xXgqKZ7vHFgkFZGtPPxZpZnuiYX7vW5g+iviMYeKD0tmbAIeUPfus40 Jw9TjTJx9yiqzbtrWBv1LT2R8208xAfdGG96j3+F7tcHgrGnW+h3cKKOxgf692ZJIAGw joaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=U1AuiOsn2Q1STJ3ktNSQJuRVqppBEkzsGaOOi2TNlRI=; fh=eeODssFzCiLuj4Y2Poz4a1+JaBBLhhwnNU23JWsakRA=; b=M70B0vAuOpIqg7LLN/h9qZyXdL4GkHUhfHP0dEzSg8wUGWqFS2MorY3Hd/wn6niLdl HRxPhl03FroNYIpaYSp+HVG++UYXq50qrMo0sM3UDgXyOmk2nMthEir8UCxwwsjOOllu I13rOAeyxmWXvpjhZ5mFW2gLwUHdiFNnJYhdR37n3LNhycv5n+59Lm/bvHjuy2P5Mz+I xO7Us3UXePz/kc+NIopuARno2m2/X4PzuI/8v7Ea/N98o5sO/gtBeTwjoFPrsLZV5tp7 gS31yzxxHgRYkU845FcNgcS/WNSY3PlcmVgAsF7zoHlFcxNYE1bY2ncSFvF9vhI6D1CK 6UyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ck9-20020a056a00328900b0066e4ceca38fsi9094759pfb.283.2023.06.29.01.01.29; Thu, 29 Jun 2023 01:01:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232066AbjF2Hx0 (ORCPT + 99 others); Thu, 29 Jun 2023 03:53:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232242AbjF2Hwl (ORCPT ); Thu, 29 Jun 2023 03:52:41 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63DB03AAE; Thu, 29 Jun 2023 00:51:20 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 5B76024E2D3; Thu, 29 Jun 2023 15:51:18 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 29 Jun 2023 15:51:18 +0800 Received: from ubuntu.localdomain (183.27.97.206) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 29 Jun 2023 15:51:17 +0800 From: Minda Chen To: Emil Renner Berthing , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Roger Quadros CC: , , , , "Paul Walmsley" , Palmer Dabbelt , Albert Ou , Minda Chen , Mason Huo Subject: [PATCH v8 1/5] dt-bindings: phy: Add StarFive JH7110 USB PHY Date: Thu, 29 Jun 2023 15:51:11 +0800 Message-ID: <20230629075115.11934-2-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230629075115.11934-1-minda.chen@starfivetech.com> References: <20230629075115.11934-1-minda.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.97.206] X-ClientProxiedBy: EXCAS063.cuchost.com (172.16.6.23) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770023248877467715?= X-GMAIL-MSGID: =?utf-8?q?1770023248877467715?= Add StarFive JH7110 SoC USB 2.0 PHY dt-binding. Signed-off-by: Minda Chen Reviewed-by: Hal Feng Reviewed-by: Rob Herring Reviewed-by: Roger Quadros --- .../bindings/phy/starfive,jh7110-usb-phy.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml b/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml new file mode 100644 index 000000000000..269e9f9f12b6 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/starfive,jh7110-usb-phy.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/starfive,jh7110-usb-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: StarFive JH7110 USB 2.0 PHY + +maintainers: + - Minda Chen + +properties: + compatible: + const: starfive,jh7110-usb-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: PHY 125m + - description: app 125m + + clock-names: + items: + - const: 125m + - const: app_125m + +required: + - compatible + - reg + - clocks + - clock-names + - "#phy-cells" + +additionalProperties: false + +examples: + - | + phy@10200000 { + compatible = "starfive,jh7110-usb-phy"; + reg = <0x10200000 0x10000>; + clocks = <&syscrg 95>, + <&stgcrg 6>; + clock-names = "125m", "app_125m"; + #phy-cells = <0>; + };