Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1380864rda; Mon, 23 Oct 2023 10:44:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMGkvBlHSC38IOiRyIz8rrkUdffR3sWF3qe5oh6R9modCYZ/ADmPVoZTVPKaUU2W7Pva8D X-Received: by 2002:a05:6a21:66c6:b0:174:2a38:9d9c with SMTP id ze6-20020a056a2166c600b001742a389d9cmr284600pzb.57.1698083045794; Mon, 23 Oct 2023 10:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698083045; cv=none; d=google.com; s=arc-20160816; b=Ug5xqBlfOmj5usDtxj9SEuSj9kKsU444f77hGpzP1BH7A3zB02TW6ZT1lz7TKvUTXu W1Bf6AgvL4hjwTY+FIF2lxV6K7d97OihJLlF1OW+KneJL29YwK7VmwAKVKYLguA9fmDQ +86AkAdyUZfkUc3mRfflmXODKAGGu8U+5w8e5z7E2E/G/4k+dpNa6PHTP7mXX1IaZ6OX HQVkk3l+93Na6NZ70fEIKKyjNv5sbcrS3pXbLbd8En/yPVwOuatQ/Hsw1/vdgRp/IPen 5UpbXHixm1M7I/KlHHwU7oshlzYvx3DDI34AZp40AvT8qZJKeaxd/N8D3WEZqtwK+hde bzAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=c7LX1REoaUHg4Ho2SH1SkZYL3w8GokVQSY2mKadQZME=; fh=2buEcg5c3S58BvcJ6+rCIwnSBwfHiiV4u0IlZjL8eMU=; b=V53oPjXfz5U7/iMNOGJq3d/BBhI50pIeXakcjWVzWz+UD1iN9VA8MyzqT+hAp41s6L jZtE4nSnPfB3x9CQPhnmN46K03b0OeCqs4+qknfVkK9YHY7Vq0zyNp7+28xIxzdecdR8 557k0MIoaNlazBAgx4oDCcRK+z4IwpYWYWGzq1xj7wAxBghNoK5i1b+t3Dke4itqlRfc Z7fcDibryODN9lhUwkJ8s4DMqI9TlJ4gcKxF5f+Yy+T8+MJ7GBDr6WUNRUjOLsvtKkB8 79irmcZR5TaLrVk5faWTjPu3axkkcjSeSVQPR40dEcIq71Bz58H8HY5OCcFMTINf0wVN vpEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id v10-20020a63610a000000b005acf91427cfsi6918276pgb.628.2023.10.23.10.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 10:44:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 75C808032EEB; Mon, 23 Oct 2023 10:44:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233760AbjJWRnp (ORCPT + 99 others); Mon, 23 Oct 2023 13:43:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233441AbjJWRno (ORCPT ); Mon, 23 Oct 2023 13:43:44 -0400 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B926FF; Mon, 23 Oct 2023 10:43:42 -0700 (PDT) Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-583552eafd3so1929325eaf.0; Mon, 23 Oct 2023 10:43:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698083021; x=1698687821; h=in-reply-to:content-transfer-encoding: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=c7LX1REoaUHg4Ho2SH1SkZYL3w8GokVQSY2mKadQZME=; b=KE4NYb5CfVc9teXuBFUmlPzfbWSIAuTw9zodVj3Z3MNfJykKQZ3XQRD6j4SJjlHIcL RvTnEfEv6YGYlTndWkybxwyJbYuIGSBtqtT2/oSKSksCLCmFmrJi7q5igDbTvngjJVuJ 2MGYFgtmt2ezxFbmftNfNCSP6qqt4oBMezrCJBqCb7GwU+5ihhPT2Rapg7rYzzVUrt3K pfkcX4aXbkyyzr+VuSaiaVLwkrtQsVbofCeEc6WvRd3632dG+lFHGycrwL2sWBcfmVMG sd5HeLWeE62zKT9/ib5kNOkY5k9gdWpWUtl+F68q8TVv8aryeaSqwJKMyVnxBFMIr3d4 aNXw== X-Gm-Message-State: AOJu0Yzt6JkD3BtAqpnopuduGdnW8eSVLCOq9HARYAkcAawa6YJ3CRsv arXt5CZoFvh/fdKKCpwq4w== X-Received: by 2002:a4a:db89:0:b0:582:c8b4:d9df with SMTP id s9-20020a4adb89000000b00582c8b4d9dfmr9412997oou.1.1698083021376; Mon, 23 Oct 2023 10:43:41 -0700 (PDT) Received: from herring.priv ([2607:fb91:e6e0:8169:8cd7:6070:de02:c079]) by smtp.gmail.com with ESMTPSA id f22-20020a4ace96000000b0057bb406dc31sm1589980oos.2.2023.10.23.10.43.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 10:43:40 -0700 (PDT) Received: (nullmailer pid 867812 invoked by uid 1000); Mon, 23 Oct 2023 17:43:35 -0000 Date: Mon, 23 Oct 2023 12:43:35 -0500 From: Rob Herring To: Linus Walleij Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v5 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports Message-ID: <20231023174335.GA865777-robh@kernel.org> References: <20231023-marvell-88e6152-wan-led-v5-0-0e82952015a7@linaro.org> <20231023-marvell-88e6152-wan-led-v5-1-0e82952015a7@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 23 Oct 2023 10:44:03 -0700 (PDT) On Mon, Oct 23, 2023 at 09:51:00AM +0200, Linus Walleij wrote: > On Mon, Oct 23, 2023 at 9:19 AM Linus Walleij wrote: > > > Bindings using dsa.yaml#/$defs/ethernet-ports specify that > > a DSA switch node need to have a ports or ethernet-ports > > subnode, and that is actually required, so add requirements > > using oneOf. > > > > Suggested-by: Rob Herring > > Signed-off-by: Linus Walleij > (...) > > + oneOf: > > + - required: > > + - ports > > + - required: > > + - ethernet-ports > > Ooops I meant to drop the patch altogether because I just > couldn't figure out how to test this. Just move it up a level (no indent). Rob