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: 7215881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0FB09BEEC1 for ; Fri, 18 Sep 2015 12:36:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B3F3202E6 for ; Fri, 18 Sep 2015 12:36:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 580CC202D1 for ; Fri, 18 Sep 2015 12:36:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zcuri-0002Af-Ov; Fri, 18 Sep 2015 12:34:10 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZcuqI-00085A-LB for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2015 12:32:46 +0000 Received: by wicfx3 with SMTP id fx3so62323992wic.1 for ; Fri, 18 Sep 2015 05:32:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FEb8TVw/BCbeptVpKgp+av8kmcNlFSiSNy/4TRn1Z+E=; b=O1c4+QBhew3EiBUMQ8PBAFWzrEOzMYp9Hd0jkD9dImZTNTSl6o65ciie2XHl6WxOE2 Fk5QRJXuwZRekleDS6/A54tcBz8pL+5RbRsFSK1FBoa8Ph30dpwGuNhGCOIQepyF4LGt II9YndkZyoMPPxCBGnY4Y36f4BR/yIfwU9AhjNaZd6dw/H+6gSuGSj3qfWY8RGQWIlgT IkG32dZnSQ1Ai06a1RhZ8kdsXOvzrBEkpZ+DHYN4JFVvigVYYVvcx5zShF9f2GL2bhep 2ZvPluRaPDWuVTe7pS1lVgO3Dr9n1PXNhcfPTJuIJgN5D8xJEUanunFrKk2WtpwHpAkY WEaQ== X-Gm-Message-State: ALoCoQnwaE2PR7bV0ERSjjKkrtv2D3k4vdiC1tqTrw/mPmhgvtDdbyHpbJPckzNmdj5XTWe9mj5F 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150918_053243_186626_8A63F8EA X-CRM114-Status: GOOD ( 12.54 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {