Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8924600rwr; Thu, 11 May 2023 07:54:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4pp2xGoVebURAt1njzm2pmt+FhOdkqsC2eQuJZk0vU2yWOsyGsp8HIhyqT4+mFxaqINNMF X-Received: by 2002:a05:6a20:12c4:b0:101:64b0:e69c with SMTP id v4-20020a056a2012c400b0010164b0e69cmr12462432pzg.29.1683816850527; Thu, 11 May 2023 07:54:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683816850; cv=none; d=google.com; s=arc-20160816; b=GwICqDNsP66REhoWd+lUyB8be7RAav/I8T8LaHNrG42rc9YTCOTOch+3Ql6UuxTMJP mR2q85JLrQnuEHV/qcbm213FhYxJm07UkNxsSYT7SYmo8+eEOZ5/9aP1svbgzliBPC9F W12P+NBKF8TziDGieGzdNgwfpmqobmAg4pqvx5LUiDltuFdNjABzwZcum5IJj2VSO1j5 OWZxS5SCNSETDeWqE3nGePhh3GLyL+iMZism+SB7ngMEFs03tQSncTT545pq/nvazOJ0 iTKh3RKlTDSV1tStm5d/F7AQsbhAvxyWTQiC584G+mc4Dtxd0ZfrpFn6bkE2aclrF7nl 4r5A== 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=rfmScQuHDtUIzeUlR/F8RZSBPxoOFtpMv619WIBm4+4=; b=b0x0NCy18uj21C6092/ZFB8KXQ7B1usV7de2i6nKWknMIsDpk/pG/DxeUPb2uBJOEF 15Ao2EJttZ7DT49KTlz3tb6wm+Z/EHahQYGQvsz6t0x0MkEGHoGrg57S7WX4g5hPEoLu oR+HyTIgk2oY5xXmmYJkPnCYHHMzMlIYacKtDyh6Athwi5qn2A3PkVQQtQQug+BsvArh oKXi0j5M3vncP0TKfqgl/o3VlLq3ESg7BgmRJJOFC5B8Cl2yyHBbQetIyqzStJpyPLyU u7Js4oUecxKJamxWuAFyregEQNwtRVlBV306P6VsckzrkO9NlJii97GN91/MFB2IzRF4 2YJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="IU/f7ixl"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020aa796eb000000b00646f8ffef14si7219198pfq.330.2023.05.11.07.53.58; Thu, 11 May 2023 07:54: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=@linaro.org header.s=google header.b="IU/f7ixl"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238536AbjEKOua (ORCPT + 99 others); Thu, 11 May 2023 10:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238765AbjEKOuA (ORCPT ); Thu, 11 May 2023 10:50:00 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E0B311B5A for ; Thu, 11 May 2023 07:49:04 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-966287b0f72so1150624366b.0 for ; Thu, 11 May 2023 07:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683816543; x=1686408543; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rfmScQuHDtUIzeUlR/F8RZSBPxoOFtpMv619WIBm4+4=; b=IU/f7ixl4zdQ8gsbp48DMo1UmGVuGpNZ5gaqKJjMdSLL310e9oSEwrSrf1IJSel89i RjJiE8dLS5FK/iGLtLEuc1KerE/Vhyj9vN85P5QnUJZMRwME2z74verzU9vi4X8WVEni oGAI6sw76v3WXcYss1Ydt/FmzjDfoYJ4eC4IpwBXnKz+CzOmxGTNqeYw0bMaBuwOOYlv xVPFnJ8XnKGTCHClOu+c0zKcTGw9bxj3CuZ/foq4YK6Ioen3ScrHZAdJwLhyVzgD13id ePWIF9xgxz1dWKu/QM6n1035+xbe7LxK78DSPzgtMMDYToTzjy0nNEOat2whYE5ONXid UHkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683816543; x=1686408543; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rfmScQuHDtUIzeUlR/F8RZSBPxoOFtpMv619WIBm4+4=; b=kYO8ndQHg2APLAhdDsfo1oXl+pOIB1Lq8zNueJjLm+sQTy4TllGPXxzZwcP7V38Ed0 VVLn6o7IWXA0j8Arkan4SMKRdzHCVKHfmaike0aA/KZczX2KNnh+mpuT1tP8NTwuT1X2 lugnHSMRsYBMC1pAkgLiY6AflHAikAdkwVej82dRpLuQru6t0kCRK8UafDKegqJYCZLk ahuTGvAmxvqydfNR8tox5gH3DTB8tbVfENdfeVHVK3ynIvrEFx3FzqoIRaA9FsGWR0Nj wGLY9XbcmdToUE08gdTO/I1gnQfRU7+R6uZGkF474f8M/di6IifKIvd/oS/TgO8L4uvh d1dw== X-Gm-Message-State: AC+VfDzLUzwsb40NJEUZLmwKxbbW3EpJ0zNbPI8c1RYQOsk3Pr8kE618 xmVGsPumsTiDjwaiwYNRWHjXoQ== X-Received: by 2002:a17:907:2687:b0:961:a67:29c with SMTP id bn7-20020a170907268700b009610a67029cmr18117774ejc.70.1683816543309; Thu, 11 May 2023 07:49:03 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:d7cd:1be6:f89d:7218? ([2a02:810d:15c0:828:d7cd:1be6:f89d:7218]) by smtp.gmail.com with ESMTPSA id bz1-20020a1709070aa100b00969e316d8dbsm3810210ejc.225.2023.05.11.07.49.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 07:49:02 -0700 (PDT) Message-ID: <028fb8ac-d6cc-6fee-f50b-b965e69e7d0c@linaro.org> Date: Thu, 11 May 2023 16:49:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 1/2] dt-bindings: cdns,usb3: Add clock and reset Content-Language: en-US To: Roger Quadros , 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> <05057f6d-cb38-8e4a-5d30-82863e0cda44@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <05057f6d-cb38-8e4a-5d30-82863e0cda44@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 14:16, Roger Quadros wrote: > > > 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. Yeah, but we want the clocks to be specific per platform. Not anything anywhere. Best regards, Krzysztof