Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1494651rwl; Wed, 5 Apr 2023 18:55:01 -0700 (PDT) X-Google-Smtp-Source: AKy350a0lrEmJUOv58O/uJSMzODRwHy2uPmeJ8lICAue78dpyLWf44D7VUx2z/rCkhPIMjGpCOTB X-Received: by 2002:a17:906:ecb5:b0:931:d350:9aef with SMTP id qh21-20020a170906ecb500b00931d3509aefmr5009848ejb.25.1680746101666; Wed, 05 Apr 2023 18:55:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680746101; cv=none; d=google.com; s=arc-20160816; b=sp2uCingVd1aC4rKt+oPpiG1Yr/c9I99ehV2nPBqPmzZCRYNylecXyLs1PpOFqhqWQ aM7WbeSq+X/cfcd2hIoRvkROJPtviWHAi95/4viEi0E67xIz/T5QxIS0vSOMMQ0xITDO SUVIODN2/oM8FE0D6xgB9X6BfQ4Wdre6JxKhpVqvUfKiZmI6TDb4jR2dGuv3TauDfcto RdPJZM63wRq4BMJ57tRVudiyKI3yQfv7QPyXZIIsYZZ+v10jNK7DSxCX7zEShwclyFmh dwefMr11Hjl9bEYJUv2+9YeiuKzzIV8gy/jdvLH56Qi6z+Ur6UfprSlbNwjiZ30EchQR fQ7A== 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=7kDN5mcp7p1wDL7l2OaMfr2tZDU+dhuGEvsUvQmwJ84=; b=0Vi6knTx7lRvNTZ5E0XZs81op1zi6Wc6KtVShtHZJkzhJU31n65R6eyj8WCo/Tzu/q fYWVbU1x7O76x4zZDUcYWhI7CLMAxJsLPyMevAcPTzSKsmAJUyWrM5jL/uZzDx/A3R7t P5p9SPhyHxtmhFTfo7CtaGyGFH5fL/Jx+jcmGeI4W+ZElnCARy4Cg5k5wV6UI55qUA39 2nlVBt8XwZlHTwIUpWClTb2sPLa/+MT2fjt4syyixdGTAGIt2KbH8ni7UXSK+Vf44L72 i2MslQghVheU/KXvepzlRVyO6NyTwOr++xVLIiDll4Yc9Cj86TUXKnhfha/7nQ+fUyQU RSdA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020a1709064d5a00b0093038215ad2si187098ejv.591.2023.04.05.18.54.37; Wed, 05 Apr 2023 18:55:01 -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 S234587AbjDFBwi (ORCPT + 99 others); Wed, 5 Apr 2023 21:52:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233280AbjDFBw2 (ORCPT ); Wed, 5 Apr 2023 21:52:28 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1679F7D97; Wed, 5 Apr 2023 18:52:27 -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 AE94F24E053; Thu, 6 Apr 2023 09:52:20 +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, 6 Apr 2023 09:52:20 +0800 Received: from ubuntu.localdomain (183.27.97.179) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 6 Apr 2023 09:52:19 +0800 From: Minda Chen To: Emil Renner Berthing , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Pawel Laszczak , Greg Kroah-Hartman , Peter Chen , Roger Quadros , Philipp Zabel CC: , , , , , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Minda Chen" , Mason Huo Subject: [PATCH v4 1/7] dt-bindings: phy: Add StarFive JH7110 USB document Date: Thu, 6 Apr 2023 09:52:10 +0800 Message-ID: <20230406015216.27034-2-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230406015216.27034-1-minda.chen@starfivetech.com> References: <20230406015216.27034-1-minda.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.97.179] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Add StarFive JH7110 SoC USB 2.0 PHY dt-binding. Signed-off-by: Minda Chen --- .../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..80604dfe01f0 --- /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 USB 2.0 PHY + +maintainers: + - Minda Chen + +properties: + compatible: + const: starfive,jh7110-usb-phy + + reg: + maxItems: 1 + + "#phy-cells": + const: 0 + + clocks: + items: + - description: usb 125m clock + - description: app 125m clock + + clock-names: + items: + - const: 125m + - const: app_125 + +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_125"; + #phy-cells = <0>; + }; -- 2.17.1