From patchwork Thu Apr 20 11:00:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 85858 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp253029vqo; Thu, 20 Apr 2023 04:17:41 -0700 (PDT) X-Google-Smtp-Source: AKy350a98Vcx+7NdOG9b8pyowDB0pC8arUHcfJu9AqCf08dBc7aR9NL7NEK8mrL7qS5OIKCigKQg X-Received: by 2002:a05:6a00:2e8b:b0:63d:3a99:f9f0 with SMTP id fd11-20020a056a002e8b00b0063d3a99f9f0mr1180603pfb.3.1681989461608; Thu, 20 Apr 2023 04:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681989461; cv=none; d=google.com; s=arc-20160816; b=AWBTfp+KFo7YBmzT3TZ4oGBnqtefiqASdWic0N3eV33Cbg4NJ9tmfcGSCRFhoEsvki BKl95sSDzG64LNhTP8v4fORp6a9a6TLN32fMN/qlWEYHM5WXZVf5ugvqKG7HdBGzhHeM aXRqfQVEhWUkF/oZ+L7VfHzgEk/q1tMpDy57uGP22qx0n7Ys2BKq3aWAZwA3qY225Vaa 7a69SUy1N9m/U7lmGBAX1eq3zmNZY/YhPlKx1pGOBtdBzc1aBylry1sEpvJ4nYiI9NDK wTjXqPi/3ODoYUr9KQcKSaKK0Va3Hjm2BwNUmrNPa4L/itKQwGQVy3IFjX7PLQE0oonM bzrQ== 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=he56QCJbd+fj8dAG3QlYDghcEIW5P/xkEhTq7LfT6g4=; b=ooki7c9egab/EIdTBKjx5nHSJUWVNJ5K8EclzAlwGeiF5JukJF+snq4e3il/u1sjBE gmjRwKIq7OjR0kPr8FGK1F/tI01UMMrB8LAvZOQVbsBIMQOQS6vHIAa5WGIsFaTtOef1 A7G6oC86gwZEEraLfOzk/MZ1nkTsSJJ6fuPgxTK3Y2PQ+SmM1mpwWFKCvIge1iBbniGv Wg7KOmNIaIHV/+HUduWQQsbhllZekwn8LHdAujCEtxsTLoxz8nwzEbp/LVJXCjQCYuBP AVCrkU49DseuA7wQ3sADwzRr58mJLAFnTvCvf//63FRC52y8zL5DDzWEo32xjhE7BZzM /eoQ== 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 h191-20020a6383c8000000b00513f9dbbdb9si1480525pge.275.2023.04.20.04.17.26; Thu, 20 Apr 2023 04:17:41 -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 S235310AbjDTLFu (ORCPT + 99 others); Thu, 20 Apr 2023 07:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235277AbjDTLEe (ORCPT ); Thu, 20 Apr 2023 07:04:34 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E256D7695; Thu, 20 Apr 2023 04:03:15 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id 969B324E116; Thu, 20 Apr 2023 19:00:55 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 20 Apr 2023 19:00:55 +0800 Received: from ubuntu.localdomain (113.72.144.253) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 20 Apr 2023 19:00:54 +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 v5 1/7] dt-bindings: phy: Add StarFive JH7110 USB PHY Date: Thu, 20 Apr 2023 19:00:46 +0800 Message-ID: <20230420110052.3182-2-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230420110052.3182-1-minda.chen@starfivetech.com> References: <20230420110052.3182-1-minda.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [113.72.144.253] 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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,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?1763693782045722277?= X-GMAIL-MSGID: =?utf-8?q?1763693782045722277?= Add StarFive JH7110 SoC USB 2.0 PHY dt-binding. Signed-off-by: Minda Chen Reviewed-by: Hal Feng Reviewed-by: Rob Herring --- .../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>; + };