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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D8E8FA3741 for ; Mon, 31 Oct 2022 18:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aKOqxiuqXXA3vyOQ5gMsZiW1tQ2C1sfYjItzRqai6Qo=; b=PpDdgRZtgre/8T BFUT+28Jr1PdwQtL5w7gj8Lyzxqb8CC0MDuhxWhe6Fa2s70Q3B0jPfqTopK5JsJ80hA5GsF2XbBW0 pfpfSWsKZQUQurLN+YU+j6MVitFycfcQqcaujLiun+v2TVu7BXpJjRBmMY7NEYkUe1bAzM4n7s4Qa BcIOz5s4i6KhtcTRr6CkKPSM6r7jw64v37wfQOKuCQUls8vDptwwS6+rSaHse54tFuF65H/WrCrZW yWMNnaHLkDFZvI9ydyrTGLBHxlEwUSdBkhEXcw72viel8BdMJEilnwzu2u7IUlxzwibE/JH/t0VLE mXnOcchPmz9yL6aTzAAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opZyf-00E2ld-O7; Mon, 31 Oct 2022 18:57:41 +0000 Received: from mail-ot1-f54.google.com ([209.85.210.54]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opZyd-00E2ko-KP for linux-arm-kernel@lists.infradead.org; Mon, 31 Oct 2022 18:57:40 +0000 Received: by mail-ot1-f54.google.com with SMTP id 46-20020a9d0631000000b00666823da25fso7294126otn.0 for ; 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=AGyajChM6IofFsGZJoO6rexWnOMsK8VCV0ghOoyQhhmf9koqPPPAaAi1CFz6RZ3Ubl 2Y3s89N48Mj8n3SbwEp8Om4URCjXudwDrQvDow3lqARzTeS6raMQkENxiyFsV6lgJSge rdFWISSkfomMYENXewrLTtQ7xqdt4mbeTvwmtIDADLnMlGFQvXusyf7dtUb6gc1UHdI8 ESA/p/Q1n2zGzedMO7AyQIOaS20ZUU88SpSgqYJTdPX7CtukSonKbzEeaPrwn9PMKEN3 sMVZnvspQJyJSNjKXCcHAujfDs0pFTImllmoiTNMNV0kt5BP1lkwu7h8hz1m2baXF/48 sdmg== X-Gm-Message-State: ACrzQf0iY8P5xYEFEgMlVxS1H1yQK711hjLN6niD/axfUCRfVj6CIuMx twpOLq8KP5F9K9pp2qEGXw== 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-Disposition: inline In-Reply-To: <20221028140326.43470-2-krzysztof.kozlowski@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221031_115739_688728_690D0ED0 X-CRM114-Status: GOOD ( 13.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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(-) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel