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 95283C3F6B0 for ; Tue, 9 Aug 2022 20:12:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244714AbiHIUMa (ORCPT ); Tue, 9 Aug 2022 16:12:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344354AbiHIUM0 (ORCPT ); Tue, 9 Aug 2022 16:12:26 -0400 Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B59EA240AF; Tue, 9 Aug 2022 13:12:24 -0700 (PDT) Received: by mail-il1-f170.google.com with SMTP id x2so1022481ilp.10; Tue, 09 Aug 2022 13:12:24 -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; bh=WUkjF1hW44OJlB6zV2lE0MdHWwyPru1UFrpuge8Byyc=; b=UzSQVHuZRE+PrAU5DW9+kKriDH+2pTe/jS3M8ZetKIPb4nw7SNYwMM0iokbsmCl5XI eECNnDNuEWfoK5EvmYiV1iW6JcOKtKLM0LfayGapqbKl+z3kd7sIKXoMHERnzDfl/j97 +1xkmdHqVQ+t4WqZxvRkIbsN6HYEaciNor4USiEkY7pJlBmWoW4Einao3QN+4Rg4UWAz hNDXym/TjpB07FylUULDzf0kZ8xXLA9C/Ta3dG1LrUwrwRucAlTt2ly5kxNIDiVmha2p h4zeE2HQwikgYE5ETZCcl7M89/4AmYUBNI+/6R3VNBgo4NsGWm8WrkdW1i4aEPpmu/Rf UB/w== X-Gm-Message-State: ACgBeo1+JBrNIJxdAo51P9I+93cyRZrkI+SBKbAJEi5D1sLSQdW6Qjgh rZirRqPaL+vRiQHL9fzfFw== X-Google-Smtp-Source: AA6agR7N2Y3uJk3338InCxoOVR7ZiVaxAGsEIkzkBPWJorlAi7ctQt1dYa0O68zsUyqWWD3nqg40bg== X-Received: by 2002:a05:6e02:1a61:b0:2e0:c417:4cb0 with SMTP id w1-20020a056e021a6100b002e0c4174cb0mr6969480ilv.186.1660075943909; Tue, 09 Aug 2022 13:12:23 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id p1-20020a92d681000000b002dd028f5ef5sm1397079iln.38.2022.08.09.13.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 13:12:23 -0700 (PDT) Received: (nullmailer pid 2313642 invoked by uid 1000); Tue, 09 Aug 2022 20:12:18 -0000 Date: Tue, 9 Aug 2022 14:12:18 -0600 From: Rob Herring To: Vladimir Oltean Cc: Alexandre Belloni , netdev@vger.kernel.org, John Crispin , Russell King , Rob Herring , Marcin Wojtas , Geert Uytterhoeven , Jakub Kicinski , Paolo Abeni , linux-renesas-soc@vger.kernel.org, George McCollister , Christian Marangi , DENG Qingfang , Florian Fainelli , Woojung Huh , Matthias Brugger , Luiz Angelo Daros de Luca , =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , =?UTF-8?B?TWFyZWsgQmVow7pu?= , =?UTF-8?Q?Alvin_=C5=A0ipraga?= , Aleksander Jan Bajkowski , "David S. Miller" , Vivien Didelot , devicetree@vger.kernel.org, Eric Dumazet , Arun Ramadoss , Marek Vasut , Linus Walleij , Vladimir Oltean , Krzysztof Kozlowski , Sean Wang , UNGLinuxDriver@microchip.com, Pawel Dembicki , Oleksij Rempel , Hauke Mehrtens , Martin Blumenstingl , Andrew Lunn , Mans Rullgard , Claudiu Manoil , Landen Chao , Kurt Kanzenbach Subject: Re: [RFC PATCH v3 net-next 06/10] dt-bindings: net: dsa: make phylink bindings required for CPU/DSA ports Message-ID: <20220809201218.GA2313609-robh@kernel.org> References: <20220806141059.2498226-1-vladimir.oltean@nxp.com> <20220806141059.2498226-7-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220806141059.2498226-7-vladimir.oltean@nxp.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sat, 06 Aug 2022 17:10:55 +0300, Vladimir Oltean wrote: > It is desirable that new DSA drivers are written to expect that all > their ports register with phylink, and not rely on the DSA core's > workarounds to skip this process. > > To that end, DSA is being changed to warn existing drivers when such DT > blobs are in use, and to opt new drivers out of the workarounds. > > Introduce another layer of validation in the DSA DT schema, and assert > that CPU and DSA ports must have phylink-related properties present. > > Suggested-by: Rob Herring > Signed-off-by: Vladimir Oltean > --- > v2->v3: patch is new > > .../devicetree/bindings/net/dsa/dsa-port.yaml | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > Reviewed-by: Rob Herring