Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1521493rwb; Fri, 19 Aug 2022 05:16:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TyGiXBaUGdsQpUPE51iCzzhM3Z6U2Gd5ZqauZUdZ+BiXGZiA81nAElbLohk4DTyc7bal8 X-Received: by 2002:a17:907:d9e:b0:731:1a5:8c68 with SMTP id go30-20020a1709070d9e00b0073101a58c68mr4717908ejc.365.1660911398949; Fri, 19 Aug 2022 05:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660911398; cv=none; d=google.com; s=arc-20160816; b=Lh49FSNWDbUw60M43Z7NAJqjpkPcNKqwMwJ4IzZNJ1gAWIlqAcuULmlr5ASA8UcU9w WmyTqzTTS7Vp1i5UIcEClCrR/BhiUDcvMECaamVUAjq8DDfnc2xYlPN+l2MDehQoaUp7 9cnhSjfQnCOWhGaF7/N6NgHqEaTyYskniuPpvDU7WhHPDYxS8bJIn4T0xPqzaA3LaZLy SuadcDqxr1k8tNRENFEsbx3qLVe81Ya30dHRlnGKRmfp+RbSeWD2g/8ZYW1JSIVV/4q2 QOsQXVAXg1EnABLZa7J1xhQZF8CIYJUaXJPWjiHk1vAZw2lzBixL1iuikxWtm/zX8uLP vmcA== 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=AiiavDzYSZGUIztBfno9z4N7pQ7TlVNfOCCAVwE9hcE=; b=pY4lwPM0u4HRbll+NFiL+Hj+oGBXKnQPVuz2pze3vYv6Hb4LVFN3kCxXcnfSZ8wybT Z2IStPErqnDaQ27dbRBc1wTgRQGiQ4y7WEu5kKtsiZfK5+7u65/scCcFCHQBtlVl8c9p /mcRa/kY3pC5HHNrdjGtdUPvPYq7ER/U238+8VkmB18yPRCvt7JX5oQfm2mBKwqjDfFj zmSCP+JYMEbnxPFCC4BWFMCa4xczizTIvi1UbZtSCvojzadeeyKQ9MuAdkS0PNP7BRXf jhnilL4UhKWP/tIgVxUzYuSUuNZarT18tnQdiwugc4t4xCWbIxsZk6a59g7Qn5z9y8cH JuAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fcrPitOJ; 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 m12-20020aa7d34c000000b0043df391fc6asi2736670edr.578.2022.08.19.05.16.06; Fri, 19 Aug 2022 05:16:38 -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=fcrPitOJ; 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 S1348363AbiHSME5 (ORCPT + 99 others); Fri, 19 Aug 2022 08:04:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348084AbiHSME4 (ORCPT ); Fri, 19 Aug 2022 08:04:56 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81E27EC4EF for ; Fri, 19 Aug 2022 05:04:54 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id by6so4307777ljb.11 for ; Fri, 19 Aug 2022 05:04:54 -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=AiiavDzYSZGUIztBfno9z4N7pQ7TlVNfOCCAVwE9hcE=; b=fcrPitOJWPMSCaIFodXOuiGjsjZ3YG++th1NSR69d04k4xiIIxW/vAJTIwA0xfCNCh mBrThOoUWZ0bzwd8E0+Y0xg1gbCgKtVeea7xsWTxhXHjBUQ6z6zlUBuyl66T6hgQUEjU UPThXCW2kyIGg/3Fb8NHvKLqHBB3ZA2AkyjtbaS+QG9yjzJtXYi7A3zKXEGfC7dnngEr dVDhfSoKX8zdnCURcP7oNgylvP+Lz5FO6vGUVw5YeHpJ6RzM9FTUUYGrmidcbbHcxD6p QdKB+RjaIH94jw6lG2zwbGhkqY3QUS2IM3kiF62tXgbQ8egLYzhDcNOe6LAO5jWQF0uF y6wA== 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=AiiavDzYSZGUIztBfno9z4N7pQ7TlVNfOCCAVwE9hcE=; b=tBt1KYYcxepvK+n5SaucArOkomRsz+eQUZlXJ6ANnCBcFKTjGckWF9iIqitWrIvJOL pTe6jbjyCIYir3CSjHZLXBfqpFHrfuR/aunU/4HeZ20apzlz+2PYYpQp9liYJpfX9+hO ddMy74fwZn5qOVYJ+5ULOl1ENdHXnF/lgCo2zGFSm+hfBDOC1Acb9hiiyYKWZ37ZOl07 sZSyBd7sadBRRIE6fHTdA9/T/awVb7ISn9fl47HCaTKYBybi2Y+hYRF+OGy8kSeyCSBv jUb9ZeOJGYiRvOFUNPb0NtB4a99o6e84Qkp2UJsICEV6XD81wgidbIe6qbJm8qirYFg+ BQbA== X-Gm-Message-State: ACgBeo1GA3d63eZq0f18BXNSgmXaJ3gLM088y3m7/qzgc/p4J68RIoCy 8+kaHr6LujMQodi3ZCkcY4cO+Q== X-Received: by 2002:a2e:8484:0:b0:25e:c325:c94f with SMTP id b4-20020a2e8484000000b0025ec325c94fmr2210517ljh.310.1660910692805; Fri, 19 Aug 2022 05:04:52 -0700 (PDT) Received: from ?IPV6:2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5? (d1xw6v77xrs23np8r6z-4.rev.dnainternet.fi. [2001:14bb:ac:e5a8:ef73:73ed:75b3:8ed5]) by smtp.gmail.com with ESMTPSA id q5-20020ac25fc5000000b0048b04d494c6sm620337lfg.51.2022.08.19.05.04.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Aug 2022 05:04:52 -0700 (PDT) Message-ID: <9d9c2f78-db3e-71aa-2cdd-e2d9aa2b30cf@linaro.org> Date: Fri, 19 Aug 2022 15:04:50 +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 , krzysztof.kozlowski+dt@linaro.org Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, linux@armlinux.org.uk, vladimir.oltean@nxp.com, grygorii.strashko@ti.com, vigneshr@ti.com, nsekhar@ti.com, 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> <79e58157-f8f2-6ca8-1aa6-b5cf6c83d9e6@linaro.org> <31c3a5b0-17cc-ad7b-6561-5834cac62d3e@ti.com> <9c331cdc-e34a-1146-fb83-84c2107b2e2a@linaro.org> <176ab999-e274-e22a-97d8-31f655b16800@ti.com> <0ca78aad-2145-c88b-a26e-9ababa38df6e@ti.com> From: Krzysztof Kozlowski In-Reply-To: <0ca78aad-2145-c88b-a26e-9ababa38df6e@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 19/08/2022 13:43, Siddharth Vadapalli wrote: >>>> Anyway the location is not correct. Regardless if this is if-then or >>>> allOf-if-then, put it just like example schema is suggesting. >>> >>> I will move the if-then statements to the lines above the >>> "additionalProperties: false" line. Also, I will add an allOf for this >> >> I had a look at the example at [1] and it uses allOf after the >> "additionalProperties: false" line. Would it be fine then for me to add >> allOf and the single if-then statement below the "additionalProperties: >> false" line? Please let me know. >> >> [1] -> https://github.com/devicetree-org/dt-schema/blob/mai/test/schemas/conditionals-allof-example.yaml > > Sorry, the correct link is: > https://github.com/devicetree-org/dt-schema/blob/main/test/schemas/conditionals-allof-example.yaml You are referring to tests? I did not suggest that. Please put it in place like example schema is suggesting: https://elixir.bootlin.com/linux/v5.19/source/Documentation/devicetree/bindings/example-schema.yaml Best regards, Krzysztof