From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756106AbcIAPiv (ORCPT ); Thu, 1 Sep 2016 11:38:51 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:44982 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753008AbcIAPit (ORCPT ); Thu, 1 Sep 2016 11:38:49 -0400 Date: Thu, 1 Sep 2016 16:38:36 +0100 From: Mark Brown To: Andy Shevchenko Cc: "linux-kernel@vger.kernel.org" , "Hunter, Adrian" Message-ID: <20160901153836.GI5967@sirena.org.uk> References: <1472741623.4887.482.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xQR6quUbZ63TTuTU" Content-Disposition: inline In-Reply-To: <1472741623.4887.482.camel@linux.intel.com> X-Cookie: Beware of computerized fortune-tellers! User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2a01:348:6:8808:fab::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: Regulator probe X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xQR6quUbZ63TTuTU Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 01, 2016 at 05:53:43PM +0300, Andy Shevchenko wrote: > [=A0=A0=A020.843973] calling=A0=A0sdhci_drv_init+0x0/0x20 @ 1 > [=A0=A0=A020.843976] sdhci: Secure Digital Host Controller Interface driv= er > [=A0=A0=A020.843978] sdhci: Copyright(c) Pierre Ossman > [=A0=A0=A020.843989] initcall sdhci_drv_init+0x0/0x20 returned 0 after 5 = usecs > [=A0=A0=A020.843999] calling=A0=A0sdhci_driver_init+0x0/0x1b @ 1 >=20 > [=A0=A0=A020.881460] sdhci-pci 0000:00:01.3: SDHCI controller found > [8086:1190] (rev 1) > [=A0=A0=A020.881471] sdhci-pci 0000:00:01.3: found 1 slot(s) > [=A0=A0=A020.888242] sdhci-pci 0000:00:01.3: No vmmc regulator found > ^^^^^ PROBLEM! >=20 > Regulator is present, though it's in a waiting list. The device isn't registered and it's saying it isn't registered, this is normal. Since this is an ACPI system we are expecting the firmware or whatever else registers devices and their supplies to do that, if the supplies aren't being mapped at device registration time then you're telling the core not to expect any. If you had mapped the supply and it wasn't available the consumer would get an -EPROBE_DEFER. As I keep saying with all these problems if you want to reimplement DT instead of using it you need to reimplement *all* of DT, it's there for a reason. It would be a lot quicker and simpler to just use DT for these systems. --xQR6quUbZ63TTuTU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXyEt7AAoJECTWi3JdVIfQBroH/0MnVFZdm3DVtwpMVCoBi0oT +i4pG5St47qb62RgHbn7FP4qvZMagnJG0vyq/H5yY6WEb67iI0CDh6eJyXStoCrW h6pPg5x/U/ffR3Z+8vogy72yUM/slLXtEvOcXZ6gSZttFdYS5Sqg0vpxtPtoRYjv UQb5NTOUvQCuQSNwLF4u1g/5/aXIbLNAUgCplRNLBFUyIRuq2+Lsuya2GBvBrkbx giAv47nfJ27a3OA8lrFI6NKMbeT4WPcPFjbvmxvpiE7hxHrk4jiKD9r7+9IFWk/Q 3a1n5QPJmKMRPIUev0loVZoVvzrm+yQQvrIw+3zWSxj6I5ZSibFNp2oTrZN3QfE= =xLBM -----END PGP SIGNATURE----- --xQR6quUbZ63TTuTU--