Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7295913rwr; Wed, 10 May 2023 06:35:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IEZNWZuy59AGpJZN4WrPa2fdkmq/LXvUtdxqBTnttyipA1WcpnTJgCWsgvimLYzLHj9po X-Received: by 2002:a05:6a20:7f92:b0:100:b126:dd27 with SMTP id d18-20020a056a207f9200b00100b126dd27mr11876118pzj.15.1683725744056; Wed, 10 May 2023 06:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683725744; cv=none; d=google.com; s=arc-20160816; b=fHiIVaDWmt94IObW4WR8mSQLMNC4HPx8YOqCWaDtHg5tvxDj4QedRVk4oVYJ9IgpXk a376B2wX3VRy0K69yszV4GhgjTaYLmTHMGrxrxhFUeiUPK6uSW/tWW5+Pa5j8VseeTtA k9ezhyFJ5kQs43lyTe4UzfH61bxopxa8T0FCUoU8kzEpoR77xdirEaEOeKWE1Tzvb4zD +HWhbEmG+PdldQL4wduk1iWR8FOGVkyZWYe95cAfuTQ5f2giPhm2CKVn2YJ+nEitJWyG v25T2io1cYIdWg9r1Sr5RgRJKnnt53pJ6ddx7TEmVg5GGDSkitz48wTE27PG/ceNoUXF +VsA== 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=LGEXP+3/WuwSWAxOXNWbYZp4j1IisJ1deBO12iuGOm8=; b=G2C/0MkCFSRVrmoZSL/BS9loRvhTRKJKmfMLYLTtFvCo+7Hhe4ROWRnZGrqJiMavo0 YIX18Qtcf7xEAd58s5Tcyz8QaQZ2pZHopW9r9epqMCVLO03Lpum1b+FXsb+OMJBJ6BHh gephDQfnBC4RKQUSBKrqP62uLrATf3Z6cWEJ3+yNstOgJavOkbeX0t59Bh9bc8HSsGHP QBtvv8YxTPX8LKayvZQUs0IgdNB9QjDEfNoIyTEMfV6eGxjZYiGSceIxgXQF6whA067E kD9DDACM+ZX1prss7XmmcZAbfPxJWClXVCGddoujUb/kLMTJFVKKRE+T8aaEJ8+w4o/T spDg== 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 d20-20020aa797b4000000b00643a1750a5bsi5024049pfq.273.2023.05.10.06.35.29; Wed, 10 May 2023 06:35:44 -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 S237097AbjEJN2e (ORCPT + 99 others); Wed, 10 May 2023 09:28:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237082AbjEJN2c (ORCPT ); Wed, 10 May 2023 09:28:32 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0CB861B2; Wed, 10 May 2023 06:28:22 -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 D411D24E143; Wed, 10 May 2023 21:28: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; Wed, 10 May 2023 21:28:18 +0800 Received: from ubuntu.localdomain (183.27.98.219) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 10 May 2023 21:28:17 +0800 From: Minda Chen To: Rob Herring , Krzysztof Kozlowski , Pawel Laszczak , Greg Kroah-Hartman , Peter Chen , Roger Quadros , Philipp Zabel CC: , , , Minda Chen Subject: [PATCH v2 1/2] dt-bindings: cdns,usb3: Add clock and reset Date: Wed, 10 May 2023 21:28:15 +0800 Message-ID: <20230510132816.108820-2-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230510132816.108820-1-minda.chen@starfivetech.com> References: <20230510132816.108820-1-minda.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.98.219] 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,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 To support generic clock and reset init in Cadence USBSS controller, add clock and reset dts configuration. Signed-off-by: Minda Chen --- .../devicetree/bindings/usb/cdns,usb3.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml index cae46c4982ad..623c6b34dee3 100644 --- a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml +++ b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml @@ -42,6 +42,18 @@ properties: - const: otg - const: wakeup + clocks: + minItems: 1 + maxItems: 8 + description: + USB controller clocks. + + resets: + minItems: 1 + maxItems: 8 + description: + USB controller generic resets. + dr_mode: enum: [host, otg, peripheral] @@ -98,5 +110,7 @@ examples: interrupt-names = "host", "peripheral", "otg"; maximum-speed = "super-speed"; dr_mode = "otg"; + clocks = <&clk 1>, <&clk 2>, <&clk 3>; + resets = <&rst 1>, <&rst 2>, <&rst 3>; }; }; -- 2.17.1