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 838C9C61DA4 for ; Mon, 6 Feb 2023 10:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229980AbjBFKlw (ORCPT ); Mon, 6 Feb 2023 05:41:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbjBFKlp (ORCPT ); Mon, 6 Feb 2023 05:41:45 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72D4E44B9 for ; Mon, 6 Feb 2023 02:41:31 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id y1so9924184wru.2 for ; Mon, 06 Feb 2023 02:41:31 -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=FBhLYA+SIzudlNP9ekDtVYZHty9s86eLqUjf+FxzBZ8=; b=p2jDpDDo4W/9nG/lieR4uV6N4whfpKGeY8NHoV5mmucaMX2Ke5igIIdRnij1wUoDI1 RnlsufF/77e0pUBe6S01bDess9U3hsbAZDM3b0VeJjZo9cJyXh1/laQHZLZHmV91sSTq UDRTOOGtMPET2lH4qfcbvWEip2yuYlGODRhVy1XqtU86FyDl11Cw1hyx9WPCoQYepwW7 dGH4MK3sIhO/sGKhzh2yzKydhp8y4r9lki2SGcI6s0fQWUqxpwiJhGrb9sOrL9qwrlib V3PaqZ9E7KKLpep4Bkt8oNH72hbTc+FQFXR/InbZPuYWfE/+sE7Fkuf1yLEf02iXQ1aE GuHA== 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=FBhLYA+SIzudlNP9ekDtVYZHty9s86eLqUjf+FxzBZ8=; b=M2V8qhMHGPnGdSl82qoiPAgAtuOKzvGX3jplBks+AFZx51+OjQhFQucFC9qNhprPRF C/jb+Un4W0C9dPWlPnT9wysjgncsG6SJ1cd9KjZjg+6A8V18rWoRR8peUUbvZW2ZJU/O AGbNmyn7de8MaJaoNZzVyaXAPFwgIbNffXcmmxRXurJDGkMEPE1lxBwFoV0fCzr7uZVJ jVz0KIrBQEN1sW54ESahFXx15fEZfz0HvUAeQV8bh2F+04w/CTAy26YB6n6tmSxDmCN+ YZnhVkI0CsG9LRMdBMX3/fqbKU+TMyzg2EV8paXt7qkeoFs2UAUU4tI2z0tN49kHganJ jM3w== X-Gm-Message-State: AO0yUKXsJ1fOdDmnN2KxGr/vKI/vaIU7P/6vBZCLdPGEIsj8vSYAONuk A1kKQqD29GPMJNaJPxUvHvA84w== X-Google-Smtp-Source: AK7set+6WnIr4DhuxmcQ7u1hjMG57iF8m14fF8ppUYfwWa2P7jPWOXyCMlTQYN81aUELWSR3KOB7pw== X-Received: by 2002:a5d:55ca:0:b0:2c3:e0a0:950 with SMTP id i10-20020a5d55ca000000b002c3e0a00950mr5923334wrw.0.1675680090075; Mon, 06 Feb 2023 02:41:30 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id i14-20020a0560001ace00b002bfb8f829eesm8944320wry.71.2023.02.06.02.41.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Feb 2023 02:41:29 -0800 (PST) Message-ID: Date: Mon, 6 Feb 2023 11:41:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [EXTERNAL] Re: [PATCH v4 1/2] dt-bindings: net: Add ICSSG Ethernet Driver bindings Content-Language: en-US To: Md Danish Anwar , MD Danish Anwar , "Andrew F. Davis" , Suman Anna , Roger Quadros , YueHaibing , Vignesh Raghavendra , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , andrew@lunn.ch Cc: nm@ti.com, ssantosh@kernel.org, srk@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230206060708.3574472-1-danishanwar@ti.com> <20230206060708.3574472-2-danishanwar@ti.com> <81dc1c83-3e66-4612-9011-cf70fb624529@ti.com> From: Krzysztof Kozlowski In-Reply-To: <81dc1c83-3e66-4612-9011-cf70fb624529@ti.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 06/02/2023 11:39, Md Danish Anwar wrote: >>> + properties: >>> + '#address-cells': >>> + const: 1 >>> + '#size-cells': >>> + const: 0 >>> + >>> + patternProperties: >>> + ^port@[0-1]$: >>> + type: object >>> + description: ICSSG PRUETH external ports >>> + > > At least one ethernet port is required. Should I add the below line here for this? > > minItems: 1 You need after the patternProperties: anyOf: - required: - port@0 - required: - port@1 > > Best regards, Krzysztof