From patchwork Mon Nov 21 16:15:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Haslam X-Patchwork-Id: 9439747 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2DF1B600BA for ; Mon, 21 Nov 2016 16:18:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0108728B34 for ; Mon, 21 Nov 2016 16:18:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9D3628B55; Mon, 21 Nov 2016 16:18:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A14D628B34 for ; Mon, 21 Nov 2016 16:18:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c8rGy-0006mR-Ja; Mon, 21 Nov 2016 16:16:48 +0000 Received: from mail-wj0-x22f.google.com ([2a00:1450:400c:c01::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c8rGL-0006WV-15 for linux-arm-kernel@lists.infradead.org; Mon, 21 Nov 2016 16:16:09 +0000 Received: by mail-wj0-x22f.google.com with SMTP id qp4so28338173wjc.3 for ; Mon, 21 Nov 2016 08:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JcGw1IBda7DJI+Hs4bU4bdghJEWMdB+3m7Aa9FQeIDk=; b=gbbSpiemjAn9/zwuHClQ41ATKujai+oTxZzY/Bxwf2C+BjEkC+KPUabu8y1R/BoK5w oBkR/vL8ID3jEdzI910PGj5CJYQriH2cLYEsuYbOx9kHPyFpdGbPEmrttbjHGG/pk2zR d/TTJGFM/YEm/z3wT+2GLmbfNZxyQDbMhLB9XEdhgANLkUnmMNe+j4/DmA+BvRqHz56i euvMcxA4XQH5e5ls2wj+djYMkG8ZDFjv77nCiyDYL3KWo6b/kuDupLKgNxVX2b+ZzdZc aeIqRHzHLfzzicsH7cnUdmKCM6JZCQOh3yZJDqqx+ve4zBcOUqmQshUrk9WAyVSo0Idx fY3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JcGw1IBda7DJI+Hs4bU4bdghJEWMdB+3m7Aa9FQeIDk=; b=IxYIXuixHVqQpK+y9PjXKbfmbHt0zkE31quvbjYWo/uNChN/GtEm4sIXdsSvncDp7h HaxmKRU4v5SrpS69VmLSUIjz2Sd2We6u6CbskFHBhJVsVZPgQEtdPC4wGyImUftKfRue hAHvpPuzTy8VPDKaSpWWxICPmGXFeMreYjglkMY6nceTuWjZpimL0O+LADORdx5QCsVS iJ8K8gems8siyST47R83EbQiqqXrVq6o/l3WFQM4PmvtTstg0IADPg1WYFc+4JFk+XK0 3J21qw5kOcZ/YNeaPIGdSGvRyUldk8sa+i2qwaPTr9CP5YGm783LHUKe8IQ+ddIiDg6F 1FpQ== X-Gm-Message-State: AKaTC032isUZ09Oc5TR8kvL/Fu3xLvD3rsnJ7zkrt3mwRbL5NrGcDqtkMYRuwQKMDtRao9jY X-Received: by 10.194.157.3 with SMTP id wi3mr9964076wjb.0.1479744947034; Mon, 21 Nov 2016 08:15:47 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id l187sm20365294wml.6.2016.11.21.08.15.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Nov 2016 08:15:46 -0800 (PST) From: Axel Haslam To: nsekhar@ti.com, khilman@kernel.org Subject: [PATCH 1/3] ARM: davinci: hawk: fix mmc card detect gpio Date: Mon, 21 Nov 2016 17:15:39 +0100 Message-Id: <20161121161541.27048-2-ahaslam@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161121161541.27048-1-ahaslam@baylibre.com> References: <20161121161541.27048-1-ahaslam@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161121_081609_308969_B19EE22D X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Axel Haslam , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The card detect gpio on the hawk board is gpio4_0 and not gpio3_12 Signed-off-by: Axel Haslam --- 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 a4e8726..c0c24ba9 100644 --- a/arch/arm/mach-davinci/board-omapl138-hawk.c +++ b/arch/arm/mach-davinci/board-omapl138-hawk.c @@ -25,7 +25,7 @@ #include #define HAWKBOARD_PHY_ID "davinci_mdio-0:07" -#define DA850_HAWK_MMCSD_CD_PIN GPIO_TO_PIN(3, 12) +#define DA850_HAWK_MMCSD_CD_PIN GPIO_TO_PIN(4, 0) #define DA850_HAWK_MMCSD_WP_PIN GPIO_TO_PIN(3, 13) #define DA850_USB1_VBUS_PIN GPIO_TO_PIN(2, 4) @@ -119,7 +119,7 @@ static struct edma_rsv_info *da850_edma_rsv[2] = { static const short hawk_mmcsd0_pins[] = { DA850_MMCSD0_DAT_0, DA850_MMCSD0_DAT_1, DA850_MMCSD0_DAT_2, DA850_MMCSD0_DAT_3, DA850_MMCSD0_CLK, DA850_MMCSD0_CMD, - DA850_GPIO3_12, DA850_GPIO3_13, + DA850_GPIO4_0, DA850_GPIO3_13, -1 };