From patchwork Tue May 2 08:18:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 89274 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp443172vqo; Tue, 2 May 2023 01:30:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fZ1pm/2CDINB+KIojwcZKZnlYOhBXJ2KEW3WNFoJM0IwoUyvTCVie+hTr5+XohVAekjY7 X-Received: by 2002:a17:902:ce91:b0:1aa:ef83:34be with SMTP id f17-20020a170902ce9100b001aaef8334bemr8410824plg.47.1683016200478; Tue, 02 May 2023 01:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683016200; cv=none; d=google.com; s=arc-20160816; b=KchZ3e0jwVkAD2/bltGdKLOmCNlqyhjK/L/dQP6EaSpdVeGTAI4BXJjiygGBn11Ilt +YUa33fGh6rnFpA+KI8q64ZGqsCLWAbFxm83rhC7yoJRhjrajfZPWS0TsqGek130B/Cq FN83BdZcgrtC8NJZ47L/wjkMmzYkpp90Fgq6LxD3Pc3w+N948EvHfbLP5A4c8bBJpI88 eOd3WKxx4N19whz6mAHhzAQg3PCd6IyoMOhWLazBe9urcsievaxzLmYBSdVCV7vp4ebb jGhMvWUW8WW2GgRbB7Wv+4yVPLz5Xpi56vDqzzNUZnLlEqGuWrSHyNGuWaZn2Xkd9JxJ P7WA== 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=i59B5ZIodxmar+Jveu3G8sjKpOO0ekxrzjm/10eKquQ=; b=rPjfNn/fpJaxtDv6hfLDyfGgFCoxFDB07WZXKjtGajxRkLH10TJfpKvukvToYzZOJT VEuxMtEQbalUU4NWyTTO5ampKIbyfF4MGouSYQirDjAQ8F0ygSd8WCvzDrrFizMs8Jkw o6/Wr238tBAphG/ZTc8cdrVAuZB/xMH8AWlEhw5LViHa4ACbu3GbOq2auzHzpbuUi16i LbyjNqn48XlIWdyU85JXA093jz5MyIV6AW+p+WIhAmGpLHaY6kg7kcFZZu6XAP0MBOj4 E0haErSFlAROwgU6PbDbSL125q0Xh0AKQZboZ/Y2O6gZSsnIqe5FycMrggV7JYHceUiq Du3w== 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 r24-20020a170902be1800b0019ca5ddecfesi723829pls.92.2023.05.02.01.29.47; Tue, 02 May 2023 01:30:00 -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 S233802AbjEBITu (ORCPT + 99 others); Tue, 2 May 2023 04:19:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233786AbjEBITq (ORCPT ); Tue, 2 May 2023 04:19:46 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D63C4EF6; Tue, 2 May 2023 01:19:33 -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 C7FF124DE41; Tue, 2 May 2023 16:18:07 +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; Tue, 2 May 2023 16:18:07 +0800 Received: from ubuntu.localdomain (183.27.99.121) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 2 May 2023 16:18:06 +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 v1 1/2] dt-binding: cdns,usb3: Add clock and reset Date: Tue, 2 May 2023 16:18:04 +0800 Message-ID: <20230502081805.112149-2-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230502081805.112149-1-minda.chen@starfivetech.com> References: <20230502081805.112149-1-minda.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.99.121] 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?1764770395144495928?= X-GMAIL-MSGID: =?utf-8?q?1764770395144495928?= To support generic clock and reset init in Cadence USBSS controller. Add clock and reset dts configuration. Signed-off-by: Minda Chen --- Documentation/devicetree/bindings/usb/cdns,usb3.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml index cae46c4982ad..7bffd8fb1e38 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 + + clock-names: + minItems: 1 + + resets: + minItems: 1 + + reset-names: + minItems: 1 + dr_mode: enum: [host, otg, peripheral]