Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15532810rwb; Mon, 28 Nov 2022 12:47:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf52P159xjgFtKhdCLjgY9DbTsrMrmgjSpHQxvDtrArDVezNgps/S2nRMRk3UGA/i3IxV7dG X-Received: by 2002:a17:906:aac8:b0:7ae:df97:a033 with SMTP id kt8-20020a170906aac800b007aedf97a033mr29034622ejb.344.1669668439377; Mon, 28 Nov 2022 12:47:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669668439; cv=none; d=google.com; s=arc-20160816; b=UOdTLCGFs1lYdux/WbZMieYxvVOWA5knlNgEquP8r+szlPUocaZOX8Q1OGTSqosWfy HvbSXtuUTQrVEM4T6s8t5jJ/uSjFWs2GbMsnigVdF20bluEUucHLSb6FbHR1a+UaGopU bcD5T7J1exzhZxWRODgEXS8b8DNyLrDMVcHiccpQqNnuF1VawG2Q7NAf29kW+8/tskb0 Fc1/hxtwPWL1tAoLNJ9pEo1uSIsa6UckxRHRaqLxQyvqOH+1CN6n50+UGa0k3LxeoR78 SD1T01XnWvn0krtkCl8yzD8SkbNGedLaYGTaLYfo1U7h2f1wV8n/MjIBdD5DbsHuyAbu bOmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=R2QDZwY4CCKZmNIQN3jmma88d1GFVM4ZLSSSQWOn36o=; b=XXkvRnzMNZh4pg08Wf4s8D5fqJheM2aHNeOHfMbuXSjRDcU4G5gh2gjitvWjyIylqe uigtPI7ar5OrdYmPLIVLnhOVeZuMDaoR7JLof6kTBc9sCWJovf+XlJs2b23SM5JmbdoI GugaueQgkrbwyJZFg9s+eMvVRpONpmESOSCK6EPh+iOybB2ZavkHgegoSXmlY2bSiLp/ TYeHJGeZx9m4k/oIjbeZuBGvOTYl4I+yl2661dfNloq8f4CmHhUsp+jGpdEDpucJ4MMc vS3sD2ASTpIpS3ZNXeJWOJUgCCQBloAcdiA0vCJdwKXx6yQ9lCF5VkhgsV4AmwWsMtVC 7XhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Xy/8UNSR"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho16-20020a1709070e9000b00783d5a873dcsi12519507ejc.341.2022.11.28.12.46.55; Mon, 28 Nov 2022 12:47:19 -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=@gmail.com header.s=20210112 header.b="Xy/8UNSR"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234221AbiK1UmE (ORCPT + 84 others); Mon, 28 Nov 2022 15:42:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233789AbiK1Uly (ORCPT ); Mon, 28 Nov 2022 15:41:54 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C6C25D0; Mon, 28 Nov 2022 12:41:54 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id o5-20020a17090a678500b00218cd5a21c9so11295850pjj.4; Mon, 28 Nov 2022 12:41:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=R2QDZwY4CCKZmNIQN3jmma88d1GFVM4ZLSSSQWOn36o=; b=Xy/8UNSRDI14S5r0lI5NHz5yMWMIJomnO930/oPO687du/EgM4z7agC56GWFp4O2qd 894TaMTpkf7AIDl+6B5wbhBferQc3OIZE17EJmwuFtR4qwWMP3nHVgrQTKz28IJSZ0l4 QFoYTH/uNeqfRC9SBaL6yeY3/pFrUs5ZWrKQbHH1QFc02LF+zzKLh5/i/9Z69TJtZxfN wUzRpH9wIHaTQ6NbNYWEkpLCoWyAA3Bp0G4Blp3p95lja+aRWblqWIHmKEXWfUrXXFKM Z17lk7nwvD40Ov3BUauew6xx8oYbb4SEsvyII0+w8v19OSAdQR/OqD2xMlgrSfeq4rmn l3gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R2QDZwY4CCKZmNIQN3jmma88d1GFVM4ZLSSSQWOn36o=; b=7TK4iDM9SzTfdBbzUJX1RM5xzNAMLf35iUIt87FEeKKdH2n4rQ8mF7Oj8YvN47VHeD GXhO67MflUWaUPEc2uypzSgFcW6BdcQdSyM4f0h02dmfNEEXyd9ByGFUie/r2ffomRvW CGuqelscVYmxez+4Mb2xAt2eiezC9Av3fwS1RvksNVIxA1oMCxHOnpvTiDYcVj+OlCrB UWXAgexO7D3YEUo6ahrzUAZuffdoCBhMwdG5pZjGhoKdsXd8LzjmcWksptQVmBloH7cC KDRSo+TeEGs28OsiLMH7Yrl1UVmpz6NbkjLB/DrW18ckWFPzTAivvWaQ2C49XaerDyqL Vzhg== X-Gm-Message-State: ANoB5pnEr4HtcSVUxKOvY356XSChyp1BrvDQkcGdEsqLw3rgTBS9LXZB WumToDOz/V8A9fb7LSq10u8= X-Received: by 2002:a17:902:7793:b0:189:24b3:c86 with SMTP id o19-20020a170902779300b0018924b30c86mr34062307pll.84.1669668113599; Mon, 28 Nov 2022 12:41:53 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id w20-20020a17090a529400b00218b32f6a9esm8101579pjh.18.2022.11.28.12.41.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Nov 2022 12:41:53 -0800 (PST) Message-ID: <1b36a516-6c67-3ae0-ed9d-34dc85df3ae9@gmail.com> Date: Mon, 28 Nov 2022 12:41:40 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v3 net-next 03/10] dt-bindings: net: dsa: utilize base definitions for standard dsa switches Content-Language: en-US To: Colin Foster , 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 Cc: 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?= , Linus Walleij , UNGLinuxDriver@microchip.com, Woojung Huh , Matthias Brugger , Kurt Kanzenbach , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Andrew Lunn , George McCollister , Rob Herring References: <20221127224734.885526-1-colin.foster@in-advantage.com> <20221127224734.885526-4-colin.foster@in-advantage.com> From: Florian Fainelli In-Reply-To: <20221127224734.885526-4-colin.foster@in-advantage.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 11/27/22 14:47, 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 Reviewed-by: Florian Fainelli -- Florian