Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2015241rwb; Fri, 5 Aug 2022 11:36:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR4TBlchCU/rZsxQ2KLPBUGYyRLS4IXx2M2D/KSYYZc3mobKwkZVInZ4GOhSFRQhLy/LCrfz X-Received: by 2002:a17:902:c643:b0:170:4585:7454 with SMTP id s3-20020a170902c64300b0017045857454mr2042276pls.79.1659724575424; Fri, 05 Aug 2022 11:36:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1659724575; cv=pass; d=google.com; s=arc-20160816; b=QfARBBwA0sikRKR4Q/SdNirJc127OIUJu65CgYD0ZHgOeLBlECV3sQR4Q/9HIuOBas F2gLO5m5nS2Z9R01nTnGF/KE0o0W+tWcswz+b6K2ZYzT/oM/9YMg+u2iRkEtA4JhqlGp BfstDf/OpcKeCbXpHtmm/HqyaHxxLMLYX9sQFVZUK0otIkXjeAZdZC/1RliQk5LtV7g+ GoBe2dKVHtEpazrEhZnIJT0/KZBss9SPOI/ptL6wPdmbLzYCgYjk+mht9YCD9Wrar6vx PGXPQJyAW92iQgRB61dyQ7XYJDG12Blp6r+sJbc1hNnsB9klr0JUWbM2gxznnlMVsGAX uuJg== 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-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ChI4DWj3JEcmUw0v/Vf6KhKqQcUq2s06F+6v6xlz3Qc=; b=cso7bA0hCIcFyQ6aX8KWSRcBgr8IyqNhwNxK08ttAu40h0Swj6Md+RmZONaTBYexzc htHjX5W2dMSnn5n3K3Y6Oz+qNsBwKngSGU+wbKD/e0Wu7f0u7ZMOrzrw59OY/t96ht7W d8nFjbbiAJDS1skpvAZoErEZaBXyK3PMugQ25PFbNs8BdWTJbtnoE6II9xASTQGir8VQ aUvlJlbcmt46lFGQraj5XG8Cb8bsqLyPoI7xhLg7MlhS3n4NTJFj1xgp15Be1WzwgGnG gaB7BVANqvtBb/a5Qkg1UAGZbE9/6ivU8SH+qPPCZiyYk2hMweUByKjt2T2RyEYHgLTM MuzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=UkAcDx9Q; 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 c22-20020a056a000ad600b0052e8295c8fcsi5746186pfl.97.2022.08.05.11.36.01; Fri, 05 Aug 2022 11:36:15 -0700 (PDT) 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=UkAcDx9Q; 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 S240985AbiHESHO (ORCPT + 99 others); Fri, 5 Aug 2022 14:07:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiHESHL (ORCPT ); Fri, 5 Aug 2022 14:07:11 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2096.outbound.protection.outlook.com [40.107.243.96]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99D2274E1B; Fri, 5 Aug 2022 11:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FfGdtRVY91anWAit9jvGgVotwebob+FDrMHMltgaG8slzUaqbmQZKcxYDdPtmOu6AXjdjcLfyZcHYgyuJTQux9OA/zOq1QgG5aeA9QOxTTI6JaEztsVrGxYD/gLz9cUU2je9eugElsU2dfV+93PWremGkbkOSAWJKC48Hys7FUDlYvINo0XK14TUhXbuc3mD0CsxC/bkKaGsarkezzrWFb/NMAl3UnC0jhS824mSeM5yOILxpdjvXh34OeWWYTt4Sma8TbECMbnS/5yjReukqyPpTRqBvPyJriHX37XEMMzkVR5D8yO/cqErEAjkHXDt6x/LwsyWeQCpgJiIM/eVFw== 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=ChI4DWj3JEcmUw0v/Vf6KhKqQcUq2s06F+6v6xlz3Qc=; b=JSNE8b0fL9QLn9ej6JI4NREAKRH8LnMgK0w4/pzdgjvdwHmJPtN62lDcGX1ggT3N6SsYQD47JB2i24wLOWt7BpHh8TE2+pEIrEwkTnWgrqidVm1QM/PQgSfgVeR1AuDozagppYVTNgGX2sJj6guBcG+G/6GBb35Pwu8c0RbG6FRtMegH7t5SWZR16ndSiCue/G9e+C2V0+Iw7PDeRjGzP4RW3M263R5f0qs85BXjNNddOLUb3E1f2Tkx20XuGWLMF2DHKJJ1vCu0DyEEuK2QX0WJGdGCtyJ+0PQgghUZczK3F2GFF21lOH/6gg4Fk6Wbb3tzmdgK4u/0k/tscr+5Vg== 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=ChI4DWj3JEcmUw0v/Vf6KhKqQcUq2s06F+6v6xlz3Qc=; b=UkAcDx9QseC68lGIFBGx/Y7JJtxpdD3dffLurs5jGlyPG48XRmfPPyMTRJkbMx9l8D8oVEVnmA2+hx1X8HYz2sf44zQ520OL3AYQ07QyY04z9E+YIyTzEVtYbGcQUJ3X1EYMy4bSbWp5a479QiHDWZTmiui2Zvgz2RDQfzFAmCk= 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 CH0PR10MB4970.namprd10.prod.outlook.com (2603:10b6:610:dd::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Fri, 5 Aug 2022 18:07:08 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::b869:6c52:7a8d:ddee]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::b869:6c52:7a8d:ddee%4]) with mapi id 15.20.5482.017; Fri, 5 Aug 2022 18:07:08 +0000 Date: Fri, 5 Aug 2022 11:07:04 -0700 From: Colin Foster To: Andy Shevchenko Cc: linux-arm Mailing List , "open list:GPIO SUBSYSTEM" , netdev , Linux Kernel Mailing List , devicetree , Terry Bowman , Vladimir Oltean , Wolfram Sang , Microchip Linux Driver Support , Steen Hegelund , Lars Povlsen , Linus Walleij , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Russell King , Heiner Kallweit , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones , katie.morris@in-advantage.com Subject: Re: [PATCH v15 mfd 9/9] mfd: ocelot: add support for the vsc7512 chip via spi Message-ID: References: <20220803054728.1541104-1-colin.foster@in-advantage.com> <20220803054728.1541104-10-colin.foster@in-advantage.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: BYAPR08CA0058.namprd08.prod.outlook.com (2603:10b6:a03:117::35) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 23d1ae7b-de76-4b07-0f69-08da770d4fd7 X-MS-TrafficTypeDiagnostic: CH0PR10MB4970:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rrEU7xdMuahKQu94enEe+pVe75lWmZcuWLh+yTIbGjQkrLwunbHRX4W3ZHYYnDuGAF7fcenhKJ51M2sptVUhlSNgxwFZh1hDW4K5FHRnStusNlSj62SnK3XEidzVp7B8n4YaTDQ2BlMait29WVMXPMQMHwleDIDHxhZ4tySyfD4X7pFzuZTbpFcMINy3nXIwBtGf9FTmd20CAlwfGN4ZXAtXKY6PeeA6Au8HNUohvbvcVHwo7iaKba2U02gmABwVNYbB0nYUCn1/iDyzKynBI6lkaL7cUvJD67Uq6gFeWg2FWuZnWftHTL9qqP61naiz/xKTtWfokP+Az/F1AA/U05294BuBQhjdUPbgTU+1zh9UeYdNN6ooCi6CgT0yKXiN+KW2gJ0ZSKGf+bP3NTzKpH1wKcPLJgKz9h61VNLbVLGip6UoTK0fZcu9EiwMjYEwheriefkoMBMw3XVV9pJfGpMCvXDbByHr9Q8PYU+mRYxXQOEy6uUQrE29fII3payjGkzWDmA2ees9YHGaGhJXvyX3riF7MyzpwFkXqo9x+7zH4b96hB8BiEfQjwlXRS8umGoymDazsxsVt5mf7FLOsEmCpn6S55za41CUIyBU15IuhvfKUnJ59RYeOGHswlnpPD3pRK+alefnAe+bF9VbIK5e4mqZRfOktmu4fge4A23BQtfOlnRWtVHQDPbK2nyHLPkt1XWStm/X27OaP6NA6aksXR6zxTEv1MvcVmWgtBXd3hd5I1c1xGmi7Fvi7QCy 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:(13230016)(7916004)(396003)(376002)(346002)(136003)(366004)(39830400003)(2906002)(107886003)(7416002)(6666004)(44832011)(66476007)(66556008)(66946007)(6486002)(4744005)(478600001)(316002)(41300700001)(5660300002)(33716001)(54906003)(6916009)(186003)(6506007)(26005)(53546011)(86362001)(4326008)(8676002)(8936002)(38100700002)(9686003)(6512007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?djo1DK1p8Zkz58KuYw3JQNsU6vDpfjmdd268s6dBap+hMALmwJK0xG0knX7/?= =?us-ascii?Q?X2eqAE0i9gN71H+ym3Apr24WAq1Dy01p95Euy5IIKCMZHtYvdF0ed3jF6Bnm?= =?us-ascii?Q?qHc8gGbX5z32A4eEVg8eW1tnAknv3RrnIjonO1DjHTsEVLzNejFudJqIYsiy?= =?us-ascii?Q?/QojP+y4luN4tmrGs6885pHu7F4ba99UAuJixp+pF6UBrxLJLbQJirItUCfK?= =?us-ascii?Q?EvpLsXESF2z7uVxs5QYgrVdXDL2/3IidKm1HqSY9TLg6BHmDNvuY5jrjMoWH?= =?us-ascii?Q?M+Nk48vKjaaqu2NP9jv/A2yXhbk+2ZVsWwgGqRZ4gxF6nVTNy3h/2euezhvQ?= =?us-ascii?Q?fDm0mlSXzU/vpqK6vJNYKAkUQlOtFh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?Ku2L/e8U5tCuHSeRhcewQ2w04Lx4bbcGU1lHXA7eSmB4GLbKJiQfrd86DG90?= =?us-ascii?Q?Ln7b3xhI52s/D+5hledNlx8SPBZ99lk4gFAKvAyQEum1T2yxzZoV5uqxoJSB?= =?us-ascii?Q?MIRT1mYb5zkBDWgyKPh+rw5n5zlLVtcv+USLAR+KBZGHfpR1QmduoWHtSQ3V?= =?us-ascii?Q?8MNiSsMZmL+H4y4i6EvneJVtdJM/pZze4M4levIPpytwJ9FHwhmsI7Altd30?= =?us-ascii?Q?e0fhoRRswbTD855mJGRByacVFGzek+KYJR4fqZ5NYx8Pa5BAIwsBEQgm/WCZ?= =?us-ascii?Q?de3MwHksAWbbQdtb11CTnW+/Qbh7gthqtS4fpQujELKNcqYLhan5nEgZNe3Y?= =?us-ascii?Q?yWQBQ67RHRLgdSk2i+rnULs=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23d1ae7b-de76-4b07-0f69-08da770d4fd7 X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2022 18:07:08.6152 (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: P3p5PEwszPsx8Zz6c1zemJcdaCU8798ATS+8IdjOVzHnViHBwtDXOT633eVovJ15Lhhu+aiwF9xNVLCKx8fhgT45TnJOpo+okDLrhUPTL0U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB4970 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, T_SCC_BODY_TEXT_LINE 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 Fri, Aug 05, 2022 at 07:58:06PM +0200, Andy Shevchenko wrote: > On Fri, Aug 5, 2022 at 7:44 PM Colin Foster > wrote: > > > > As I'm going through Andy's suggestions, I came across a couple more > > include changes / misses: > > > > On Tue, Aug 02, 2022 at 10:47:28PM -0700, Colin Foster wrote: > > ... > > > > +int ocelot_chip_reset(struct device *dev) > > > > #include > > Nope, > > struct device; > > ... > > > > +static int ocelot_spi_initialize(struct device *dev) > > > > #include > > Ditto. ocelot-spi.c uses devm_kzalloc, so that should still be included. ocelot-core.c uses dev_get_drvdata. So I think I still want the includes... but for different reasons. > > -- > With Best Regards, > Andy Shevchenko