Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753755AbaGHIKL (ORCPT ); Tue, 8 Jul 2014 04:10:11 -0400 Received: from top.free-electrons.com ([176.31.233.9]:35414 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753642AbaGHIKF (ORCPT ); Tue, 8 Jul 2014 04:10:05 -0400 Date: Tue, 8 Jul 2014 10:06:36 +0200 From: Maxime Ripard To: Jean-Christophe PLAGNIOL-VILLARD Cc: linux@maxim.org.za, Nicolas FERRE , dwmw2@infradead.org, dbaryshkov@gmail.com, devicetree@vger.kernel.org, Thomas Petazzoni , linux-kernel@vger.kernel.org, Boris Brezillon , Alexandre Belloni , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 09/18] AT91: Call at91_register_devices in the board files Message-ID: <20140708080636.GK13423@lukather> References: <1404396906-25194-1-git-send-email-maxime.ripard@free-electrons.com> <1404396906-25194-15-git-send-email-maxime.ripard@free-electrons.com> <20140703145222.GE31996@lukather> <20140707184239.GI9558@ns203013.ovh.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iSeZnk6FyAS3EJ1y" Content-Disposition: inline In-Reply-To: <20140707184239.GI9558@ns203013.ovh.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --iSeZnk6FyAS3EJ1y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 07, 2014 at 08:42:39PM +0200, Jean-Christophe PLAGNIOL-VILLARD = wrote: > On 16:52 Thu 03 Jul , Maxime Ripard wrote: > > Hi, > >=20 > > On Thu, Jul 03, 2014 at 10:29:58PM +0800, Jean-Christophe PLAGNIOL-VILL= ARD wrote: > > > no do this at SoC level > >=20 > > Since it has to be done at init_machine, I don't see any other easy > > way to do this at the SoC level. > >=20 > > What is your suggestion? >=20 > do it earlier as there is not driver it will not change anything My question remains. When should I do so? at91_initialize is too early to register any devices. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --iSeZnk6FyAS3EJ1y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTu6aMAAoJEBx+YmzsjxAgXd8P/3/sIr09/dBiiK9YXylAr1Rc N4FXt3EYOlWoHJfHYELtKyWS8+SCFZD4MWaKwGhSPA5VZB5LlDnrLNE0HrvmvFgC k0HIb8Qlt0A0tU7WbArMsyYtspRdDTJIxZFp2wxiu8PwazqouDMG29PHpYYbaHw9 JvUKpBh/xCnSL2wAq10UPillTbUuxuFpd8CdFiYmq+/LoFhypDp8q29bBKAvZ0ud qymON7Xqop0IqGJpL6xFOD/y1qCvuGbYWSHfzNhotPfp5dnrOa1MEnOF6QdPTKS8 4vaLV9umV7o9val0cno1dFrhsH1N1qo52WG07Hm7+fwpMtcgGkNvIToZurwGFheb yt2sYJx0knVYUAMPa4ome1n2Z8FJgDpBR/4jR+IVfnqU96ArylqsdWW4ZLm95SQL QSrtPZrvhaPSxdugx0Zdvj4QD/sqpijrpBbYACIwHrjWUHU0S9AhY/T24yd7V5t0 9Cz/73gKGDTfJvIfMvSJ/q2BBMK6Gdtcg7TK5iaMP8cElmdj4NdS0EGaZiYzUB2i SdFUIthbZA8QzWD5jAgKirZgr4ZZJkQH0B02eVKmFMp5h4ciefTpB3PM2TnZAWlP BIrJ9lppmvGC9uhLlBjREe5W2FIiFvkNSU7Wz6+E49uv2HW+F8+m7/2momn0//M9 FdDuQ01C59znuiHS+L8h =+BdI -----END PGP SIGNATURE----- --iSeZnk6FyAS3EJ1y-- -- 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/