From mboxrd@z Thu Jan 1 00:00:00 1970 From: sre@kernel.org (Sebastian Reichel) Date: Tue, 22 Sep 2015 15:59:25 +0200 Subject: [PATCH 3/3] power: reset: at91-shdwc: add new shutdown controller driver In-Reply-To: <2e870dbb4c7728ad416360ff20b22c1a97ba88d9.1441881064.git.nicolas.ferre@atmel.com> References: <2e870dbb4c7728ad416360ff20b22c1a97ba88d9.1441881064.git.nicolas.ferre@atmel.com> Message-ID: <20150922135925.GI23334@earth> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On Thu, Sep 10, 2015 at 12:39:18PM +0200, Nicolas Ferre wrote: > Sama5d2 SoC has a completely new shutdown controller with new > features and register layout. It thus makes sense to add a new > driver for this new peripheral. > > This driver is Device Tree only and handles events from the > wake-up pin and the RTC. As the register layout may change in the > future, so some values are encoded in a configuration structure. > > [...] > > +static struct of_device_id at91_shdwc_of_match[] = { > + { > + .compatible = "atmel,sama5d2-shdwc", > + .data = &sama5d2_shdwc_config, > + }, { > + /*sentinel*/ > + } > +}; please add: MODULE_DEVICE_TABLE(of, at91_shdwc_of_match); -- Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753716AbbIVN7a (ORCPT ); Tue, 22 Sep 2015 09:59:30 -0400 Received: from mail.kernel.org ([198.145.29.136]:38222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbbIVN73 (ORCPT ); Tue, 22 Sep 2015 09:59:29 -0400 Date: Tue, 22 Sep 2015 15:59:25 +0200 From: Sebastian Reichel To: Nicolas Ferre Cc: linux@roeck-us.net, Alexandre Belloni , Maxime Ripard , robh+dt@kernel.org, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [PATCH 3/3] power: reset: at91-shdwc: add new shutdown controller driver Message-ID: <20150922135925.GI23334@earth> References: <2e870dbb4c7728ad416360ff20b22c1a97ba88d9.1441881064.git.nicolas.ferre@atmel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gTY1JhLGodeuSBqf" Content-Disposition: inline In-Reply-To: <2e870dbb4c7728ad416360ff20b22c1a97ba88d9.1441881064.git.nicolas.ferre@atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --gTY1JhLGodeuSBqf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Sep 10, 2015 at 12:39:18PM +0200, Nicolas Ferre wrote: > Sama5d2 SoC has a completely new shutdown controller with new > features and register layout. It thus makes sense to add a new > driver for this new peripheral. >=20 > This driver is Device Tree only and handles events from the > wake-up pin and the RTC. As the register layout may change in the > future, so some values are encoded in a configuration structure. > > [...] > > +static struct of_device_id at91_shdwc_of_match[] =3D { > + { > + .compatible =3D "atmel,sama5d2-shdwc", > + .data =3D &sama5d2_shdwc_config, > + }, { > + /*sentinel*/ > + } > +}; please add: MODULE_DEVICE_TABLE(of, at91_shdwc_of_match); -- Sebastian --gTY1JhLGodeuSBqf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWAV66AAoJENju1/PIO/qanLQP/1xeEXveIDE2wOss1pqIObPk 5N2+oWMWcCpF895Bk0MUQ7/UvlHMV04PCX7m71C0tcL+xgIV+Eugz2b70+p5eTay /UMiLWiJSqJW7ORxXxnoYefChrDPzOrfN7RR68ewys89cflollDXLvcnjSeqRl4M RUcjhrNJCY/b8FavRCC5xMvFlEH77KRllDu7+v3TewqV9yjMMoX9DE4TMZlaHOQa K+y+zhGjLbJFEfgnsR8GX9ro9j/kVdykMGqdnX92+cgJMrXSThF/1ruXhjqo6R1U ViOoJNENBa5l1JBhUDWbWz8AZiQc8YELIWA7u80ULiMJPoLE1QUniGf9IkH7631g JLLR0cs7x3nGS0jsYBX7EMPe/HfrFO2g6ORhsK/NYaclhgk1WO9lPTQXXu1MtHuw Qsvigu7k04w7oLQuKTVq8kgonj4PGcqqdhDbmKZvnfPNjT8roVMjWouxR74PYxnN 3r8DLL2jthJM7OzsHG46gJSONWrJZYAlLcGSRZpCQqdlV7edczek/t+E/eSqFx7D ZxwrlQnpoJGO4/J2TRtcf3PE68g5Kq49xwRt1Q/+LqATZPJDqGik/3D3V5vS20/F PMoWHIlVwl935e1sl1/OQDCXF05rMpuxrF8dL4tXJaf8gQRvTpGo4yHf6T/D4vIB 7Xz3omJAXyLMNWK5FxTx =BwWR -----END PGP SIGNATURE----- --gTY1JhLGodeuSBqf--