Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5470757rdb; Wed, 13 Dec 2023 09:29:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6dq0GOd+pca7+YXvGqIFUcm8XDVxb8iPY5iRoRJpUzm3x+B+WUYofP0uy3wBXvgZIYc3l X-Received: by 2002:a17:90a:d18d:b0:28a:cdea:af9f with SMTP id fu13-20020a17090ad18d00b0028acdeaaf9fmr2002738pjb.79.1702488557202; Wed, 13 Dec 2023 09:29:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702488557; cv=none; d=google.com; s=arc-20160816; b=Rz8hDBzcRTVff5+VYOgPrAsmDoUew2SZdDL8MKKqyH7MTIAT2/lxe4QPHq1KSMDlw6 mGd82Ybdb1GH28Of8OVhFujfj5otlyLKvfXzB40DISGHW6dAJjQjqjsFzmDFQG17rIzd XHvOtZuH3dKCMxW90OltsrqxMpEobyrO5pJWZTAPFgJLyfgF8iE4W8LG1iKxCXn68z44 YnS171QPzYUbbBtkxNPalqCZCd4NmAQffBAo4+e/tBEWb6V/xWDhjsWhoVg9fQ01f2hE d2J/AyblH6HySTH3S0U56ViLhpr6yDT4xkyKOgfAdJ9xYedwdMP6BMQKBjBwTmTUML8x AMig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xj/hH6y6RyhNjlraXqSHfVHX3NNtMBexxMhREZ1L1iI=; fh=oTfPjg48WS0sQ6XeDyElGxMdgC1g6VeSWt8JZYnj0PE=; b=X9YxOOSHjmb8UxZH2nuCQ7g9AK/Nrb4XtRXlBM8s3+GxWV+CQ7C5I3QEeA3WyMLxOz FtkgPi83k/hHVS7Or3eyrzc2M2BxKcLuR9la2TxNJZo+XY/NdE5FKHXk579GuSL5mGLc A5U2hSKc6lUM7FciN83VifizunQIpye4S0GmrJX52BfbMqXLOGDKnHGKdZBcSy0ayDKJ zqB0mPVnGrBSEqnuEXyOmzLnnde+63IgeXr38yb0NnjGlXiSdnPNedv2NlNmMi6KPvjL 2hM5R55c7v2Mn57qleb2zfUgMGytC83Q0onlJo3bqJZ6myQ4Xlq2oCCSE4yVMyuQvC+9 VoRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=U0DUnF52; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id bo8-20020a17090b090800b0028af7e457c7si452276pjb.189.2023.12.13.09.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:29:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=U0DUnF52; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C50568116320; Wed, 13 Dec 2023 09:29:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235299AbjLMR27 (ORCPT + 99 others); Wed, 13 Dec 2023 12:28:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233765AbjLMR26 (ORCPT ); Wed, 13 Dec 2023 12:28:58 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02A6B99 for ; Wed, 13 Dec 2023 09:29:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702488544; x=1734024544; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=FNvpn5+0nNGuccdgyMS9bQ80deCKqQhRJFYG39AGC/A=; b=U0DUnF52/kYnk3sJXUFFxAMMknkl4BaEAGD/RNkvlSEmowQ1kXMbzkJt 5kQohTlIaynLS6fDc1Q3tugyHDilkBZWhxVlrG6jEK2hV4023vCA4vMHP nAr4ZUYK+HD5AfwG2mCdny9JSVLr/RUuEjVo8BVMoCiKEDNzmjaBSUSSc E5JEvzDIlj2XRf1zGzgDMHKlVTuLSe9KlRI9UXEwN2/xw6I5/qs2vINKH iW4qLClRalNt+INhpK5k7eDfklMmXIXi/EntHDYPEWe23YwIQE8Bs+ENt HHdM/uY/o+nNRf6IdrqBDVKXdgrh7btE4SX+IJahgcpbC9jDFK/8hOXX8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="375149711" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="375149711" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 09:29:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="892091550" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="892091550" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga002.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 09:29:02 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rDT2Z-00000005ayF-32y5; Wed, 13 Dec 2023 19:28:59 +0200 Date: Wed, 13 Dec 2023 19:28:59 +0200 From: Andy Shevchenko To: Nikita Shubin Cc: Linus Walleij , Dmitry Torokhov , Damien Le Moal , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-kernel@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH v6 03/40] ARM: ep93xx: add regmap aux_dev Message-ID: References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> <20231212-ep93xx-v6-3-c307b8ac9aa8@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212-ep93xx-v6-3-c307b8ac9aa8@maquefel.me> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:29:14 -0800 (PST) On Tue, Dec 12, 2023 at 11:20:20AM +0300, Nikita Shubin wrote: > The following driver's should be instantiated by ep93xx syscon driver: > > - reboot > - pinctrl > - clock > > They all require access to DEVCFG register with a shared lock held, to > avoid conflict writing to swlocked parts of DEVCFG. > > Provide common resources such as base, regmap and spinlock via auxiliary > bus framework. ... > struct platform_device; > +struct regmap; Perhaps more to add. See below. ... > +enum ep93xx_soc_model { > + EP93XX_9301_SOC, > + EP93XX_9307_SOC, > + EP93XX_9312_SOC It doesn't look like a termination, so leave trailing comma. > +}; ... > +#include I don't see a user for this. Am I missing something? -- With Best Regards, Andy Shevchenko