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 59665FA3741 for ; Fri, 28 Oct 2022 01:28:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235311AbiJ1B2U (ORCPT ); Thu, 27 Oct 2022 21:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235277AbiJ1B2T (ORCPT ); Thu, 27 Oct 2022 21:28:19 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4E94A99F9 for ; Thu, 27 Oct 2022 18:28:18 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id bb5so2667382qtb.11 for ; Thu, 27 Oct 2022 18:28:18 -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:subject:date:message-id:reply-to; bh=kQ/Ipt22j5aHIq5r1kAyzN5xaRx2BsZw/TMCHCAQ0qw=; b=RLrYoc/hs+jtC6QNt+Zz14C3HPgCX2cekOQzCuYq/iEA65WE2tRR9tFJut3R5ECK2s dWxi5YhVqCc+pkVu1bJvjvWbtmMEnYv8iMDATYo2jN0hXceGnFVXB/lB5K+s/EhLz5L0 XNUdo3/fHmtD0crnUZpFTwWVOKsaY8q5er7n7ljM15ORYecu3OGlKGO5Vwt2w5ReS66Z 7XCYgfIgNhiPYY0epaxLLA3Nvzl+fRLv2Yxt6mqGACmFmZQMUsgrrCZuLGK5o8PrEuPP Dt49KfPPtPDrQtiKjML6KV9kyF1IREMCOL/ictcyBTh9/a9QMTcmzTb36hnH0RQ5Ob9R wV/Q== 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=kQ/Ipt22j5aHIq5r1kAyzN5xaRx2BsZw/TMCHCAQ0qw=; b=Ou1zgPE5YBHuKk2rqZMUjTXLEhLaSxgB52Ul4jC3kUug7gkGH0+dd+7HxCcmKsfMP0 nphpmJKYeD43pavlOvWZwSNBLqJ8qNSa8IbXHJ2Q0NABpuJuAVeDA26lpsIjxxDy0WmL kCEKvDf5PqNniIBRWMKR8rUpPxwbF4ksiG3ddY50osax4CWYrZpyLZM7BWiWQNd9vpTe hSZp2vJLNw+4HU2Xnshez/C2WXXthwHlu+oJjODcTbz2k1IdX+Y0vMlbvRRejf/EiuBr +DNfJWBiNRcN8mMQtUX3EkW9KxYP1zdP7bTnUgLUQZguvoWLohSaOKH318KsnsjfbpPZ x9cw== X-Gm-Message-State: ACrzQf1yTCzZkPvJ58dkaH2QyzMIegiTdKVkG3UhSKmLrSn9c+2Ap7nV LxpvjG+gZNVdgtv9Jp5Vce+owA== X-Google-Smtp-Source: AMsMyM6wiLjQD5dYl5ZDyBqbCDv9dpT9xao43RBi2tdneNrrIH2NZkFipEKs/0u2YMm/2ZnfHx0sQg== X-Received: by 2002:ac8:7d0b:0:b0:39d:90d:601b with SMTP id g11-20020ac87d0b000000b0039d090d601bmr37235040qtb.278.1666920497798; Thu, 27 Oct 2022 18:28:17 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id f18-20020a05620a409200b006cbe3be300esm2049175qko.12.2022.10.27.18.28.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 18:28:17 -0700 (PDT) Message-ID: Date: Thu, 27 Oct 2022 21:28:15 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v5 1/3] dt-bindings: net: renesas: Document Renesas Ethernet Switch Content-Language: en-US To: Yoshihiro Shimoda , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org References: <20221027134034.2343230-1-yoshihiro.shimoda.uh@renesas.com> <20221027134034.2343230-2-yoshihiro.shimoda.uh@renesas.com> From: Krzysztof Kozlowski In-Reply-To: <20221027134034.2343230-2-yoshihiro.shimoda.uh@renesas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 27/10/2022 09:40, Yoshihiro Shimoda wrote: > Document Renesas Etherent Switch for R-Car S4-8 (r8a779f0). > > Signed-off-by: Yoshihiro Shimoda > --- > + > + ethernet-ports: > + type: object > + additionalProperties: false > + > + properties: > + '#address-cells': > + description: Port number of ETHA (TSNA). > + const: 1 > + > + '#size-cells': > + const: 0 > + > + patternProperties: > + "^port@[0-9a-f]+$": > + type: object > + $ref: /schemas/net/ethernet-controller.yaml# > + unevaluatedProperties: false > + > + properties: > + reg: > + description: > + Port number of ETHA (TSNA). I think you need here "maxItems: 1" as no schema sets the limit. I did not notice it before. > + > + phys: > + maxItems: 1 > + description: > + Phandle of an Ethernet SERDES. > + Best regards, Krzysztof