Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756022Ab3FEOHI (ORCPT ); Wed, 5 Jun 2013 10:07:08 -0400 Received: from mail-qe0-f46.google.com ([209.85.128.46]:43918 "EHLO mail-qe0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755902Ab3FEOHG (ORCPT ); Wed, 5 Jun 2013 10:07:06 -0400 Date: Wed, 5 Jun 2013 10:07:03 -0400 (EDT) From: Nicolas Pitre To: Lorenzo Pieralisi cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, Samuel Ortiz , Pawel Moll , Amit Kucheria , Jon Medhurst , Achin Gupta , Sudeep KarkadaNagesha Subject: Re: [RFC PATCH v2 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support In-Reply-To: <1370432767-6620-3-git-send-email-lorenzo.pieralisi@arm.com> Message-ID: References: <1370432767-6620-1-git-send-email-lorenzo.pieralisi@arm.com> <1370432767-6620-3-git-send-email-lorenzo.pieralisi@arm.com> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2001 Lines: 53 On Wed, 5 Jun 2013, Lorenzo Pieralisi wrote: > The TC2 versatile express core tile integrates a logic block that provides the > interface between the dual cluster test-chip and the M3 microcontroller that > carries out power management. The logic block, called Serial Power Controller > (SPC), contains several memory mapped registers to control among other things > low-power states, operating points and reset control. > > This patch provides a driver that enables run-time control of features > implemented by the SPC control logic. > > The driver also provides a bridge interface through the vexpress config > infrastructure. Operations allowing to read/write operating points are > made to go via the same interface as configuration transactions so that > all requests to M3 are serialized. > > Device tree bindings documentation for the SPC component is provided with > the patchset. > [...] > +/* > + * Versatile Express Serial Power Controller (SPC) support > + * > + * Copyright (C) 2013 ARM Ltd. > + * > + * Author(s): Sudeep KarkadaNagesha > + * Achin Gupta > + * Lorenzo Pieralisi I imagine "author(s)" can be written as "authors" without a doubt. :-) > +EXPORT_SYMBOL_GPL(vexpress_spc_write_resume_reg); > +EXPORT_SYMBOL_GPL(vexpress_spc_set_global_wakeup_intr); > +EXPORT_SYMBOL_GPL(vexpress_spc_set_cpu_wakeup_irq); > +EXPORT_SYMBOL_GPL(vexpress_spc_powerdown_enable); I don't think anything that could possibly be made into modules should ever have a need for those particular calls. So I'd suggest not exporting them. Other than that, you may add... Reviewed-by: Nicolas Pitre Nicolas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/