From patchwork Wed May 10 13:28:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 9146 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3624620vqo; Wed, 10 May 2023 06:30:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q8zTWgdVbVBZxaDaiS5RESM83Zq4jdixsJjAlsuwI5GqliIACsRyguo9gfq0FOvMEqR7u X-Received: by 2002:a05:6a00:190e:b0:646:2ec8:3360 with SMTP id y14-20020a056a00190e00b006462ec83360mr11848405pfi.23.1683725436117; Wed, 10 May 2023 06:30:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683725436; cv=none; d=google.com; s=arc-20160816; b=lXZn7vLev5RUy7MZal+XxZyizoVZ5GbmyGIjd/w2kBpp1NEPlt6bDdfej1mAW3yb5Y wzP33xd522VMR9qVgXFHtQY3eGnSQSD8arGhMxmbH4jbsGquqKkinz8RHDf/HBGiFETV aFHGgg+Kfoox/wh0tXSVmVb1ZDkARxER02mBKLDC+mpc2ImRBkMWCmBYHXkrOE//s/Ew 5xZoYtfdB5Gq3keF5mGuIqBmB3DnAADKEhFbhorEFR+FBUaHiQVh3JsMeY84/H0RtqG5 5kX2JUwEFRoFLY1w0kqnnzo7h/IGDT9L5g8WrQXhxjkf91bZwj+YCl7VaNTHAzTbZ7DP E8LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=ezPYjLD3hudci57/xwf4BEEcjgOhXNNQuo4/6rzkJbQ=; b=xwisZQ8S5Il+ljDkKNYO6/EP7Rp9agap42jC/AcVjtnmrMeeizMxfYazJADMzZT8NB E9L1F7oDPcN17r7gmrmPusRJsP3rkzM2Nt3cAeUQMMQCknEVeTAq3hbjVoYw3/m3ubDB 5XC3h9Kb0Zmrrg8J0rGdf0JrzVHbHColky7IMI8mLh8SMsyPEb4QJ6NQ4SMO0gtc9m9S W+qidDWnnxoTF/oK7gmR5nxYGfzW4aWJiw3M7raVEBRUvbaAi+lQWn0eSyFNTailR6mT WpZi8nw3iB8OcMiCzOT9J5L+jva0ZDvtyZgINH+frsfQTMgpMFkvWAAIoZxGALVU/jqb 6Fww== 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 d1-20020aa797a1000000b0063b7c4435bcsi5244112pfq.50.2023.05.10.06.30.14; Wed, 10 May 2023 06:30:36 -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 S237125AbjEJN2k (ORCPT + 99 others); Wed, 10 May 2023 09:28:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237091AbjEJN2c (ORCPT ); Wed, 10 May 2023 09:28:32 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B08949D2; Wed, 10 May 2023 06:28:22 -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 5CC7A24E00D; Wed, 10 May 2023 21:28:18 +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; 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 0/2] Add clock and reset in cdns3 platform Date: Wed, 10 May 2023 21:28:14 +0800 Message-ID: <20230510132816.108820-1-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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_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?1765514082687461975?= X-GMAIL-MSGID: =?utf-8?q?1765514082687461975?= The patchset is add generic clock and reset init codes in Cadence USBSS controller. This patchset is base on v6.4-rc1. patch 1 is add clock and reset dts in cdns3 dt-binding doc. patch 2 is cdns3 platform codes changes. previous commits v1: https://patchwork.kernel.org/project/linux-usb/cover/20230502081805.112149-1-minda.chen@starfivetech.com/ changes: v2: patch 1 - add maxItem in clocks and resets. - add clocks and reset in example. patch 2 - suspend/resume just disable/enable clocks. Minda Chen (2): dt-bindings: cdns,usb3: Add clock and reset usb: cdns3: cdns3-plat: Add clk and reset init .../devicetree/bindings/usb/cdns,usb3.yaml | 14 +++++ drivers/usb/cdns3/cdns3-plat.c | 58 +++++++++++++++++++ drivers/usb/cdns3/core.h | 3 + 3 files changed, 75 insertions(+) base-commit: ac9a78681b921877518763ba0e89202254349d1b