From patchwork Tue Jan 7 18:53:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Kryger X-Patchwork-Id: 22922 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 67D7F216D9 for ; Tue, 7 Jan 2014 18:54:44 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id e16sf629179qcx.5 for ; Tue, 07 Jan 2014 10:54:43 -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=JWVUxHvIIExM0cuCYwQdzRfMvLjG9V/UffrM4z8BTlEKQ62FPTVnKVr/vOPi6X8vi6 dDPqR44VqB3hJN2OAoMytEztNKt5g88VU/pcXaWN1QDZ0Q94npfF0M/l3/vdiYjJ05gJ Sg/HCwU+NoISGcYXn7Vv0NYF3ipFfJCrqow7Lb64CUoEu9Ib2j2Fz5Bu1kdrkvDlZAnl kR+kKpd8+aDYvmiu8lO0BwGxnVKMVtOPqjWxHZdM5k8QLMC1zJgaMwnZ82U+/8i2jfYt 4yD1694o1JinAHJeSrQNkEjgPtZ02/npZcWXC9zyvX1ushHPBR1RV97+B8YhvrvRILbz SxEg== X-Gm-Message-State: ALoCoQnWXxp4FoCtlfTzYbXzwWR08NuUbcRA2Hls8zL6zmgSqCJkQCUshG3MtnnHq2GcS5Z7CyUH X-Received: by 10.58.187.197 with SMTP id fu5mr52649247vec.34.1389120883575; Tue, 07 Jan 2014 10:54:43 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.0.131 with SMTP id 3ls248414qee.70.gmail; Tue, 07 Jan 2014 10:54:43 -0800 (PST) X-Received: by 10.58.67.9 with SMTP id j9mr76429770vet.3.1389120883482; Tue, 07 Jan 2014 10:54:43 -0800 (PST) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by mx.google.com with ESMTPS id xb5si457489vdc.3.2014.01.07.10.54.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 07 Jan 2014 10:54:43 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.43 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.43; Received: by mail-vb0-f43.google.com with SMTP id p6so411264vbe.16 for ; Tue, 07 Jan 2014 10:54:43 -0800 (PST) X-Received: by 10.52.117.176 with SMTP id kf16mr63059135vdb.6.1389120883327; Tue, 07 Jan 2014 10:54:43 -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.59.13.131 with SMTP id ey3csp177939ved; Tue, 7 Jan 2014 10:54:42 -0800 (PST) X-Received: by 10.42.122.146 with SMTP id n18mr61092469icr.41.1389120882266; Tue, 07 Jan 2014 10:54:42 -0800 (PST) Received: from mail-gw3-out.broadcom.com (mail-gw3-out.broadcom.com. [216.31.210.64]) by mx.google.com with ESMTP id mg9si75554160icc.63.2014.01.07.10.54.41 for ; Tue, 07 Jan 2014 10:54:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of tkryger@broadcom.com designates 216.31.210.64 as permitted sender) client-ip=216.31.210.64; X-IronPort-AV: E=Sophos;i="4.95,620,1384329600"; d="scan'208";a="7861846" Received: from irvexchcas07.broadcom.com (HELO IRVEXCHCAS07.corp.ad.broadcom.com) ([10.9.208.55]) by mail-gw3-out.broadcom.com with ESMTP; 07 Jan 2014 10:59:08 -0800 Received: from IRVEXCHSMTP1.corp.ad.broadcom.com (10.9.207.51) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.1.438.0; Tue, 7 Jan 2014 10:54:41 -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; Tue, 7 Jan 2014 10:54:41 -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 2FE31207D0; Tue, 7 Jan 2014 10:54:40 -0800 (PST) Received: by mps-infra-lab3.broadcom.com (Postfix, from userid 1004) id D3828458A1B; Tue, 7 Jan 2014 10:54:39 -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: Tue, 7 Jan 2014 10:53:41 -0800 Message-ID: <1389120821-12007-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.212.43 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"; }; };