Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1064349rda; Mon, 23 Oct 2023 00:51:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiMfzTFR97pqr+jlmWjcF9QCod/CjYU5nLizvo+v1P3DWcXv9CvJq/NkHUwUVvRe7GoLPw X-Received: by 2002:a17:903:23c2:b0:1ca:6abe:cb37 with SMTP id o2-20020a17090323c200b001ca6abecb37mr6276151plh.9.1698047483219; Mon, 23 Oct 2023 00:51:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698047483; cv=none; d=google.com; s=arc-20160816; b=DHCPkkfaIpQcq7EsePCJImM1AIKltSP1OsjVUP6vUK+o5fYvjkObCIKm3zsfKuYL+e VKsQHD9FzN1GZ4tVwrM8FmMFsFozpJIBbx+PCiwAladETxwFc9axx+wytmuOb41122Z4 0GdOybDZg63FcsfFUZxMLp6+LKH7ER/Df6UgIWHyawWYblcJVrIT/Sy/cpoSyGbIBWz5 iKNczasPcC6vq6PT4iRzSh/aKR4c5K5l/jtMzNxGxm8MyGI1M8P8mbha1dpitIm2wbQS Oe5q0cN9mlc5etgU+xFJKUIddSXpTKn01RpJMUm2CWyQyVVf9NUZNkDZPdXHQHm9rSTt JRog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hwpfXuSMxW2SQUceKEQObxa1Va7HSYmmlN8vyK0Wa9g=; fh=dJadNZ37A4skvjhqJWY+3VEMh4G7C6esK/7DASDCfHg=; b=EA2Hnlzy8FllC/inSiBCHBsmfIf29J944K8ruRoY4Nq8txRIAsRX86AyadgUHtIKGX ZLda/izVV4uvNC0vBDG1gh0COHcnhw/EoKghKkiyZaDPOQz3TE8LOr814oUlEVxI0Njo htxZh+DdepIhtdfo+yLpEf9JLWsXC5ZyJkJhlss5GHJehgOF0NFqdShWaNHZit53Q7jH XK1KCuilIdVEPdppbZKUKW24BABgQ+a0T9grvq7Yuq7rv3qEpWNHXo6nKZHH7oYCvJEH sMkmsLfr1SgbzT1tRKgHt2nLEIvZDqyxOS4dBG72wybT4ZxiHtgurJjvVHJZw1At+p7T n/Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x0SPzP8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i10-20020a17090332ca00b001bbc61fedafsi6147738plr.422.2023.10.23.00.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 00:51:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x0SPzP8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 2264F808E670; Mon, 23 Oct 2023 00:51:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233580AbjJWHvR (ORCPT + 99 others); Mon, 23 Oct 2023 03:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233491AbjJWHvP (ORCPT ); Mon, 23 Oct 2023 03:51:15 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F41DD65 for ; Mon, 23 Oct 2023 00:51:12 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id 3f1490d57ef6-d9c2420e417so2838276276.2 for ; Mon, 23 Oct 2023 00:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698047472; x=1698652272; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hwpfXuSMxW2SQUceKEQObxa1Va7HSYmmlN8vyK0Wa9g=; b=x0SPzP8TWH+DPfQr77Ql2yskLtJZKTK8bIJotYstSKFjPUB1x17bq6XAliStZmCSg2 T0nHM6LbOFkUkwMc1cMQqgc8JOVQ1Nihi0Sia48WHr6x0uC/zA5uuA9hYCcpdEToOMk+ wKYjwFA6orwPnjeNhaNA80itrbQcBmUPyWusyHH8PL1XOmHk6Pob6k9U7NvwHvAFfgTA vh83w/x7MCu8lJ/BW/6bo7yv76YG8xh7L0i+wUGG10XhbXcrEgnKsQJvEPSAtDOKtqt9 wsoJp3OFO9suLPOvSywFp24515u6f/aMX1GBe9bS9L4CqCHpSyUcZPc6YBOlM2sFqgbK R/fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698047472; x=1698652272; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hwpfXuSMxW2SQUceKEQObxa1Va7HSYmmlN8vyK0Wa9g=; b=JW/ufRbrlPl7jTY9NyrJ3x0rS0XjyVuoeziXDb/JA1wqGKCApiUCGXPdSl0aXsNYqp 79ZXra5FRlsoIsSX6O2EFvNetlXBg/Eh7G6vLFOtp2CcDD83lzsEjF/MIK8qDf3uJ4vT V0y2nK2I1bqsx2mSIqZktelWI975DiK78MvkwUadcvI57ofra4XiHJKjX4K5ZauWNyAE w0jtuEE8HA+fxw6lrc6XYI0WJlN3HpmIcBdW66MQ7L/TZJtMxoAU2y9buW4cra3AB/XQ RDdP8fUrCv2IYbQxXvkA9kpi+IQ4YNflvvj+iGcSjCH+ox1GfuzIdKdqE7uFQEpcHNM9 68EA== X-Gm-Message-State: AOJu0Ywo7tLo15BMYcaMP0QApqp5RnL85v50urRe07jLVzwZtFFBi4ZI x7m/TrX9Bou2BR/bVHTiCnoYIIMh4MhTsLFQZSd6PQ== X-Received: by 2002:a25:d8ca:0:b0:d81:6151:2031 with SMTP id p193-20020a25d8ca000000b00d8161512031mr9021111ybg.61.1698047471820; Mon, 23 Oct 2023 00:51:11 -0700 (PDT) MIME-Version: 1.0 References: <20231023-marvell-88e6152-wan-led-v5-0-0e82952015a7@linaro.org> <20231023-marvell-88e6152-wan-led-v5-1-0e82952015a7@linaro.org> In-Reply-To: <20231023-marvell-88e6152-wan-led-v5-1-0e82952015a7@linaro.org> From: Linus Walleij Date: Mon, 23 Oct 2023 09:51:00 +0200 Message-ID: Subject: Re: [PATCH net-next v5 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rob Herring Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 00:51:22 -0700 (PDT) On Mon, Oct 23, 2023 at 9:19=E2=80=AFAM 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. Ignore bot complaints on this one then. Yours, Linus Walleij