From patchwork Thu Dec 5 21:51:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 22111 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5A36B202E0 for ; Thu, 5 Dec 2013 21:52:11 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id id10sf38092697vcb.0 for ; Thu, 05 Dec 2013 13:52:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type; bh=F2Avyn3Wcf+Kj6RkJ65g5d2tW/xBCxqlDqWRZNl6ylM=; b=d+hsiuVj4v2Cg5pruZszw+W6/vCPcEM4vtCSzokztEtKPnGyArtDjWumX4NN4WLWJf CcjHCc1CL4n4DSq3PfbmXBzSLqK76ULY5Cd9CVNxKayUDR8Gwaau1PHsL2mh/ZgQVqHc RN0E6mkdP7c98FyL8+073ggYvZaR4kKZBPNs/gfqOEJvhZxy3zZ5zvJq8o1jP6WlPh6T tKUQzps7tYHG5Rv05YWHJ9fbbLr8LzFR6rLCFozjQemlOlfkqN3YRlx8vcqPtHxPLz+z mK9hTJr4Ac7yXgkeYkpFXDSkUskUIXa+Y8rkmmuQophxkiO95iwj1dlzH3+ZuN+Ww/2x 8XGA== X-Gm-Message-State: ALoCoQl8zgFMcCpz2iVu7Gf1ffvAzZbBAaNgonRlOgizzLBPP78ZQ3KxP8xu5FSzSZ6OdjOdmgNe X-Received: by 10.58.76.129 with SMTP id k1mr60091vew.19.1386280331103; Thu, 05 Dec 2013 13:52:11 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.48.82 with SMTP id j18ls1017372qen.49.gmail; Thu, 05 Dec 2013 13:52:10 -0800 (PST) X-Received: by 10.52.0.81 with SMTP id 17mr7080vdc.50.1386280330890; Thu, 05 Dec 2013 13:52:10 -0800 (PST) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id th8si28280643vdc.24.2013.12.05.13.52.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Dec 2013 13:52:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id jw12so14457461veb.38 for ; Thu, 05 Dec 2013 13:52:10 -0800 (PST) X-Received: by 10.52.165.131 with SMTP id yy3mr12268vdb.25.1386280330758; Thu, 05 Dec 2013 13:52:10 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp50188vcz; Thu, 5 Dec 2013 13:52:10 -0800 (PST) X-Received: by 10.60.62.132 with SMTP id y4mr77191oer.55.1386280330116; Thu, 05 Dec 2013 13:52:10 -0800 (PST) Received: from mail-gw1-out.broadcom.com (mail-gw1-out.broadcom.com. [216.31.210.62]) by mx.google.com with ESMTP id ju5si58039967oeb.98.2013.12.05.13.52.09 for ; Thu, 05 Dec 2013 13:52:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.62 as permitted sender) client-ip=216.31.210.62; X-IronPort-AV: E=Sophos;i="4.93,836,1378882800"; d="scan'208";a="377542" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw1-out.broadcom.com with ESMTP; 05 Dec 2013 13:56:07 -0800 Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 5 Dec 2013 13:52:08 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) with Microsoft SMTP Server id 14.1.438.0; Thu, 5 Dec 2013 13:52:08 -0800 Received: from mps-infra-lab3.broadcom.com (mps-infra-lab3.sj.broadcom.com [10.19.114.109]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id 849C1207C4; Thu, 5 Dec 2013 13:52:08 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id 68F0F458A0E; Thu, 5 Dec 2013 13:52:08 -0800 (PST) From: Tim Kryger To: Christian Daudt , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell CC: Tim Kryger , Broadcom Kernel Feedback List , Device Tree List , Linux Arm Kernel List , Linux Kernel Mailing List , Linaro Patches Subject: [RESEND PATCH] ARM: dts: bcm28155-ap: Fix Card Detection GPIO Date: Thu, 5 Dec 2013 13:51:44 -0800 Message-ID: <1386280304-4227-1-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tim.kryger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The board schematic states that the "SD_CARD_DET_N gets pulled to GND when card is inserted" so the polarity has been updated to active low. Polarity is now specified with a GPIO define instead of a magic number. Signed-off-by: Tim Kryger Reviewed-by: Matt Porter --- arch/arm/boot/dts/bcm28155-ap.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts index 08e47c2..27dd110 100644 --- a/arch/arm/boot/dts/bcm28155-ap.dts +++ b/arch/arm/boot/dts/bcm28155-ap.dts @@ -13,6 +13,8 @@ /dts-v1/; +#include + #include "bcm11351.dtsi" / { @@ -40,7 +42,7 @@ sdio4: sdio@3f1b0000 { max-frequency = <48000000>; - cd-gpios = <&gpio 14 0>; + cd-gpios = <&gpio 14 GPIO_ACTIVE_LOW>; status = "okay"; }; };