From patchwork Fri Sep 18 12:32:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 53873 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 12799218E3 for ; Fri, 18 Sep 2015 12:32:44 +0000 (UTC) Received: by lamf6 with SMTP id f6sf18917989lam.1 for ; Fri, 18 Sep 2015 05:32:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=iAw8pR99lcXaP4XuKldMKrG8MqRW3rVC4fRYAIxhToM=; b=cZoU5vWJivchDbSlKgbHirYTt6RH4kOyuEqY0j/vUwUDx+6Pp0kdyepNFGp3sXPU8N JfXGjHiIDKMkASI2Y4q2BI+WG8zEEf0TqZvS06xzvmYrCPB84oRUN2cmfp24F8QL6ykz gni4L8HW+lLdkqmi6vPhyYSK2kWxpJfmZgbs9ngTaaIfvM1YqajQo6VyYfRosmWuNHOQ RHKIJyEAz/b4mA1hVzPK0Kzs1KsupCdfVrl89vOBSiENe0BL2c1SjA0lutQQdMuvG8r3 PXFxAWgFmPxYHQuoK+9g8ihfX07mg2n1M34VKNTgxGJBMl9LuJgtgItYlLiUgBqN6q7C bgWg== X-Gm-Message-State: ALoCoQlM0Xf0klz2PJCS3LojifC/CXUC7hf5bn3pZxwk13rker4NXJkcLAnq+ui/m/Kt31tn6Ldv X-Received: by 10.112.130.41 with SMTP id ob9mr832135lbb.17.1442579563119; Fri, 18 Sep 2015 05:32:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.7.137 with SMTP id dc9ls215228lad.71.gmail; Fri, 18 Sep 2015 05:32:42 -0700 (PDT) X-Received: by 10.152.161.232 with SMTP id xv8mr3125877lab.32.1442579562959; Fri, 18 Sep 2015 05:32:42 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id kw11si5865434lac.89.2015.09.18.05.32.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Sep 2015 05:32:42 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbpo4 with SMTP id o4so24420260lbp.2 for ; Fri, 18 Sep 2015 05:32:42 -0700 (PDT) X-Received: by 10.112.125.134 with SMTP id mq6mr3000054lbb.19.1442579562809; Fri, 18 Sep 2015 05:32:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp264222lbq; Fri, 18 Sep 2015 05:32:42 -0700 (PDT) X-Received: by 10.50.96.107 with SMTP id dr11mr900331igb.58.1442579561894; Fri, 18 Sep 2015 05:32:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 75si6492782ioq.70.2015.09.18.05.32.40; Fri, 18 Sep 2015 05:32:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754128AbbIRMc2 (ORCPT + 30 others); Fri, 18 Sep 2015 08:32:28 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:35631 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754105AbbIRMcW (ORCPT ); Fri, 18 Sep 2015 08:32:22 -0400 Received: by wicge5 with SMTP id ge5so30797984wic.0 for ; Fri, 18 Sep 2015 05:32:20 -0700 (PDT) X-Received: by 10.180.10.170 with SMTP id j10mr39015236wib.77.1442579540858; Fri, 18 Sep 2015 05:32:20 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id gc19sm15308086wic.19.2015.09.18.05.32.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Sep 2015 05:32:20 -0700 (PDT) From: Srinivas Kandagatla To: agross@codeaurora.org, linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org Subject: [PATCH 14/14] ARM: dts: qs600: Add SD card detect support. Date: Fri, 18 Sep 2015 13:32:18 +0100 Message-Id: <1442579538-20525-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1442579371-19822-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds SD card detect support. Signed-off-by: Srinivas Kandagatla Acked-by: Igor Grinberg --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts index cc9d942..03784f1 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -29,6 +29,16 @@ }; soc { + pinctrl@800000 { + card_detect: card_detect { + mux { + pins = "gpio26"; + function = "gpio"; + bias-disable; + }; + }; + }; + rpm@108000 { regulators { vin_lvs1_3_6-supply = <&pm8921_s4>; @@ -197,6 +207,9 @@ sdcc3: sdcc@12180000 { status = "okay"; vmmc-supply = <&v3p3_fixed>; + pinctrl-names = "default"; + pinctrl-0 = <&card_detect>; + cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>; }; /* WLAN */ sdcc4: sdcc@121c0000 {