From mboxrd@z Thu Jan 1 00:00:00 1970 From: festevam@gmail.com (Fabio Estevam) Date: Mon, 26 Mar 2012 15:38:19 -0300 Subject: [PATCH 4/4] ARM i.MX 3ds debugboard: register a dummy regulator for the smsc911x device In-Reply-To: References: <1330774804-7310-1-git-send-email-s.hauer@pengutronix.de> <1330774804-7310-5-git-send-email-s.hauer@pengutronix.de> <20120326181912.GV3852@pengutronix.de> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Mar 26, 2012 at 3:25 PM, Fabio Estevam wrote: > On Mon, Mar 26, 2012 at 3:19 PM, Sascha Hauer wrote: > >> At least it did work when I sent the patches, but -EPROBE_DEFER did not >> exist at that time. Do you have the fixed regulator enabled in your >> config? > > Yes, I do. I am using imx_v6_v7_defconfig, which has fixed regulator > enabled by default. --- a/arch/arm/plat-mxc/3ds_debugboard.c +++ b/arch/arm/plat-mxc/3ds_debugboard.c @@ -151,8 +151,8 @@ static struct irq_chip expio_irq_chip = { }; If I do the change below, smsc driver is probed correctly: static struct regulator_consumer_supply dummy_supplies[] = { - REGULATOR_SUPPLY("vdd33a", "smsc911x"), - REGULATOR_SUPPLY("vddvario", "smsc911x"), + REGULATOR_SUPPLY("vdd33a", NULL), + REGULATOR_SUPPLY("vddvario", NULL), }; Is this OK?