Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6594809imu; Mon, 21 Jan 2019 11:47:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN6H5BZKPfbfQG85Qr+BTSyAnvv7BEzY52N3VjkQOnQ4tTdsgGaalu9DAA2tGDOTZrORmBUd X-Received: by 2002:a62:e044:: with SMTP id f65mr30594125pfh.208.1548100055140; Mon, 21 Jan 2019 11:47:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548100055; cv=none; d=google.com; s=arc-20160816; b=iNrdiSqX8yxkGN6yk++7KuM4U5YKjY1Gkt+oAnpAPe3QW1/IuqgbF1IM6Vpz0ut0UK wJSsdboDSClIT3WdOlcB/97UUwhSVKc12L6P7CmmqhBEAevut+PGWEckK1/0wu/i4Sm5 kj7kIO2VvHyDmbUIda6tLAzrBxGn+MOw9F9nTC648d0R5WA2LWgsAJwGRCWxIGlNxoa4 yoyrVGIrsFARxiQEv98qkBqCCXpjT8ZVJ06zkeVyPOYBgmSdYhao2SYWUnqgzbIoE+iX jKEPjSZ9odh2rcrXLuVAS4Nl8tmM3OeNYZSqh005Y/E9/PgzF/XXU/VT9KZsYQIYWM5f fZrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=usXkxy7IOqKBXnzjHfkuQlZOb2QVT06h1BmCGOMv5Bs=; b=eGekxMCfY9z7Is79Ya77qE5rS4dXJAY1LBlBvZj6j3kuqZnzxfQ7EYySEyk3qNXn5p etU4dh84OvK25vDTfqd2bp47qcAA2u9we2AkwoqHXDIeRJYr0d4nXCupgr86uAkZVGUB gHaosg0rHo6mLbtcrgzjpsQ2KEEq0a6EVcRzsWDK0ZoEWnWcUgSFghrh2ioVgtuHfiry LChH1A+99J3jh8uANX+3AZz0vZndF9QsVK3MQfX5uGfYcMYyS3AuK0EI0qv+XaHrjLh9 nV9U9p1eYxrlYgyvcTXq4gQ1Dpqs5pCsJtm6uoWS7QGQx7Jd7gDjdvypAYRZHvAFe0O7 RiHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1si14745793pld.249.2019.01.21.11.47.19; Mon, 21 Jan 2019 11:47:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727902AbfAUTp4 (ORCPT + 99 others); Mon, 21 Jan 2019 14:45:56 -0500 Received: from emh01.mail.saunalahti.fi ([62.142.5.107]:37990 "EHLO emh01.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727491AbfAUTp4 (ORCPT ); Mon, 21 Jan 2019 14:45:56 -0500 Received: from darkstar.musicnaut.iki.fi (85-76-66-19-nat.elisa-mobile.fi [85.76.66.19]) by emh01.mail.saunalahti.fi (Postfix) with ESMTP id 758112006F; Mon, 21 Jan 2019 21:45:53 +0200 (EET) Date: Mon, 21 Jan 2019 21:45:53 +0200 From: Aaro Koskinen To: Tony Lindgren Cc: Arthur Demchenkov , bcousson@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: n900: fix mmc1 card detect gpio polarity Message-ID: <20190121194552.GA2792@darkstar.musicnaut.iki.fi> References: <20190121032109.10220-1-spinal.by@gmail.com> <20190121171101.GD5544@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190121171101.GD5544@atomide.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Jan 21, 2019 at 09:11:01AM -0800, Tony Lindgren wrote: > * Arthur Demchenkov [190121 03:22]: > > Wrong polarity of card detect GPIO pin leads to the system not > > booting from external mmc, if the back cover of N900 is closed. > > When the cover is open the system boots fine. > > > > This wasn't noticed before, because of a bug, which was fixed > > by commit e63201f19 (mmc: omap_hsmmc: Delete platform data GPIO > > CD and WP). > > Aaro, does this work for your test case too? Yeah.. > > Kernels up to 4.19 ignored the card detect GPIO from DT. > > Hmm so should this have a Fixes tag or not? I think it should as v4.20 is broken. A. > Regards, > > Tony > > > arch/arm/boot/dts/omap3-n900.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts > > index 182a53991c90..826920e6b878 100644 > > --- a/arch/arm/boot/dts/omap3-n900.dts > > +++ b/arch/arm/boot/dts/omap3-n900.dts > > @@ -814,7 +814,7 @@ > > /* For debugging, it is often good idea to remove this GPIO. > > It means you can remove back cover (to reboot by removing > > battery) and still use the MMC card. */ > > - cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */ > > + cd-gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* 160 */ > > }; > > > > /* most boards use vaux3, only some old versions use vmmc2 instead */ > > -- > > 2.11.0 > >