Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3413297rwb; Tue, 16 Aug 2022 02:31:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5aEFKzw/txrKIa10BFpHxFwmQYnh35GGYkYXRulgDIn3U6wcrsj1E9kEqoKsW6JjarqWzF X-Received: by 2002:a17:90a:9383:b0:1f4:fd59:7e47 with SMTP id q3-20020a17090a938300b001f4fd597e47mr23315875pjo.172.1660642297608; Tue, 16 Aug 2022 02:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660642297; cv=none; d=google.com; s=arc-20160816; b=QLb3HjQkfuUjkgXcJrRAFk7dHpQyWPryEAkTCEx+F29QNBUhbkzvez91qhnlneZX50 NikGGwmwYCdUPJ+P5AjE83xyLyAh4UnPPshjhHTC9MJnu3CmImgTuE5AwSRekwmlBqai lcRdmQTlCZPVLqlteMEHMWQGhd/5itLwuRJ6W5Agcv3jTwUyRdBVGGnEgFPzH+hhtD7T UyS+U/uPfJ1Q4c9//RMIkeJSBLblfPumiMD0l1H9TBxrNqM/6LMICHh/6DsrRZmEioPk wnj/9z6OfjhvLuxnHL6mFMSczmCsm+x3OwuhC09R+5tZq4n6BYU9dpmzBFvZhrY37lTD w7xg== 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=eW0BKLF2qOs6HIKXDGD1nZcnaClG8yzeNVvRjOtKgmU=; b=vEtdIGRCUYnc5A8EHt/WTFXPB17XuYE4N9NlD+69wA+0K4LQfK/mSs59NwKkfLPWp0 Esd4SVozHPxPixYCcgR59Vo1Qi3e/jZDycIEhmIWd3a4TZnSTOcLRSImHq6BepCl88iT NfCqJJ3K3jhUr6r3LH9/kpD3dulRAVBwsdj8x56jtZWlHi8zNC94I4LDFkVjSFB4fdBA JcS7O9UycROyAIZ3sAaaFxnnOOQUOX0n2owzxVx16Zwclee4T2dbQ+i8hzB0gYU51JKA 9taGPjeFcffXGIMMSJg35DihMKsa6Amwq1rt0I0Zg4m81tCkoJUYwYdQFmxXAhJpUPxJ Hexw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NKHDJ5lh; 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 v135-20020a63618d000000b0041d10ae6d85si7453643pgb.493.2022.08.16.02.31.25; Tue, 16 Aug 2022 02:31:37 -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=NKHDJ5lh; 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 S231550AbiHPJ1i (ORCPT + 99 others); Tue, 16 Aug 2022 05:27:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233296AbiHPJ1D (ORCPT ); Tue, 16 Aug 2022 05:27:03 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99BFFCCD64 for ; Tue, 16 Aug 2022 00:44:27 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id r17so13683931lfm.11 for ; Tue, 16 Aug 2022 00:44:27 -0700 (PDT) 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; bh=eW0BKLF2qOs6HIKXDGD1nZcnaClG8yzeNVvRjOtKgmU=; b=NKHDJ5lh18mKPYLkddbp9+8g8sxcFvRUMNfHAepw1zkXD8tklVH3aFMh4ewDTGW4LT esafB0wz+2fli6fob89gOZ9oQQ2UKbuceCJxU8kQEvqKF765GSS8UjkOjAeAru/M+28G H2jeuXm6zbphb2hf+Us4CDZ8OiLys6TTWmyt0lMX8g6PK3/CGnYeBeEOY4jAt7zZplUt cp+K4YmLhhI0+MwWCr3+9Et7wwTfbXOej2jq50J38qV6EIa6ygEbM2w8ou72HhMxvUrb BWQ6uFs+fqKvyNnuel2HyQuPTUvcJXqdYMbm31sQDaSwGcWPiR5KIXwXjaAyAMNcexyz vsPg== 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; bh=eW0BKLF2qOs6HIKXDGD1nZcnaClG8yzeNVvRjOtKgmU=; b=4dMKTfaoEi+Px/Y5rarSkBM5v/w+IGUQiaQf+HOg0+0635cvfX2i/CfxIh68yr49g+ mDqz/i/E4CV9nh75O+w6XGlkM2SZAbBIuoY2Il7DOMYiu/aK+cKPQeEVicxctgJnZ1rU qoaEafotgtEvDi0jLRUj6G3k6RZSb+fxmWIqIn6RexiAeglocp57J69c6tlmKAJCO6Dv oV2AtRM7zFdlqkU3YlYLkx89nkG8K5Oqs5LAd0XFGSYpzpehN4pznX0zP5eIv5YfX/+R QN/dVCv6EBO/AaE8b6ycDbKTTc7L57rfzraQblqFtbRJ/4vhV8LDEn0B8eq/8sQd3b+6 QEgQ== X-Gm-Message-State: ACgBeo2qtdk8UxMQuzTKX8sOMxLOqiQSC6vgGelFrAmSQWgqey8+x6t9 D367ecIWkcJzbHBdNdPa3Lgq0A== X-Received: by 2002:a05:6512:2a8d:b0:48b:7f1:fe46 with SMTP id dt13-20020a0565122a8d00b0048b07f1fe46mr6171564lfb.261.1660635865972; Tue, 16 Aug 2022 00:44:25 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:1782:dd68:b0c1:c1a4? (d15l54g8c71znbtrbzt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1782:dd68:b0c1:c1a4]) by smtp.gmail.com with ESMTPSA id v8-20020ac25928000000b0048a918717c3sm1304392lfi.57.2022.08.16.00.44.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Aug 2022 00:44:25 -0700 (PDT) Message-ID: <79e58157-f8f2-6ca8-1aa6-b5cf6c83d9e6@linaro.org> Date: Tue, 16 Aug 2022 10:44:23 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v4 1/3] dt-bindings: net: ti: k3-am654-cpsw-nuss: Update bindings for J7200 CPSW5G Content-Language: en-US To: Siddharth Vadapalli , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux@armlinux.org.uk, vladimir.oltean@nxp.com, grygorii.strashko@ti.com, vigneshr@ti.com, nsekhar@ti.com Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kishon@ti.com References: <20220816060139.111934-1-s-vadapalli@ti.com> <20220816060139.111934-2-s-vadapalli@ti.com> From: Krzysztof Kozlowski In-Reply-To: <20220816060139.111934-2-s-vadapalli@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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=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 16/08/2022 09:01, Siddharth Vadapalli wrote: > Update bindings for TI K3 J7200 SoC which contains 5 ports (4 external > ports) CPSW5G module and add compatible for it. > > Changes made: > - Add new compatible ti,j7200-cpswxg-nuss for CPSW5G. > - Extend pattern properties for new compatible. > - Change maximum number of CPSW ports to 4 for new compatible. > > Signed-off-by: Siddharth Vadapalli > --- > .../bindings/net/ti,k3-am654-cpsw-nuss.yaml | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml > index b8281d8be940..5366a367c387 100644 > --- a/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml > +++ b/Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.yaml > @@ -57,6 +57,7 @@ properties: > - ti,am654-cpsw-nuss > - ti,j721e-cpsw-nuss > - ti,am642-cpsw-nuss > + - ti,j7200-cpswxg-nuss Keep some order in the list, so maybe before j721e. > > reg: > maxItems: 1 > @@ -110,7 +111,7 @@ properties: > const: 0 > > patternProperties: > - port@[1-2]: > + "^port@[1-4]$": > type: object > description: CPSWxG NUSS external ports > > @@ -119,7 +120,7 @@ properties: > properties: > reg: > minimum: 1 > - maximum: 2 > + maximum: 4 > description: CPSW port number > > phys: > @@ -151,6 +152,18 @@ properties: > > additionalProperties: false > > +if: This goes under allOf just before unevaluated/additionalProperties:false Best regards, Krzysztof