From patchwork Tue Dec 11 10:16:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13469 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 3D08C23FDB for ; Tue, 11 Dec 2012 10:17:10 +0000 (UTC) Received: from mail-ia0-f174.google.com (mail-ia0-f174.google.com [209.85.210.174]) by fiordland.canonical.com (Postfix) with ESMTP id E0776A1824F for ; Tue, 11 Dec 2012 10:17:09 +0000 (UTC) Received: by mail-ia0-f174.google.com with SMTP id y25so6124220iay.19 for ; Tue, 11 Dec 2012 02:17:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=4TWXnIW9pRh5Dj3deBVYQHlaT1Px6WPGU1bo3CyUw6s=; b=jdxqi0ynbhxuv6YZnV735Or2WeF1BSYYtsByxHPqoF0ETOomd/FqVaQCsL2JFv8wGd ZeOmnj6qhvSOg7fO6xqM06aSpflkreKQo+JR09u38T1zDQMWRW/t3E0JLYPNrKrSPtM7 Jcj8KGf2l7BdXdmTQFCHAyMFBkHVRWtHwzvCFwzEWBVCVtuPCXugDGLyckutVDnpFYB6 y7dZ3tbAC6k6raiONcZdowUbBtdBcU5KygbsFY2LDqK51WsDv3+LDVQUcDregcbkVbH7 SQ3x7erMkJMrkuUdEHsMOL0XjBEcm7crlsACl34GV000A5WSE+DA4bVgHNk8SIeROseI yx4g== Received: by 10.50.213.69 with SMTP id nq5mr2044091igc.70.1355221029311; Tue, 11 Dec 2012 02:17:09 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp122035igt; Tue, 11 Dec 2012 02:17:08 -0800 (PST) Received: by 10.14.202.3 with SMTP id c3mr59518117eeo.4.1355221028031; Tue, 11 Dec 2012 02:17:08 -0800 (PST) Received: from eu1sys200aog115.obsmtp.com (eu1sys200aog115.obsmtp.com [207.126.144.139]) by mx.google.com with SMTP id m3si53737447een.8.2012.12.11.02.17.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 02:17:07 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.139 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.139; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.139 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob115.postini.com ([207.126.147.11]) with SMTP ID DSNKUMcIH7ZEWaRUmkLfvnKmBx7Z2tEWwHsZ@postini.com; Tue, 11 Dec 2012 10:17:07 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0FA051E6; Tue, 11 Dec 2012 10:16:43 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B6F902A5E; Tue, 11 Dec 2012 10:16:43 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 29B4457C690; Tue, 11 Dec 2012 11:16:38 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Tue, 11 Dec 2012 11:16:43 +0100 From: Linus Walleij To: Cc: Anmar Oueja , Julien Delacou , Linus Walleij Subject: [PATCH] ARM: ux500: u8500: fix pinctrl IDLE state definition for SPI2 Date: Tue, 11 Dec 2012 11:16:35 +0100 Message-ID: <1355220995-32022-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkmod3QmiPYhX0isUPkYV2KP4qpVVDtRNTaYIwA8uS6LW41vzVn9QiR/HASICk/RWyfiNxX From: Julien Delacou The wrong macro was used so we didn't really create an idle state for these pins. Signed-off-by: Julien Delacou Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/board-mop500-pins.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c index 6679d8a..10f1441 100644 --- a/arch/arm/mach-ux500/board-mop500-pins.c +++ b/arch/arm/mach-ux500/board-mop500-pins.c @@ -319,9 +319,9 @@ static struct pinctrl_map __initdata mop500_family_pinmap[] = { DB8500_PIN("GPIO215_AH13", out_lo, "spi2"), /* TXD */ DB8500_PIN("GPIO217_AH12", out_lo, "spi2"), /* CLK */ /* SPI2 idle state */ - DB8500_PIN_SLEEP("GPIO218_AH11", slpm_in_wkup_pdis, "spi2"), /* RXD */ - DB8500_PIN_SLEEP("GPIO215_AH13", slpm_out_lo_wkup_pdis, "spi2"), /* TXD */ - DB8500_PIN_SLEEP("GPIO217_AH12", slpm_wkup_pdis, "spi2"), /* CLK */ + DB8500_PIN_IDLE("GPIO218_AH11", slpm_in_wkup_pdis, "spi2"), /* RXD */ + DB8500_PIN_IDLE("GPIO215_AH13", slpm_out_lo_wkup_pdis, "spi2"), /* TXD */ + DB8500_PIN_IDLE("GPIO217_AH12", slpm_wkup_pdis, "spi2"), /* CLK */ /* SPI2 sleep state */ DB8500_PIN_SLEEP("GPIO216_AG12", slpm_in_wkup_pdis, "spi2"), /* FRM */ DB8500_PIN_SLEEP("GPIO218_AH11", slpm_in_wkup_pdis, "spi2"), /* RXD */