Received: by 10.223.185.116 with SMTP id b49csp7261813wrg; Thu, 1 Mar 2018 02:36:51 -0800 (PST) X-Google-Smtp-Source: AG47ELuadst26e0B9CdCxkPIpXGRZBklKrR/m+Zf4fIEI5FX3OGIdeYyZMWlskzRJKoIS0kcIy1O X-Received: by 2002:a17:902:b28a:: with SMTP id u10-v6mr1482721plr.292.1519900611880; Thu, 01 Mar 2018 02:36:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519900611; cv=none; d=google.com; s=arc-20160816; b=IIX4wcBcwWMSVPZOrOzrNaGXnXMyS7P7VJeonGoX8ci7dCqzB7Wd/3IGnCb23qNVVC febr5oatFSjN62aOTX813tDfvcEm42xjuXtia915q5NdITRuEh9mRSSesmaGX0wwAPdq atR4QCznd6sidMXso//tLt5VVTMPFOS4DbLaS5FCm7qDxzeaT8l41wy+aNMJzB52pkgd peldCDdaVIYUZ8K7J0V8HEWwwH7yn8vYTX2Gt4CRBiCNqSBGlUt7qfBKKgVI02qTCKeX +RiVA+2IijE9CuFbKy9qMjmW2vAiBz21ytWt15f87jJX3unynBoeYvM1IsIGbM5wyo1V fkGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=zC59FFej3p1iQuCtw+bOAS5Fnd5+j9Jcoa/J7yeQ3pY=; b=mWxTyFzyo3IkSF2ai7Jz6I8AjlvK5H0s72QU1bhqnnfWKmjiOt0MaSWh9VoKdRxbDF TMzIYrFhTjxhFhvGtD7OeSBgFSqY6+x8bCV1v0/j6WevSz5n1zVgXJxk8AOpqGVJ9oRr 4zGFF6sqo4Cyx1HK6Wd/a7bNziQ6988r2iIQpNRSxnJojsdYl3iwc0g0vXrd8n3A0lk8 BfhAFjY594CkhldYmIPjVz7AAwOuh2VtFqSlPO0PyQjXOo1p9SEWvzkXR6Yz326Fiy0Z ie39co9Xr5LWcHGqT4L1p4zYmcv6BZ0dNnHwkTDLRmVLHM2YXe3byaCmtLZDw8XHS6dd hixA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=mH7KQ5c4; 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 u15-v6si2929401plk.516.2018.03.01.02.36.37; Thu, 01 Mar 2018 02:36:51 -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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=mH7KQ5c4; 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 S967557AbeCAKex (ORCPT + 99 others); Thu, 1 Mar 2018 05:34:53 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:42726 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966824AbeCAKew (ORCPT ); Thu, 1 Mar 2018 05:34:52 -0500 Received: by mail-wr0-f193.google.com with SMTP id k9so5528244wre.9 for ; Thu, 01 Mar 2018 02:34:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=zC59FFej3p1iQuCtw+bOAS5Fnd5+j9Jcoa/J7yeQ3pY=; b=mH7KQ5c41DEkIr8sjBglBIQa3TmmLTvoglSqIEqZvAwYDDhxyd5veQTJpjolsXkdI7 NVR1kuSUbph3PVqVdUfuYDKC8cJ5eo4BtexDEKPkC6l0TkpQP6+wYG+SHXgQTPMvC7ze Us5bw+BgZyWCEaayUZzt5T4YZRS9e1GeoSSPTR7wZv7kpiqVx5M876vznna7Pg4/9R29 QAUoxol68ixvoBcCAjwjNDyarEyWRMrdFJoG12FZzlAK3qtsIrzjLY3UK20Rlb18mbPJ yXrm0oosCZqpOxRYQEaUnFlEF/nAPnpSGg94TS/ZLXqZHIYCrVNLDpqJh8E82N8PB8Vo tvUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zC59FFej3p1iQuCtw+bOAS5Fnd5+j9Jcoa/J7yeQ3pY=; b=IsCaXsXrjRuPLkx6gqMU014Y80DBJCMQIgnoOf7GeY/vjBwV5nTZgcEQ4DGUVRveW1 7BMP8++FdEYoUkTBRIZ7XhRCGzvU+2B3bWoM4ZETBzrlno48VLc2GbgHY8FVDjgXL0Xq EOCnHncGUBtIfnidN65C+7biwzY5kZ1SrZ1BjUo4XyljgSAaczlZogPQFbWmYoRMSYO7 +7SuzH2cVgKf8WESQWjWGCPl75MLFgz5z9pxeM5eTzIRxPgThH6XN/LmFdVajl3ScudR MXIozJU1VTD7lAhUPtB7tepfctOnH15CRtLCxq4P86PENBEDsETl4rSbmrPYULH0BqeM jgbg== X-Gm-Message-State: APf1xPAIqVaSV5rMvaqTJqPJ/YQJ3FlsmxopDzJzIqVEhJBmjAbDYQsE 3rMxqTFHAE5sLDmyD7sz/TwfmA== X-Received: by 10.223.171.6 with SMTP id q6mr1352049wrc.267.1519900490986; Thu, 01 Mar 2018 02:34:50 -0800 (PST) Received: from brgl-bgdev.baylibre.local ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 78sm3465784wmb.25.2018.03.01.02.34.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Mar 2018 02:34:50 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2] ARM: davinci: fix the GPIO lookup for omapl138-hawk Date: Thu, 1 Mar 2018 11:34:48 +0100 Message-Id: <20180301103448.27233-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.16.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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), }, }; -- 2.16.1