From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39AE9C32793 for ; Wed, 18 Jan 2023 15:50:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230332AbjARPuH (ORCPT ); Wed, 18 Jan 2023 10:50:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231315AbjARPtd (ORCPT ); Wed, 18 Jan 2023 10:49:33 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4497238B7D for ; Wed, 18 Jan 2023 07:47:13 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id o17-20020a05600c511100b003db021ef437so1833628wms.4 for ; Wed, 18 Jan 2023 07:47:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=S2/UQrgOGDC4yyfTe65BG0yHQo36ScKkbVDK3v1/MZo=; b=mrVJV+kB5VAmsLR0HzGPNRZVEDyPQUkOac7by1QPdbs4IP2edcljWRjDfnCLbugduL iEf0CxU9MtxEkMnKTOZ+0ZF4Q6wr3LXEqwN5tvvJFP/cRITqrXSS2mYSFy6X/uxUCj7m 47cE1fGF/T4wagcylEKWyNbuv4EWLb6mfDftIxQWRZGf0C6aG0ZqAtQ1a1AUM8BLUNI1 Q2mBUa8iCSIzuehqs/S34L8y6rcjvdkP60SxzgqJD/Mw5v+qgwJtLyn7qg87zZTSx5pF 7qellwUyrkUpUfY3TL1CAKLO07tcaqNoddT5K3Q8ovdsjETTmJ92bD8m45cpGlHhbYBq KJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=S2/UQrgOGDC4yyfTe65BG0yHQo36ScKkbVDK3v1/MZo=; b=I3W002IcwdxrlKxUAN5F4vRfVRw4OgNLDCBOLpl+Z6/Jxx5dquMOC8J8gW2p/XdDJK uxZE+E4z7ovpS2mVsws2nyH2nn+zXx1JKWrPWiOHYv/vkjrF/TgqCZdFZamn8Ol/yJ1r KY66Vb/KMWCKmB6HyJ3VgkUvakSvnabk7WG/XXRBQQWdSxrYtBBKzVeYZl8huFTNFFy3 WSe8rTMSDezvFtQbqDQMM9fp0KktC//tZlhcwD0uhXIj+TpzfmU/MmknDQev//FTHLMo dEH5QnkSJ4sMiA7yy1/hlr2VGpcdt1tRY91txO/RvxXzRStAYUOgZYQygSHMlHp21cor otLg== X-Gm-Message-State: AFqh2kpjN/h8ass4IBEXbLwDF3CSD3FUkXfEA2q5up77sasFb5eaG0z5 +NiieVPftZiplo7BebrYeI0lWQ== X-Google-Smtp-Source: AMrXdXsDMnxhFvV+nCjEhypB+Fmw+62+IqPHnHN/TbzV9By1tMAd/W+ZxVs1DheIWw4fUU/IKRLGHQ== X-Received: by 2002:a05:600c:5252:b0:3da:2500:e702 with SMTP id fc18-20020a05600c525200b003da2500e702mr3163123wmb.32.1674056831854; Wed, 18 Jan 2023 07:47:11 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id z2-20020a05600c220200b003d9a86a13bfsm2218870wml.28.2023.01.18.07.47.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 07:47:11 -0800 (PST) Message-ID: <15a87640-d8c7-d7aa-bdfb-608fa2e497cb@linaro.org> Date: Wed, 18 Jan 2023 16:47:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH v4 2/7] dt-bindings: net: snps,dwmac: Update the maxitems number of resets and reset-names Content-Language: en-US To: Yanhong Wang , linux-riscv@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Emil Renner Berthing , Richard Cochran , Andrew Lunn , Heiner Kallweit , Peter Geis References: <20230118061701.30047-1-yanhong.wang@starfivetech.com> <20230118061701.30047-3-yanhong.wang@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230118061701.30047-3-yanhong.wang@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/01/2023 07:16, Yanhong Wang wrote: > Some boards(such as StarFive VisionFive v2) require more than one value > which defined by resets property, so the original definition can not > meet the requirements. In order to adapt to different requirements, > adjust the maxitems number definition. > > Signed-off-by: Yanhong Wang > --- > Documentation/devicetree/bindings/net/snps,dwmac.yaml | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > index e26c3e76ebb7..baf2c5b9e92d 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -133,12 +133,9 @@ properties: > - ptp_ref > > resets: > - maxItems: 1 Also, this does not make sense on its own and messes constraints for all other users. So another no for entire patch. Best regards, Krzysztof