From patchwork Mon Mar 26 18:38:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 148810 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 5480DB6EEC for ; Tue, 27 Mar 2012 05:46:01 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SCErK-0001L6-8T; Mon, 26 Mar 2012 18:41:38 +0000 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252] helo=bombadil.infradead.org) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SCErI-0001Kv-2r for linux-arm-kernel@merlin.infradead.org; Mon, 26 Mar 2012 18:41:36 +0000 Received: from mail-ee0-f49.google.com ([74.125.83.49]) by bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SCEoD-00005i-9U for linux-arm-kernel@lists.infradead.org; Mon, 26 Mar 2012 18:38:25 +0000 Received: by eekb45 with SMTP id b45so1724291eek.36 for ; Mon, 26 Mar 2012 11:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2/mJJL7jh1RuVd5STY+aYYaXgqOpMnGhS8YR8KYR8gs=; b=VGsHDNbV1cQWRAdxqVVtyur3Yg47DlqVEcFVX3YYg5vV+yd8KyUacjsIfdRFit1e4k QAuFcdYgYaCvzR4D4lCBv0zAAPemuXfE9DV21iw9vFRqJ188yDryMeoIx9/ZWIHxswqu MdtuGoEAxz8NtrLOBbqubcMgfzkmI0jPQsIPpCjaZyJoUut7i1HDkdOn+Ik9Tr136DDE UB1LselqvKy9Kz5HP3Hdroug1vbJHyCAfno+FUsFKHdibmFKGAXWJSornL6RlDDtM6jA uEMtvfj6kxL/nlWFuDuKYJv09k+J5ijfMyb/Om0/qWTqSZ5J5BeKh7EuANCJiOsV3lrY ujTg== MIME-Version: 1.0 Received: by 10.14.95.194 with SMTP id p42mr3054079eef.1.1332787099571; Mon, 26 Mar 2012 11:38:19 -0700 (PDT) Received: by 10.213.4.131 with HTTP; Mon, 26 Mar 2012 11:38:19 -0700 (PDT) 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> Date: Mon, 26 Mar 2012 15:38:19 -0300 Message-ID: Subject: Re: [PATCH 4/4] ARM i.MX 3ds debugboard: register a dummy regulator for the smsc911x device From: Fabio Estevam To: Sascha Hauer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20120326_143825_496247_C11A63F0 X-CRM114-Status: GOOD ( 10.73 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Estevam Fabio-R49496 , Mark Brown , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Liam Girdwood X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.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. Is this OK? --- 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), };