From patchwork Thu Nov 14 18:07:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 21511 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6378F23FDD for ; Thu, 14 Nov 2013 18:08:14 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id 1sf4404202qec.2 for ; Thu, 14 Nov 2013 10:08:13 -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:content-transfer-encoding; bh=F2Avyn3Wcf+Kj6RkJ65g5d2tW/xBCxqlDqWRZNl6ylM=; b=jxiVZgfYbe8LEKzkNmcVudkJe8iUbkr8+LerIxF5xSda7QWGwYieaXmc8LR8ltAif6 zxTZZE7IMaS88GJSls4IWHdlxnGwGs96NuZKNxBJ//Kvq8PgGRSFz4uLj6oUprLcHAE2 7bU9gX0o98qKQNH8QG808UIBqJ+HOhRRFC+TD5G+mwQdU4qFmWeE8OStsLhFUgv+vnrC 2S/V3T7/VEg6n2dFzlja6gZKvNZSQMpNaj5OjdutIMQ0vO14tGWJIVYXvu5s+40tUHQG yicR5ZBciFsUomNaqRf1tvh1pBEY/eHvUs6R7FEYegQvUDot+CJAffzE75kt9uhaZnpt icdg== X-Gm-Message-State: ALoCoQmqr54cqZsNBTJRpGe9Ox4CQjjK+aQ/IRWDleBRx8SUOpsIsPr8rKJk3jFrms2ZR+/ag4gj X-Received: by 10.58.112.195 with SMTP id is3mr1098203veb.29.1384452493308; Thu, 14 Nov 2013 10:08:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.38.105 with SMTP id f9ls896242qek.81.gmail; Thu, 14 Nov 2013 10:08:13 -0800 (PST) X-Received: by 10.221.18.70 with SMTP id qf6mr962396vcb.37.1384452493078; Thu, 14 Nov 2013 10:08:13 -0800 (PST) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id a6si17541877vdp.143.2013.11.14.10.08.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 10:08:13 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ia6so292998vcb.21 for ; Thu, 14 Nov 2013 10:08:13 -0800 (PST) X-Received: by 10.52.231.39 with SMTP id td7mr339288vdc.106.1384452492941; Thu, 14 Nov 2013 10:08:12 -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 u4csp336107vcz; Thu, 14 Nov 2013 10:08:12 -0800 (PST) X-Received: by 10.236.143.211 with SMTP id l59mr738807yhj.232.1384452491806; Thu, 14 Nov 2013 10:08:11 -0800 (PST) Received: from mms3.broadcom.com (mms3.broadcom.com. [216.31.210.19]) by mx.google.com with ESMTP id 66si24723154yhb.283.2013.11.14.10.08.10 for ; Thu, 14 Nov 2013 10:08:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.19 as permitted sender) client-ip=216.31.210.19; Received: from [10.9.208.57] by mms3.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Thu, 14 Nov 2013 10:07:15 -0800 X-Server-Uuid: B86B6450-0931-4310-942E-F00ED04CA7AF Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 14 Nov 2013 10:08:04 -0800 Received: from mail-sj1-12.sj.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Thu, 14 Nov 2013 10:08:04 -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 C1CDD207C0; Thu, 14 Nov 2013 10:08:03 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id A873F4589F9; Thu, 14 Nov 2013 10:08:03 -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: [PATCH] ARM: dts: bcm28155-ap: Fix Card Detection GPIO Date: Thu, 14 Nov 2013 10:07:30 -0800 Message-ID: <1384452450-26308-1-git-send-email-tim.kryger@linaro.org> X-Mailer: git-send-email 1.8.0.1 MIME-Version: 1.0 X-WSS-ID: 7E9BCED91SC8073253-01-01 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.220.176 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"; }; };