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 4B97DC05027 for ; Mon, 6 Feb 2023 10:41:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229790AbjBFKls (ORCPT ); Mon, 6 Feb 2023 05:41:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229728AbjBFKlp (ORCPT ); Mon, 6 Feb 2023 05:41:45 -0500 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 715B235AC for ; Mon, 6 Feb 2023 02:41:31 -0800 (PST) Received: by mail-wr1-x42d.google.com with SMTP id m14so9875533wrg.13 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=ETjOGKtMgpMp2SHCTKMMEFPCfE3ga9ZjbmpAp7A4WZFlCH5rtXsMDUzhd9WpCvPjhb a/jkZCj1Sl8CkicJYzYF3axW6guCtnbnbcYt9amuG+Y4qKDiBQM7Ue4JiAqtypLoKDDH Tt82MW5/sj/bTp+TgC5J6FDLISRUoMKBjdLrNOauR5s7lRWXFyjdECDlx6/0V1Dgw+YK ZPEqRZTyu3//42QCc010jVIMItz/COvkTb81VADuFv5ET4PpSBKqJuuErVjjYzIhb9xL nsxjHojByp2+uGFtXV5x92uYycXfH/Ouf0ymReAS5fKHmYWjyD2XYNgF0YhXeS+WY1IW BvqQ== X-Gm-Message-State: AO0yUKXFFoteB4TDi2oscAvK1PEigq3nP54VVhlFQ2LqAvpVgcfXHd5j clTB9rKmhptHcSe6emokr/GXDw== 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: devicetree@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