Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7677379rwb; Tue, 6 Dec 2022 08:32:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ovxRQRuUfJfEuEzeE+NIYjNaFYYgz+t88NMywZ6X/jWtoxve5VrOOODMaTr/tGpMcZeVN X-Received: by 2002:a05:6402:3789:b0:467:7664:c7f4 with SMTP id et9-20020a056402378900b004677664c7f4mr36013724edb.99.1670344374555; Tue, 06 Dec 2022 08:32:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670344374; cv=none; d=google.com; s=arc-20160816; b=D6+uztawwgBTFUvPzeKgv8cWsGw4SLPXHgqg3WwXrB3z6mpZp4ErBe5nfYu8Ryp/sv rPaY946FJvmjx1OG1B67lmaGey/3gyfYWIyLKZg0kgBiWUpDea/Jo9V3lgQu0kCR8bCe qf4pq1m/SXwsbk1ObPvIQLr3lL08koWEEMc0No/l1aVWWJjsbnwzAhsYSsc5Rk7T5h6L ZJreNUII/CWxPYDru57c/flE5TCBP18gofNCtJfDHGBqgPwTs+mQRXl8Umws8+ymwH1a eCRZKVQLuJhEEF5smFyaHN73p3UqIwsTrpnSbkp2tcqEbGiDeh/6/Rx9/c2GiEiJavEL VOcg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t8cA4ACelgyjXGYdUQh+jD+jJuegWDTJ6AcOocRBXlg=; b=eCrtf/0Ka5dgDb6NwTf88z9GJ6u0ckIlA3oh7SqV0Y6Asu4LzkaQxZNKEWx9tT76r2 k5NDl1Kxm1dR7GCXzMREleduUIQKe6O0F24ivyKtokSjS0jRd+rGU+XJolG6ziFsXJw5 KFMv4lUd17BWdFCQkBkfB1kaWi+It2ziNWfwSpA8izgr1vForRophpMiz5uoos9F4NIp 0B+qggTFHcrKZi2q7oJ4HUy77tbOJ6vEBq3b24CWnn0KoacVoPatILirtwWHi6pDgv// c61Lx6CpaJAP5pJQBKy7bu71WefSEm26aekXHsqV/Gxi5aPeKZHr8vTlspYMnHRFZgqP v9fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UDbZ7YkU; 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 b20-20020a056402279400b0046b58b0497asi2483116ede.314.2022.12.06.08.32.34; Tue, 06 Dec 2022 08:32:54 -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=UDbZ7YkU; 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 S235505AbiLFQKE (ORCPT + 79 others); Tue, 6 Dec 2022 11:10:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235271AbiLFQJl (ORCPT ); Tue, 6 Dec 2022 11:09:41 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB9663AC2F; Tue, 6 Dec 2022 08:04:35 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id s5so20867409edc.12; Tue, 06 Dec 2022 08:04:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=t8cA4ACelgyjXGYdUQh+jD+jJuegWDTJ6AcOocRBXlg=; b=UDbZ7YkU9hRMLDz1egSCEnbQlgdWZjEVy636iYNE+34e/fSxF62gaDd6CTMdppFtCK gg/tmHGxjv6MmTRtOIK6cx2Jjb3mrtGU3frQXEfew2/+LTUEgbnyISdsKs3uGml2JOtZ JvYal2m3xNBsJGKirr1ul8T5Nqd523nKJZ5j/6tsiWtmmwa5Lq9hS9GDQVfeeHi8DuNO 9AH2mDVYfYFz3XMKsNqvPsJgk2ntQaoPQjCS/0XXQ47EzhHk/ZzAcZeGVyZBpXi0/BKY ja42TGmlgxjL8R53NfB3B/0xZOOKq7jWt3JyWFWCklmO4Nc0rmdZcq3WlTtSguff+bFS +xvA== 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:subject:date :message-id:reply-to; bh=t8cA4ACelgyjXGYdUQh+jD+jJuegWDTJ6AcOocRBXlg=; b=olay62LRaSe+dfFDCKnIqP9H0/J1TI00PjCUeh1sNY33HWirTT8uF8bilNfoJB6Kyf 91Z6DtEM5ykYFgCIRLWlUMPpx9WqsUfLkP2rFmva2yXh6oVH6+O8tOLCruPVyRV8CguT HfikQ4Eb50GssVAztN7UFqC3H2iDyRHGlBGLUrtQcrW2TXB3Q1PZwDQWlz83LCeV15Wt YZXzoIEuigsjF4nnagax/gr90Qup2Al0YlFLZh4DZ4sJeJlIhCC5JM0LQGK2wjhmYJab WU0GJTtdQQzWThheH1gIkjREueXY5HRQ60Omy6gmd5cOcXuCOPwDsgzKBVTwAmVbzfz1 tdcA== X-Gm-Message-State: ANoB5pkht0eqnziw4oiM6deE8BgS4crbpgClWy/Tp45Q+uyxPhx6QTeY NU9jbCphdqVxIxbGOenbkSc= X-Received: by 2002:aa7:d1c5:0:b0:46b:a536:e8d0 with SMTP id g5-20020aa7d1c5000000b0046ba536e8d0mr26487265edp.261.1670342673471; Tue, 06 Dec 2022 08:04:33 -0800 (PST) Received: from skbuf ([188.26.184.215]) by smtp.gmail.com with ESMTPSA id gi20-20020a1709070c9400b0077d6f628e14sm7565992ejc.83.2022.12.06.08.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 08:04:33 -0800 (PST) Date: Tue, 6 Dec 2022 18:04:30 +0200 From: Vladimir Oltean 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?= , Alvin =?utf-8?Q?=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" , Florian Fainelli , Andrew Lunn , George McCollister Subject: Re: [PATCH v4 net-next 0/9] dt-binding preparation for ocelot switches Message-ID: <20221206160430.4kiyrzrumcc6dp2g@skbuf> References: <20221202204559.162619-1-colin.foster@in-advantage.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221202204559.162619-1-colin.foster@in-advantage.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Hi Colin, On Fri, Dec 02, 2022 at 12:45:50PM -0800, Colin Foster wrote: > Ocelot switches have the abilitiy to be used internally via > memory-mapped IO or externally via SPI or PCIe. This brings up issues > for documentation, where the same chip might be accessed internally in a > switchdev manner, or externally in a DSA configuration. This patch set > is perparation to bring DSA functionality to the VSC7512, utilizing as > much as possible with an almost identical VSC7514 chip. > > This patch set changed quite a bit from v2, so I'll omit the background > of how those sets came to be. Rob offered a lot of very useful guidance. > My thanks. > > At the end of the day, with this patch set, there should be a framework > to document Ocelot switches (and any switch) in scenarios where they can > be controlled internally (ethernet-switch) or externally (dsa-switch). > > --- This looks like a very clean implementation of what I had in mind (better than I could have done it). Sorry for not being able to help with the json-schema bits and thanks to Rob for doing so. Would you mind adding one more patch at the beginning of the series which syncs the maintainers from the DSA (and now also ethernet-switch) dt-bindings with the MAINTAINERS file? That would mean removing Vivien (see commit 6ce3df596be2 ("MAINTAINERS: Move Vivien to CREDITS")) and adding myself. This is in principle such that you don't carry around a not-up-to-date list of maintainers when adding new schemas. I don't know if we could do something about maintainer entries in schemas not becoming out of date w.r.t. the MAINTAINERS file.