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 7AB98FA3746 for ; Mon, 31 Oct 2022 18:57:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbiJaS5k (ORCPT ); Mon, 31 Oct 2022 14:57:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229452AbiJaS5i (ORCPT ); Mon, 31 Oct 2022 14:57:38 -0400 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B5DEE83; Mon, 31 Oct 2022 11:57:37 -0700 (PDT) Received: by mail-ot1-f45.google.com with SMTP id r13-20020a056830418d00b0065601df69c0so7260678otu.7; Mon, 31 Oct 2022 11:57:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FDlfsp4Z5dv3KOOJ8RIYeDVzw6SpbAuGhZbFngKWrh4=; b=ApuCjdQGnAkYEw3aA45vxd0De/Gil+rj9tD0m/YWBgUkGcvsbx2I87/If8v+SiNwxb D2aIP/kI/PsCppCc3exCPIXngc6x/8v5rplluP+Ao7CSJxI3Em/xMZpuhBeKs3PhEZ4d QEAgQkuoROlbsJZLewmnlQaKb+32OXImbotim/l048xrFEzxWG9JmBojgu1xvAmiuJqU fx+7mK7yLLzIIfsxKyNw/cUezt5D5dhTgRNR7VWNlxNaV7arWNwQCGI8W0gha0YnDgBu US8ZgTOgj6u2V2QG9+jB2t3Oibz01vHhny5rJ6TybbRgBw2Hcwh9kj9KNFtV2VuHre4G MGfw== X-Gm-Message-State: ACrzQf3JA9P2P0uqgKP+cltt5xQOl/vRZ7RzPhC/+fk2D99SOhpxZDeO c2QYpcPhWtgZWCkDcP/pEcCGOcXsNA== X-Google-Smtp-Source: AMsMyM79yUDuGBea14DUf4Zuj8HFysGU8WkrzLwG32UPNQt2MnBJ3ULoUWcDy4y7qO1o86pkPKNvgw== X-Received: by 2002:a05:6830:1e97:b0:66c:52cc:8e9 with SMTP id n23-20020a0568301e9700b0066c52cc08e9mr3271198otr.113.1667242656487; Mon, 31 Oct 2022 11:57:36 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id t8-20020a4aadc8000000b00480e77f90f9sm2619242oon.41.2022.10.31.11.57.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 11:57:36 -0700 (PDT) Received: (nullmailer pid 3255352 invoked by uid 1000); Mon, 31 Oct 2022 18:57:37 -0000 Date: Mon, 31 Oct 2022 13:57:37 -0500 From: Rob Herring To: Krzysztof Kozlowski Cc: Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Sergey Shtylyov , Manivannan Sadhasivam , Srinivas Kandagatla , Jonathan Marek , Martin Botka , Taniya Das , Christian Marangi , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Iskren Chernev , Del Regno , Robert Foss , Jeffrey Hugo , Govind Singh , Loic Poulain , Vladimir Zapolskiy , Dmitry Baryshkov , Oleksij Rempel , Horatiu Vultur , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH] dt-bindings: net: constrain number of 'reg' in ethernet ports Message-ID: <20221031185737.GA3249912-robh@kernel.org> References: <20221028140326.43470-1-krzysztof.kozlowski@linaro.org> <20221028140326.43470-2-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221028140326.43470-2-krzysztof.kozlowski@linaro.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Oct 28, 2022 at 10:03:25AM -0400, Krzysztof Kozlowski wrote: > 'reg' without any constraints allows multiple items which is not the > intention for Ethernet controller's port number. > Shouldn't this constrained by dsa-port.yaml (or the under review ethernet switch schemas that split out the DSA parts)? > Signed-off-by: Krzysztof Kozlowski > > --- > > Please give it a time for Rob's bot to process this. > --- > Documentation/devicetree/bindings/net/asix,ax88178.yaml | 4 +++- > Documentation/devicetree/bindings/net/microchip,lan95xx.yaml | 4 +++- > .../devicetree/bindings/net/microchip,lan966x-switch.yaml | 4 ++-- > .../devicetree/bindings/net/microchip,sparx5-switch.yaml | 3 ++- > .../devicetree/bindings/net/mscc,vsc7514-switch.yaml | 3 ++- > .../bindings/net/renesas,r8a779f0-ether-switch.yaml | 4 ++-- > 6 files changed, 14 insertions(+), 8 deletions(-)