Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5485594rdb; Wed, 13 Dec 2023 09:55:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdR3nnR3C3y2W6F7IPuT1pafsz4XCbz2QoOVmjJF0NPLd/TaMxLTObli9BWkq9rXE5CfKy X-Received: by 2002:a17:90b:2092:b0:285:bacb:775d with SMTP id hb18-20020a17090b209200b00285bacb775dmr3519272pjb.48.1702490137101; Wed, 13 Dec 2023 09:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702490137; cv=none; d=google.com; s=arc-20160816; b=PJxwZVynUj0RfKYt++pwj8iVukB2YL5Bxo4Z84mDjesRj8i2mKgO0V4gcMJqVoMaGj OYH1d2Ux+NRURH9+oXxnWgpZRh97HzPKVQbXnnTeHuqkyDzqhUAvYlnF8musEWpxmdfA e+lDxEHDV0Q5djNZ04aixeRz809sO29Imkmo2x9lC4JBbXbQmTekPBu3R2O+4+9iPjfq tQBeuh7PLW2xy0js+F3kFhGfWB67DA9Dynwd9fS/xFXa5MMmTx8yxBmx9Z1PYIovNT1H rj7YHowCDa9lNAiJ275io4nLfIbGp7WTXsXNIhZG+Td/S2rDK2oAaigFfpdZzAeb9uYr uKyg== 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=N1tdEy9HT5nLQu1BEC1xOeFTH6vvWTL+Bmo5Clr/0ZM=; fh=0Puni7vgP1tirO+j222MsZcsAFw+maiXWkmpzINIyHg=; b=SqZsG7QYlc6JCpnvsoDzfoazYLn1yz3vf9PeFMfrgdST9opdnBDxhhbonaEPJWC47H Lf5+ZD5K1nKrb0bu4giRXAk5NvH2D6noCn9HXH0WvPeW963z69FUgxbJZzp1zuGlRYL8 yXTHZqetZsfedk9dfwP0L4zcKZisgmdgu2yrI40Z+wTwBjbaez4zS8PBnLDTkNisxJuu 4bJF/xrhAUgUMnw8dgZi8jTCV1HWZ25ypbQxata8CjQXVw2bfTlAIY8dTCJEMAGs8t6Y ju2FPTizH7URQsUJE3TV8gj/hEBGSFPK1HDBw6xVNcyyzm2lrq3OiN8Rg9mdLD2LHZ6r WuAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Yw8kHCfc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bj22-20020a17090b089600b0028ad3c73e67si2206167pjb.102.2023.12.13.09.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:55:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Yw8kHCfc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id D31B880A6BC3; Wed, 13 Dec 2023 09:55:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377486AbjLMRzL (ORCPT + 99 others); Wed, 13 Dec 2023 12:55:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235346AbjLMRy6 (ORCPT ); Wed, 13 Dec 2023 12:54:58 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E47B189; Wed, 13 Dec 2023 09:55: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=1702490104; x=1734026104; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=8QixjnXhfq2bW5wYTLk2wSq1en7KmWzd9EcTLD6Wix8=; b=Yw8kHCfclVZB0LllEhIMZvnbnmQhdwOEyZYz2Mhm7sErQniqg3rlLuiq uP+BT7UmgaqbhuFpzTXm2xbAcngK3U3iRYj1hfShguEUpF0bcKzfnMRK8 WD+ovXR4Hidp44FGYTRc36k/OODLAkOyVL3xRf46KEfWFb9iCN6oOYRUI eiumTSJIU8sbB4ygmcEj2S414kdwlXPrCcJFjibwPrXXQALeuvuA21uUQ JfLqt1azBgT15fBR3S4a7pb6jdQkpgUtVWkdkfBgEPEOkmW7J8MxdMUgE +/wUS9wHZ0cVal7UK0ZArrArqwO2dHEqGM2TQ8IH543XcSquYHXb3vZ6E w==; X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="394756123" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="394756123" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 09:55:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10923"; a="1105389019" X-IronPort-AV: E=Sophos;i="6.04,273,1695711600"; d="scan'208";a="1105389019" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2023 09:55:02 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rDTRj-00000005bGL-23mt; Wed, 13 Dec 2023 19:54:59 +0200 Date: Wed, 13 Dec 2023 19:54:59 +0200 From: Andy Shevchenko To: Nikita Shubin Cc: Sebastian Reichel , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Arnd Bergmann Subject: Re: [PATCH v6 06/40] power: reset: Add a driver for the ep93xx reset Message-ID: References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> <20231212-ep93xx-v6-6-c307b8ac9aa8@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231212-ep93xx-v6-6-c307b8ac9aa8@maquefel.me> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:55:26 -0800 (PST) On Tue, Dec 12, 2023 at 11:20:23AM +0300, Nikita Shubin wrote: > Implement the reset behaviour of the various EP93xx SoCS > in drivers/power/reset. > > It used to be located in arch/arm/mach-ep93xx. ... > +#include + container_of.h > +#include + errno.h > +#include > +#include > +#include Should this be the auxiliary one? > +#include + device.h or slab.h where devm_kzalloc() is defined. Depends on above dev_printk.h (it's guaranteed by device.h). > +static const struct auxiliary_device_id ep93xx_reboot_ids[] = { > + { > + .name = "soc_ep93xx.reset-ep93xx", > + }, > + { /* sentinel */ } > +}; > +MODULE_DEVICE_TABLE(auxiliary, ep93xx_reboot_ids); module.h mod_devicetable.h ... > +static struct auxiliary_driver ep93xx_reboot_driver = { > + .probe = ep93xx_reboot_probe, > + .id_table = ep93xx_reboot_ids, > +}; > +module_auxiliary_driver(ep93xx_reboot_driver); Not seeing the platform_device.h use... -- With Best Regards, Andy Shevchenko