Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15525368rwb; Mon, 28 Nov 2022 12:40:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf5MbOQYm2Hah8zHGSjT5FaOM1mBgRe19373XWl3m9+pgK/iJz4tOBCVQEMJLvKVn6w2Hlbn X-Received: by 2002:aa7:ccd3:0:b0:468:f345:aa4a with SMTP id y19-20020aa7ccd3000000b00468f345aa4amr48273675edt.412.1669668039921; Mon, 28 Nov 2022 12:40:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669668039; cv=none; d=google.com; s=arc-20160816; b=g51zjUVXYlTND3aIh9YjPUUtCl4VlxdhLpUBRVbTjvefeGVAn6sKVn2jZaS+sgYMtB 82CagATAPDBM6gcW2beqOXUzD9yE6a7VIkhu/uajB3PMbPig7ljyrO8zsI5vkVX/WavP Ljm8mvzAigMJMZpzFjV5ASHCKgYUzcNyy/3YCjQOz17nOd8HRXjQ19GTeZzSqGZcuEHW YnTD+lls/Lqqzi1HSbuEUWlCUUw/Yk0PhGfCFVCOblAiZweXT1DW9wl4DrRvGbGHAx7Y p47IOLxrmRjV4nLBajj0qL9BGpW03WKz+WFEDmNmF3UTK0hiSHQJ4A7FEWBMsmRp08WK Dm3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TjoT5TDE+r7cM4/cxzaRtmx/EQ7hkpYtYFeVLk7DIiw=; b=dwTy4AJFpQHWcKgcv5dtF4PLf4Vm1xmMVgFxrX6l9/6/5yNAYMvSiXo7Fx4LlUv/zL OqNX/Yqe8om2gJ6hCdnQv1RUqJrf73ybJQ0XmZIOZe8xuRc6UOMlgROL7NMjXKqqQSB0 d/mn2ue/VBQG6EbJgLciHaLgRwv08Ds+pGQqWPK2wjk9AuuIJCNqBN3hiXQjax7EiGJd ByPogjl+fGT35JAw8THyocn79IE9KKzQE/3VzLR506Sv5xEH+wP2LFQh2uSZD+KzkeEO jZX3BN246pe4o7TGrPtDseS2qV5AAd31m8I6lfiDUxP7Ht32Z/UBFFAY5G0q+7n+P0YZ GP4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tegs0vU1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a50eb02000000b00461cdda451dsi569330edp.435.2022.11.28.12.40.20; Mon, 28 Nov 2022 12:40:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tegs0vU1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231451AbiK1UVl (ORCPT + 84 others); Mon, 28 Nov 2022 15:21:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232565AbiK1UVj (ORCPT ); Mon, 28 Nov 2022 15:21:39 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BB1B2AE8 for ; Mon, 28 Nov 2022 12:21:38 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id z192so14864475yba.0 for ; Mon, 28 Nov 2022 12:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TjoT5TDE+r7cM4/cxzaRtmx/EQ7hkpYtYFeVLk7DIiw=; b=Tegs0vU1lxQyFLgxYk9K/CgMgnC3Pug93SCFq53nyd8nzGJFVZJe23sizEt7pAyTem IErvnVRzqlmlKT8L7idEBMGUl0OsPoEeDls+BSiW2tEJcDGNgBTTTn35rBQU5C49182V M43e8H+uwGNAr2zT8a6aW435ngKhS5gW173hkUYK5w2MOAaemyokfXHeMyxktV6njc77 Z6FXjai4FguNQtN0iDvjE21EOKLjNVzWrYNZ6nn3EbY8b+H87pOdScxPL0AA9acF048p s+AS5YxXJZyISbxkMe7AbtDLGelZwQrP/itQkKBUgnVQeLBlOYLqsSfRMbtVT0+nCtJx RF9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=TjoT5TDE+r7cM4/cxzaRtmx/EQ7hkpYtYFeVLk7DIiw=; b=VAN3MZNItvf7sSAnswSu+fCBB2Ogtz0koUib6PnmLi9ekxgko6FOvJ23Tc8nn7ubvv XtlbxAqVlhBYmT7DcEP0udkBtOEAiiXXCYp/5JjH5/Dh5wxE39v7MjtSr3VJvqZNama2 azm8RNP5eWkNE7Hmb7N7nObz9MxJS8zIrp6LvKqPAyeolWHgEzO4dNB3xhiEvIDn/H+K 6Boir5VoN2/Fa89TPLl/N3yVSBavnLime+puh8Gq6sZjdVfdlp1iMYyfNVgsR1CEyp+B XdmCprvmzqfavbGCMWaM+nOnLR9e5aj4/f+hjcPbXzo8AYoixs63rrpai08v8jx7qHLE vP3Q== X-Gm-Message-State: ANoB5pk0gQj4wnX5oBm+WxNRq5WdWIbDtaqKVhwOEk/R+OPDTteYp0m8 FGIOfXdDSG8RUfDNVIlG0FnEyJqUj1GcvB4O0fsJFg== X-Received: by 2002:a25:c7c8:0:b0:6bd:1ca1:afd6 with SMTP id w191-20020a25c7c8000000b006bd1ca1afd6mr48535520ybe.43.1669666897696; Mon, 28 Nov 2022 12:21:37 -0800 (PST) MIME-Version: 1.0 References: <20221127224734.885526-1-colin.foster@in-advantage.com> <20221127224734.885526-4-colin.foster@in-advantage.com> In-Reply-To: <20221127224734.885526-4-colin.foster@in-advantage.com> From: Linus Walleij Date: Mon, 28 Nov 2022 21:21:26 +0100 Message-ID: Subject: Re: [PATCH v3 net-next 03/10] dt-bindings: net: dsa: utilize base definitions for standard dsa switches To: Colin Foster Cc: linux-renesas-soc@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, John Crispin , Alexandre Belloni , Claudiu Manoil , Marek Vasut , Sean Wang , DENG Qingfang , Landen Chao , =?UTF-8?B?bsOnIMOcTkFM?= , Vivien Didelot , =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , =?UTF-8?Q?Alvin_=C5=A0ipraga?= , UNGLinuxDriver@microchip.com, Woojung Huh , Matthias Brugger , Kurt Kanzenbach , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister , Rob Herring Content-Type: text/plain; charset="UTF-8" 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_NONE, 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 On Sun, Nov 27, 2022 at 11:47 PM Colin Foster wrote: > DSA switches can fall into one of two categories: switches where all ports > follow standard '(ethernet-)?port' properties, and switches that have > additional properties for the ports. > > The scenario where DSA ports are all standardized can be handled by > swtiches with a reference to 'dsa.yaml#'. > > The scenario where DSA ports require additional properties can reference > the new '$dsa.yaml#/$defs/base'. This will allow switches to reference > these base defitions of the DSA switch, but add additional properties under > the port nodes. > > Suggested-by: Rob Herring > Signed-off-by: Colin Foster This is neat. Reviewed-by: Linus Walleij Yours, Linus Walleij