From patchwork Tue Aug 18 13:10:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 52515 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 39AAB22DB1 for ; Tue, 18 Aug 2015 13:11:00 +0000 (UTC) Received: by wicul11 with SMTP id ul11sf35572981wic.1 for ; Tue, 18 Aug 2015 06:10:59 -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=w3HXaQPq1XYfOvfrKkXAdlJ3M9yhzI5pD6zdriqJU2E=; b=PJE+WrgcYXGFpYHmyIy1BzslyiwpcufMR+i3H+TAHBpu8Oy01jZryaw5BT2UA5Tp5b fUTV+LIvQXocyMPGBoEWFHMjGiJ2/mwUDxLbkbPE47S5ix11QixgMs7SZBYchZ5astPn wTpDIj4pV3Igj3ZIGm0MoZLxwP6F8zGP2X4sf8hRlStnUCq/fPpMgSGdgKmm/F3MnYW+ 3l9evOtGAOIvmZRHzngkgC/qwdkOov6RfEIaIvLUVPv1nC76+PKUnjOrBgF291YW97F9 aGmykfBLwJihv/2bQMdJE1b3OdEMVauJVLorkZcxRJQhe3Fg7eoOPxEFSuSrjqtHGm0R HdqQ== X-Gm-Message-State: ALoCoQnzOXkFpJqhyCSGk+8h5WFnI2NIxylnvWziPu8GQuVpkuY0Qj0a7KbRn74frQMn5uqxDLQq X-Received: by 10.112.170.67 with SMTP id ak3mr1788141lbc.6.1439903459518; Tue, 18 Aug 2015 06:10:59 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.136 with SMTP id w8ls689842lal.16.gmail; Tue, 18 Aug 2015 06:10:59 -0700 (PDT) X-Received: by 10.112.52.2 with SMTP id p2mr6290388lbo.8.1439903459366; Tue, 18 Aug 2015 06:10:59 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id i12si14114280lbl.12.2015.08.18.06.10.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Aug 2015 06:10:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbbsx3 with SMTP id sx3so102558290lbb.0 for ; Tue, 18 Aug 2015 06:10:59 -0700 (PDT) X-Received: by 10.152.170.230 with SMTP id ap6mr6229720lac.73.1439903459160; Tue, 18 Aug 2015 06:10:59 -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.162.200 with SMTP id yc8csp472685lbb; Tue, 18 Aug 2015 06:10:57 -0700 (PDT) X-Received: by 10.70.38.196 with SMTP id i4mr13457392pdk.78.1439903457038; Tue, 18 Aug 2015 06:10:57 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tk5si30243262pbc.229.2015.08.18.06.10.56; Tue, 18 Aug 2015 06:10:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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 S1753219AbbHRNKm (ORCPT + 6 others); Tue, 18 Aug 2015 09:10:42 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:33814 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753144AbbHRNKl (ORCPT ); Tue, 18 Aug 2015 09:10:41 -0400 Received: by wicne3 with SMTP id ne3so100338675wic.1 for ; Tue, 18 Aug 2015 06:10:40 -0700 (PDT) X-Received: by 10.194.21.70 with SMTP id t6mr14102238wje.74.1439903440781; Tue, 18 Aug 2015 06:10:40 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id m4sm26393570wjb.37.2015.08.18.06.10.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Aug 2015 06:10:40 -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 v2 6/6] ARM: dts: qs600: Add SD card detect support. Date: Tue, 18 Aug 2015 14:10:37 +0100 Message-Id: <1439903437-20360-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439903069-19752-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1439903069-19752-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-arm-msm@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.180 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 --- 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 c095849..8c7bdc4 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -25,6 +25,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>; @@ -193,6 +203,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 {