Received: by 10.213.65.68 with SMTP id h4csp63519imn; Thu, 15 Mar 2018 09:36:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELvsMSpxGdvTDJXTEjHqSpv92fkxy7swkP9yShZ21jftzI4esaucdvfxz0Ugbx8YcxZjsyzM X-Received: by 10.101.100.216 with SMTP id t24mr514608pgv.59.1521131796547; Thu, 15 Mar 2018 09:36:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521131796; cv=none; d=google.com; s=arc-20160816; b=k89FFQmyK+dXwD1WCeUdEps029F7tlSwUB2dHLA2VRXtQfGTrpS+Plu16XzGhJM2Hp I6zlvviGJamFe2cenWQM92E8MPzamImdIiXv/aMTg7R6DN6nyCz0TtnxAAPt7KvpxaVL lEPqEklzUv+fa3e58HbtETbkYRgCgKHi92tZTd+7+pNvSqcsSWY/h6/4TRlkC87PfWGc RWhye4gIl5cu0HRERU/sXuOt985OwrX1VdNtyaixOCkgDtBOHaPBCzFPrpW+Qkpsh/n1 GUr+JPgZA9QfCIkTARBirJ07hAUBoGpHze8QCU3mOdmWbBlDwTA1Z/8D6VJMn6TGsRuK aD4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=3rpBXXoTUvN4oYCFTihMNMojMWAEFAHhGuOBJbd4yGQ=; b=adx5S9jVCdOzp2CB+EvgN4STnrlty6FJk7evnupXkLXCs247JhnbdSk7DQrk+e8wgs T4aNYBic7x+u2ILvJwVqToMvj0cGZh9rY93XrVT/esVFwzQEc44rIo6b13gfUZ6WyT7P g1jMLTWksOlQ+cqz1Qa9LW9Ediay2+tSU9OfTpdWRP2b71bBtaBbvnRmDMOdni/UfwSc ftAgaebhfTcbluyk5mdiWL4l89bEy0IRoSnwhXBUT1PMQsyNyd9BXoEGvRKA/8WMH9LX AHqkH+vAnpgQdYdlLXwkSmbXgpUoqdvepceiAwA/6OlUYSZgKn+RE0sFnDbhjGoKaTfK MpxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=S7xnopcj; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si4283237pll.348.2018.03.15.09.36.21; Thu, 15 Mar 2018 09:36:36 -0700 (PDT) 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; dkim=fail header.i=@lechnology.com header.s=default header.b=S7xnopcj; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751618AbeCOQfX (ORCPT + 99 others); Thu, 15 Mar 2018 12:35:23 -0400 Received: from vern.gendns.com ([206.190.152.46]:60555 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302AbeCOQfW (ORCPT ); Thu, 15 Mar 2018 12:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3rpBXXoTUvN4oYCFTihMNMojMWAEFAHhGuOBJbd4yGQ=; b=S7xnopcj3GCV2+NbE4Of3bjSx3 Nfjz8lVPckY+8pBUj9vr0hNZGGCOzvanC6GbOhEnvu3a1N4uy4PMrUVkumgK3bOBspYeB+KyvH+rh 9axqdQJ2jhjJDATlG7E5gv043ezi93nNUbwmTZ2PN/7f1oKUYcQkexbhr6LlSdtZbmB1M0z7l+9XM P2GD3KqYYBYSvZ/XUz9thfVCA+yDlos4IIJ5zLfnFjdIKkKfruvOequp+vTXeoMjriDY9F47SpRdi /KARHQEm1vUxrW8pBtp9GhKZ5EzqP3f2dikgTs/1ZUP1ne4Yj/zLi+f+8tCrXnHFGVKALMgycGX6x MJIg5crw==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:36596 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1ewVog-000vgL-0y; Thu, 15 Mar 2018 12:33:22 -0400 Subject: Re: [v2] ARM: davinci: fix the GPIO lookup for omapl138-hawk To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Russell King Cc: Bartosz Golaszewski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20180301103448.27233-1-brgl@bgdev.pl> From: David Lechner Message-ID: <2641a421-9823-c0bb-93d9-ca0c64060c51@lechnology.com> Date: Thu, 15 Mar 2018 11:35:21 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180301103448.27233-1-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/01/2018 04:34 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that > mmc can correctly lookup the wp and cp gpios. > > Fixes: c69f43fb4f26 ("ARM: davinci: hawk: use gpio descriptor for mmc pins") > Signed-off-by: Bartosz Golaszewski > Signed-off-by: Bartosz Golaszewski > Signed-off-by: Sekhar Nori > --- > v1 -> v2: > - added the Fixes: tag > > arch/arm/mach-davinci/board-omapl138-hawk.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-davinci/board-omapl138-hawk.c b/arch/arm/mach-davinci/board-omapl138-hawk.c > index a3e78074be70..62eb7d668890 100644 > --- a/arch/arm/mach-davinci/board-omapl138-hawk.c > +++ b/arch/arm/mach-davinci/board-omapl138-hawk.c > @@ -127,8 +127,8 @@ static struct gpiod_lookup_table mmc_gpios_table = { > .dev_id = "da830-mmc.0", > .table = { > /* CD: gpio3_12: gpio60: chip 1 contains gpio range 32-63*/ > - GPIO_LOOKUP("davinci_gpio.1", 28, "cd", GPIO_ACTIVE_LOW), > - GPIO_LOOKUP("davinci_gpio.1", 29, "wp", GPIO_ACTIVE_LOW), > + GPIO_LOOKUP("davinci_gpio.0", 28, "cd", GPIO_ACTIVE_LOW), > + GPIO_LOOKUP("davinci_gpio.0", 29, "wp", GPIO_ACTIVE_LOW), > }, > }; > > Does board-da830-evm.c need the same fix? It also uses "davinci_gpio.1".