Received: by 10.223.185.111 with SMTP id b44csp131414wrg; Fri, 9 Mar 2018 02:21:16 -0800 (PST) X-Google-Smtp-Source: AG47ELunNiaGqVNTv/zX+oO3Nuzl/DPrx43Mz1+q2pNo3n7hH6PKPlZy3T8w5MxCv/6RMR2fwGvg X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr27128411ple.0.1520590876186; Fri, 09 Mar 2018 02:21:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520590876; cv=none; d=google.com; s=arc-20160816; b=pb8JErKWPtRNa7lrWfsv78w8AErH0uLEYv8FZWsT3GYduaX2Ov7o4OTRkv5evI+Zxh LlH65julb7buHd7hjxknt4GdztV7i4nEWldDcKaaSz1gzTfp61OrZ54eQwcDRWW8ZELo AiraxL7HRdF0NiXFlDv3I7zT05ET0GMl9E9CuB1lZNPisYnn0O2jWXZGB+FDO3g811GX L2i6kMJDfF6mfxtWKFpkDYtZcUEz4QvbZTlXfH6Ak5FqpkcO+750gWiUEs4mDzUk+ZkV HU9NCUf+mjYxmCVHM8NdSIxmKmoEwuk5MevI/z79CR+FCK+cNcnJjHw8BuKV8je5xxYc RaxA== 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=Aot08cZAbZGp59N1e1GjcDAnrqDuqBBm7W1VVk04WPE=; b=BGLD1YruTzRySDxxssU26EjoNsPdHnc+ueuRB1nJsjQ52shadBe0CxjthtHZG+ytDJ 1wW/uj02tbKM9Grwps7T2sNckQaFQ12YuafvEa0i72LYi3gzD/2RVuz8mBiWahvdOUaa XD2t4RkgUL4ImADOZszKC3iOzA1ASJGe2lE7ddHC70SmU4ekROQfxaB7rhbv7127vT/H cYwRRh0rlrnc3AenI7NlK5uVy8Fdi6rWrEnokRjFueRSF2aZRwPQPaRTx/1zCeS0A8iT 07y/m2KbWrFxYmT9kMDEOy58Q+jwb9IYvzbd7CzoiufhDXWnuVl0BM4hyYjPT3roqlKZ NJpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KjEn/wiY; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si531941pgo.278.2018.03.09.02.21.01; Fri, 09 Mar 2018 02:21:16 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KjEn/wiY; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751779AbeCIKTZ (ORCPT + 99 others); Fri, 9 Mar 2018 05:19:25 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:9820 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751046AbeCIKTX (ORCPT ); Fri, 9 Mar 2018 05:19:23 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w29AInWK031164; Fri, 9 Mar 2018 04:18:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1520590729; bh=EEvKm0ZZoHp1++Z/CMrANxq6xs6TBQ+Wavx9KNxfh+c=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=KjEn/wiY8ehkV1NKnqFkE0Lku4ItQKnHvS1SIxCHy/Z0b7MOk8eDXayICiPiyVfiR tHIPn/13HTjNLm6kqWLohbdMGPobkjmjQJUcG0qsyfSsHghaIWC4u5uCdVEj1xG24y 4xAP75ni7JzChPUvStcUvmpGqR+z5Bu1Kt8/jViE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w29AInvI004901; Fri, 9 Mar 2018 04:18:49 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 9 Mar 2018 04:18:49 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 9 Mar 2018 04:18:48 -0600 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w29AIklv021116; Fri, 9 Mar 2018 04:18:47 -0600 Subject: Re: [PATCH v2] ARM: davinci: fix the GPIO lookup for omapl138-hawk To: Bartosz Golaszewski , Kevin Hilman , Russell King CC: , , Bartosz Golaszewski References: <20180301103448.27233-1-brgl@bgdev.pl> From: Sekhar Nori Message-ID: <49351196-c0a6-8b4e-ccc9-68e81f652ca3@ti.com> Date: Fri, 9 Mar 2018 15:48:46 +0530 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" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 01 March 2018 04:04 PM, 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 Applied for v4.16 with a note on the fact that the gpio-davinci driver sets the chip label to davinci_gpio.0. Thanks, Sekhar ---8<--- ARM: davinci: fix the GPIO lookup for omapl138-hawk The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that mmc can correctly lookup the wp and cp gpios. Note that it is the gpio-davinci driver that sets the gpiochip label to davinci_gpio.0. Fixes: c69f43fb4f26 ("ARM: davinci: hawk: use gpio descriptor for mmc pins") Signed-off-by: Bartosz Golaszewski [nsekhar@ti.com: add a note on where the chip label is set] Signed-off-by: Sekhar Nori