Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8723974rwr; Thu, 11 May 2023 05:33:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4pDC2lqzQHW/0blxib4TLzrAE8Smb2Y3MR794hdsnR1Xzm0+pFBdvDXu2jt5rlTyPV1Qy/ X-Received: by 2002:a05:6a20:8e09:b0:100:9eff:9b89 with SMTP id y9-20020a056a208e0900b001009eff9b89mr18195521pzj.5.1683808390168; Thu, 11 May 2023 05:33:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683808390; cv=none; d=google.com; s=arc-20160816; b=vKCwZ7SXSLX8l+a/cXZ265zQF5O2XyYtz/5Zjj7rEgIUCFa9CeHUXS12B4vjpsCrko OxLEmliWxNwsOENlHjOVrO4iVpW3xVhGb/I5KP2tGq4cEhp1BWRSTlRoivGrIffGNtJS ZGfsoLLR+rWlkYX8SAjnsFEoc29cknNLhc1gIck228AmdhCj/eiIkHvOFk3o86WjI8vz 7qQjVcLuhxTCRhClxVG/Zn9drFiPkEc9oJYiEyGDPif+q9XVzpcl28iidCg93Tm0RYVW yD401fNhq2geeQlOOCCos3hIrRVY3+VArWC4srL6/H7YS85Y4j8i4XFxFDRM5XLokKD2 I1Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=MCI6IeI0KDadbjNilouKsBz1/jfMsLJiMPHVMPUNuRA=; b=GKv8uQWdny7L1UWRU1qkV9AFWo5Awvd9M0T0SBitKC190QmPgtFNkk4aHuCBG2IeGe Fd09t2uvSMcl8J0NCehivfzfktW+SSmCxytarAklL3wtWMJdlrtDpQvs3Qk7D0w+eiW/ +HzqFS7r/uZEjDBzMN65xCAs5HRemB/lxAD9eW017mkZxjiZM1gVAcFznl7POBlchle7 C8a4dvIkM/v+6pIbT/WcVKy42qPaZqIww8uGM4iQhRF5K0wTmI8A5wUd2xo4Jv+114Ys K+cVP31LhYuVatoE4BLuCkGm5Z2zYlt3TJB3SZMJJN5hbG+WPgwxXQn+sgifUe97ud9b Pszw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CNfajOGe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 9-20020a17090a098900b0024e14acda38si20005772pjo.61.2023.05.11.05.32.57; Thu, 11 May 2023 05:33:10 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CNfajOGe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237916AbjEKMQq (ORCPT + 99 others); Thu, 11 May 2023 08:16:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237804AbjEKMQn (ORCPT ); Thu, 11 May 2023 08:16:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2F24C33; Thu, 11 May 2023 05:16:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A84D964C94; Thu, 11 May 2023 12:16:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99441C433D2; Thu, 11 May 2023 12:16:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683807379; bh=V2loH3pu0Avgj+Vg+y+wMUSNmoAWUOeZAfZNv5xIAVA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CNfajOGejkFrHxHupuuuOLpzWMxwuWoJprhby9j+hxsK+rIUjs2k12F4pTjO9RIfE 06LET49WAngjBnPz7o1u58OOu+Xya5bOzTdE5rL0krN2DIHqYxhUp74ML+kmiYowg8 vvh8GXvbuXjgGLXUKWKmpwKOzzG3OSxUUEHhK2qqsCAfb2YFAeFfAV7gB6tkm7qNgx BmCMWCtb6nwThekV7ojhGoQn+oKRyS1yI5g4qWkl7ZvhQL1Rgpp9louIE011s/HJMf IayTu5gYiruDIu0UnQTt3jyzDGFSMfFR2VQvWIujEKHPII2XOf4S8e92xYETaN4+Gz 9reZYZjnbZSaQ== Message-ID: <05057f6d-cb38-8e4a-5d30-82863e0cda44@kernel.org> Date: Thu, 11 May 2023 15:16:14 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 1/2] dt-bindings: cdns,usb3: Add clock and reset Content-Language: en-US To: Krzysztof Kozlowski , Minda Chen , Rob Herring , Krzysztof Kozlowski , Pawel Laszczak , Greg Kroah-Hartman , Peter Chen , Philipp Zabel Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20230510132816.108820-1-minda.chen@starfivetech.com> <20230510132816.108820-2-minda.chen@starfivetech.com> <9cf5965a-8290-dfff-9f92-07ed2df66650@linaro.org> From: Roger Quadros In-Reply-To: <9cf5965a-8290-dfff-9f92-07ed2df66650@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 On 11/05/2023 12:26, Krzysztof Kozlowski wrote: > On 10/05/2023 15:28, Minda Chen wrote: >> 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. > > You need to list the items. And why is it variable? Your clock choice in > the example is poor, I doubt it is real. > >> + >> + resets: >> + minItems: 1 >> + maxItems: 8 >> + description: >> + USB controller generic resets. > > Here as well. > > You had one clock last time, thus the review was - drop the names. Now > you changed it to 8 clocks... I don't understand. > Different platforms may have different number of clocks/resets or none. So I don't think minItems/maxItems should be specified. -- cheers, -roger