From patchwork Wed Sep 3 08:38:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 4831461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A5AC1C0338 for ; Wed, 3 Sep 2014 08:48:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C3F492017D for ; Wed, 3 Sep 2014 08:48:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E5C2E20107 for ; Wed, 3 Sep 2014 08:48:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XP65j-0005mT-4G; Wed, 03 Sep 2014 08:38:59 +0000 Received: from galois.linutronix.de ([2001:470:1f0b:db:abcd:42:0:1]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XP65f-0005gp-SW for linux-arm-kernel@lists.infradead.org; Wed, 03 Sep 2014 08:38:56 +0000 Received: from localhost ([127.0.0.1] helo=[172.123.10.21]) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1XP65J-00049K-I5; Wed, 03 Sep 2014 10:38:33 +0200 Message-ID: <5406D388.5050104@linutronix.de> Date: Wed, 03 Sep 2014 10:38:32 +0200 From: Sebastian Andrzej Siewior User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-Version: 1.0 To: Tony Lindgren , Sebastian Andrzej Siewior Subject: Re: [PATCH] mfd: twl4030-power: Fix PM idle pin configuration to not conflict with regulators References: <20140819152405.GA12002@atomide.com> <20140902082931.GA32460@breakpoint.cc> <20140903002445.GD11766@atomide.com> In-Reply-To: <20140903002445.GD11766@atomide.com> X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140903_013856_078498_D336F292 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.7 (-) Cc: Aaro Koskinen , Sebastian Reichel , Pavel Machek , =?windows-1252?Q?Pali_Roh=E1r?= , linux-omap@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 09/03/2014 02:24 AM, Tony Lindgren wrote: > I assume you mean beagleboard-ab, not beaglebone-ab :) you assume correct. >> reverting this commit on top of -rc3 makes mmc0 work again. > > Again, I assume you're talking about reverting daebabd57, > not 43fef47f94a1. Anyways, here's a debug hack I used earlier to Yes, I reverted daebabd57 which was pointed to me by git bisect. > dump out the twl configuration in late_initcall and via sysfs > so maybe try that and see what the values are with working > and non-working case? good.txt and bad.txt are from the late_initcall. $ diff -u good.txt bad.txt 24: addr: 0x0088 grp: 0x00ef type: 0x000e remap: 0x0008 > > Regards, > > Tony Sebastian --- good.txt 2014-09-03 10:29:58.920317368 +0200 +++ bad.txt 2014-09-03 10:28:57.064313222 +0200 @@ -1,13 +1,13 @@ 1: addr: 0x0017 grp: 0x0000 type: 0x0000 remap: 0x0008 - 2: addr: 0x001b grp: 0x0000 type: 0x0000 remap: 0x0008 - 3: addr: 0x001f grp: 0x0000 type: 0x0000 remap: 0x0008 + 2: addr: 0x001b grp: 0x002e type: 0x0000 remap: 0x0008 + 3: addr: 0x001f grp: 0x002e type: 0x0000 remap: 0x0008 4: addr: 0x0023 grp: 0x0000 type: 0x0000 remap: 0x0008 5: addr: 0x0027 grp: 0x002e type: 0x0000 remap: 0x0008 6: addr: 0x002b grp: 0x0000 type: 0x0000 remap: 0x0008 7: addr: 0x002f grp: 0x002e type: 0x000b remap: 0x0000 8: addr: 0x0033 grp: 0x002e type: 0x0000 remap: 0x0008 9: addr: 0x0037 grp: 0x002e type: 0x0000 remap: 0x0008 -10: addr: 0x003b grp: 0x0000 type: 0x0000 remap: 0x0008 +10: addr: 0x003b grp: 0x002e type: 0x0000 remap: 0x0008 11: addr: 0x003f grp: 0x00ef type: 0x0011 remap: 0x0008 12: addr: 0x0043 grp: 0x00ef type: 0x0010 remap: 0x0008 13: addr: 0x0047 grp: 0x00ef type: 0x0011 remap: 0x0008 @@ -17,12 +17,8 @@ 17: addr: 0x0071 grp: 0x0000 type: 0x0000 remap: 0x0008 18: addr: 0x0074 grp: 0x0000 type: 0x0000 remap: 0x0008 19: addr: 0x0077 grp: 0x00ef type: 0x0000 remap: 0x0008 -mmc0: host does not support reading read-only switch. assuming write-enable. 20: addr: 0x007a grp: 0x0000 type: 0x0000 remap: 0x0000 -mmc0: new high speed SDHC card at address 1234 -mmcblk0: mmc0:1234 SA04G 3.63 GiB 21: addr: 0x007f grp: 0x00ef type: 0x000a remap: 0x0008 - mmcblk0: p1 p2 p3 22: addr: 0x0082 grp: 0x00ee type: 0x0008 remap: 0x0008 23: addr: 0x0085 grp: 0x00af type: 0x0013 remap: 0x0000