From patchwork Thu Apr 6 01:52:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 80020 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp710719vqo; Wed, 5 Apr 2023 18:55:27 -0700 (PDT) X-Google-Smtp-Source: AKy350bYJpxeygGZzRrbPh/NFi+wDM1DSn0h7ac86mWQugpPdp9dZhKapBwD3pV444M3qfVI+6AB X-Received: by 2002:a17:906:3090:b0:93f:9594:d97d with SMTP id 16-20020a170906309000b0093f9594d97dmr5104985ejv.14.1680746127109; Wed, 05 Apr 2023 18:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680746127; cv=none; d=google.com; s=arc-20160816; b=035iHXrnwuZcY/Wj6u7Y+XCQZmC/9LeMo91VCCEfhmqaqxWq8KVQ9KHtd5zbr4LH+O lbraJ2Z5Cin56ojJf2ijdok3jBwk7kItDZsqvFqJxYM8wgcKUVlcAg2a3YQqO9FogU1d UXFw8BK7lFMSy6TeReCXzalZFLXt3HHLSFtXCblKUwQJ8t01I2tr4qchJbEa48iwhkf4 hSyVJdNFtHGYla5pn5Bioi78ma/wXWaR8rKH1EjC9oX6FEhTr9cWFtjZOeyhQyvvc+Bl 0wXqVaxxSe+kif3+ZhEqOVR6cABlPE9zXtLwpAtOgqyrIvtnEqrjLnYUGuWFZSHIqGaR 3OJg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gj2-20020a170906e10200b00949562c1163si189416ejb.957.2023.04.05.18.55.02; Wed, 05 Apr 2023 18:55:27 -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 S232252AbjDFBwi (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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762390050784554357?= X-GMAIL-MSGID: =?utf-8?q?1762390050784554357?= 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>; + };