Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7208300rwb; Mon, 12 Dec 2022 11:27:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ubAJ44pON7p+5INeIu8ssawKYdWKgzINal5q4t1JM7oVbnnmzf/2Tnv8e/+17BC8HS5sg X-Received: by 2002:aa7:d912:0:b0:46b:2b37:ffa6 with SMTP id a18-20020aa7d912000000b0046b2b37ffa6mr15425834edr.13.1670873261149; Mon, 12 Dec 2022 11:27:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670873261; cv=pass; d=google.com; s=arc-20160816; b=Qsu3t26SxXwyjRZWc8H7QrOQTuLSljnVZomtfN4w3YuwsoYd7m8wbCYxdOTro7AjGy oSBdK9V28O5L16CFnQEja3+/keJEKX7+vCliKmA7Of/iIlbdzyPX/7OM5XPXV7MwDeWH hJPzyomGg5va62ZiRqsanAOsB9eIWASGpNcVZpIDkaCi8+NSoVu4LAf0TfRjef6k/ty2 dtHuQGhp6Cy4oI7UC2TF4o8A9V0Qj0eCxAYKf0y5NtfOT01nFIfleCptlzSgsWqORm6w hC7vB9mRfcpR0amaWci1A13T7mTdlxCxvRKD+hUy7vLDLiNtye0H6m/Z06TPd/6TTb9m yUmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature; bh=xmjJDiYArf/X/0pc3R36M4T7Q8PKtSoHxEoDFCztk94=; b=KSPK/0pU1dEbxfxJqP9jyYNb/VYiEsS5NamOMvzGm+cKo510xMZLAXdTYeb+NhVCnv FqZ2fER1kZzVPRxFNCXO0ZRoo/1ghO/c2FXT97nBCakSKS/BCXR6B1x7cN6a05tvPqIZ /6ohjxFwuNrVLBenR0h+vPg9B7wChR/HUfS8JshT0ucCe2TUmdC8UGaim5XbiP8VoKpl NLULYVGhE0z8Rhh+NF66Z/rt7UmZ7m7j3ucw32hIS3sR/+AONuH7vRWO2lO/zevw0mKw YJ8QeQ9w17zIa3EDpwqaism2Hdq/NuAdKgnmJJQP1tuN0v09KU94nJycgYiFXxbMBV2I 6xRg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=wGcELf4+; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz9-20020a0564021d4900b0045c98bb5359si7959866edb.590.2022.12.12.11.27.22; Mon, 12 Dec 2022 11:27:41 -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=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=wGcELf4+; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233084AbiLLTEK (ORCPT + 74 others); Mon, 12 Dec 2022 14:04:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233271AbiLLTDk (ORCPT ); Mon, 12 Dec 2022 14:03:40 -0500 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2131.outbound.protection.outlook.com [40.107.94.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E72D13F7D; Mon, 12 Dec 2022 11:03:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VCIJJOzZgTI6se0rUenmKuEJyxpp4RMTfMkMaPAglsM22BOjlRgOl11TCTRIGzeTlJ9vPmbfsu4xDHoK/jpNBgD0iOJShB/j13aW0wm52FjRGA3lBpUX6m2+XCPPaqNXgZUgsuIv1+kHoQ33g0Hme+t0f3WtUIyt3VrEiW7w4OErmHhsixTsJ/QYwDqzfCJwbsu6qTZVDIvwLFue8oO8ex/wrnJ15khu3xnFbjT8iQe5p8xsVdwgEZmvrpn51R2L+Rk3mfKytAWE/SvOlVDWwWIOYYkEWV97EI/tt9hQ4sH8XMMOa1fhasXHMbZaBmJSOIdqb4n5PmQPoEQHQp4vjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xmjJDiYArf/X/0pc3R36M4T7Q8PKtSoHxEoDFCztk94=; b=PL+/AXNNa50YW0O1++I9NYyNrJZFANipGo7IeKKWfi6HxSuI436fKfRGrjIB8RRqemHndvqNfit53MN0sS1guEi4biVIsz+7PIbbX3gUChRASV+oOmjnqQGPxPrct9rcxeLvC9hN19HGJAqC2f8mwoAznNnItCCw8cjnji+awD9pzT9y5VB1I1XKbsog26ooRENMGLo4PWw54Wv7004dFQxYZd37RbSp+lHrl3XoqVPXqAS7e4RIiNgZl5mC2qqwNnUSh7wmUL9LUXKB/RetrP+2lrbzpZNqJUNP646YTDlZsjYGMfCxPBbTotstU5gLKTqWqc0JIEx0C1GshRT2mQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xmjJDiYArf/X/0pc3R36M4T7Q8PKtSoHxEoDFCztk94=; b=wGcELf4+JMnGRhGAsJl5v0/yCDFucldIW3xLzFKbvJz/VadPVzUeY/JfaFazMaxdfx873+YDozFDuVpjL7h6qrRPDD7P3fFQvV3phZ3F1MXyoF8KdUMAghr42zKJiOYPPINcrRA2VRPN3WILCIWScpfwVft3/0uK6ywaz/6QAks= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by IA0PR10MB6746.namprd10.prod.outlook.com (2603:10b6:208:43e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.19; Mon, 12 Dec 2022 19:03:15 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5880.019; Mon, 12 Dec 2022 19:03:15 +0000 Date: Mon, 12 Dec 2022 11:03:09 -0800 From: Colin Foster To: Jakub Kicinski Cc: Krzysztof Kozlowski , Rob Herring , 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 , Vivien Didelot , =?utf-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Alvin =?utf-8?Q?=C5=A0ipraga?= , Linus Walleij , UNGLinuxDriver@microchip.com, Woojung Huh , Matthias Brugger , Kurt Kanzenbach , Paolo Abeni , Eric Dumazet , "David S. Miller" , Vladimir Oltean , Florian Fainelli , Andrew Lunn , George McCollister Subject: Re: [PATCH v5 net-next 00/10] dt-binding preparation for ocelot switches Message-ID: References: <20221210033033.662553-1-colin.foster@in-advantage.com> <20221212102958.0948b360@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221212102958.0948b360@kernel.org> X-ClientProxiedBy: SJ0PR05CA0001.namprd05.prod.outlook.com (2603:10b6:a03:33b::6) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|IA0PR10MB6746:EE_ X-MS-Office365-Filtering-Correlation-Id: cb8050f0-071f-4e73-e0c8-08dadc738613 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eFOlNLbudeJmFiy5QmIgPQAaXprjmfzfJEoeNGFVNDIAssaMgk8KvI0/v47CmiDnzaKG0yf72g+ZR/xkw8+xceDCd21FxUJHeTwzuHLDGZ75f3xEqwDUs2WfebZZo8yFlQ2vOZXV90vmRALnYFucxCaXR6xY0JARVjkHNyJsD7ZLsoP5F5POTojw2I9OwtjiM97zrDuhYrqaUS476d3QcyAMDlbKZimEqg2Sm3/I2vV0UEO/wqE+yD2g4HsqLUMPEpGo04tcYIzLuk47e1s/4z+gpsYqXjh0IF74wgLf33ZjhrFlj+hMhO1Cw4x8h/4q6Goi6hPEJ1pfgaWu0pfAxGplN2jY9sBwAXzlDoj6nslcSrHnHjQ+a+hRBnyKqqZQiE8sOLngA/I+qinvLgZ7EALm5yYLjqExZMuqAPG5k8LbnfluM5Sdp6fPitk1B1cXfbTnNYVAWPMwBcPR5Ib8/ljGkfClvn+mJLDktcPF1ltnoZLihMKaz3ZBt/gnFfxn7nMdYsvUbSvHi96uk2JnMFn/GWm4amlSpPe4ghrTLt2YOZ+KCZh8NUsE5y97E7uan9hKy6ACTX7bQxsva85j3K/vG+pe2ewBPu09HvbSxfQ5qRGVtksdOOg+IxeHUzo5FE7ijLsWL+1RdoTaZZZT7w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39830400003)(396003)(366004)(376002)(136003)(346002)(451199015)(66946007)(41300700001)(8936002)(38100700002)(8676002)(4326008)(66476007)(5660300002)(66556008)(7406005)(44832011)(7416002)(83380400001)(478600001)(6506007)(6486002)(6666004)(316002)(6916009)(54906003)(2906002)(9686003)(26005)(6512007)(66899015)(86362001)(186003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b0JXdzBTQlBVY1JnT2xEN1ZnYkdoMHFoL21hOHJIcy9RMGx2T0pmTVBndmF3?= =?utf-8?B?MTFYRzhJTmxvTndhRzNhRlBZRVNKSE5Idm1TY09MRldWbVBSNnRqSy9YTng3?= =?utf-8?B?UkE3N0FRaTgzaTBucTBPUG9LSUhuWkphWXNPYjRkbVY5aEl3Nm9wVy9wb0Vv?= =?utf-8?B?RU9PR21OMzZHL3EyTHRwcTM0VFIzeU1MaXl1MjRqSFU4UzFhWlJPNU9zSVl6?= =?utf-8?B?UW1TQ2JQbU5ySFBwMTlFZ1czUWhlYkl6UnBES2pJL2NqcHhMTVdSb2xzcTZv?= =?utf-8?B?N09kcTNEcGVkV1F5dk9LaEh6N1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ltNVJHeFp0THdzbVNNS1JiZnEwbUFXcVB0eHNhTzl5RU0xZWlZRXZ6SXkr?= =?utf-8?Q?iPJLpArBOTzjxs5pEWgnA9k=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb8050f0-071f-4e73-e0c8-08dadc738613 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2022 19:03:15.7801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: pEKAAegcuM+ksZkIJqqUbO5tL5CD126av13MU149HPHGFKw57VnoywiM2pnUgmqGSptFQ3/z5z4XcomqlJmv2wXPvMqEJAZEWamzfm3BkWA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB6746 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Mon, Dec 12, 2022 at 10:29:58AM -0800, Jakub Kicinski wrote: > On Fri, 9 Dec 2022 19:30:23 -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). > > A lot of carried over review tags here, so please let me know if > there's anything that needs to be reviewed here, otherwise I'd like > to merge the series for 6.2 by the end of the day. I just responded to patch 4, which has a small (?) outstanding issue / discussion. I asked Rob and Arınç's opinions as to whether it should hold up this series. Everything else is good to go, as far as I understand.