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: 7031391 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 46C159F344 for ; Tue, 18 Aug 2015 13:12:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7EAE620796 for ; Tue, 18 Aug 2015 13:12:50 +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 AD9202065D for ; Tue, 18 Aug 2015 13:12:49 +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 1ZRgfQ-000785-75; Tue, 18 Aug 2015 13:11:04 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZRgfK-0006s8-7O for linux-arm-kernel@lists.infradead.org; Tue, 18 Aug 2015 13:10:58 +0000 Received: by wicne3 with SMTP id ne3so95016529wic.0 for ; Tue, 18 Aug 2015 06:10:40 -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=ZFy7pmWIycmcc7UlhzsDh5ejeLix86W5zpt4OyebcuE=; b=bHPax8XWiCMqq5aMOth1cG++n2vke8D6MgTo9HVgqsJlQ7Orz+kz0T+3NBfZlJtZfK rINz7jsmUxqC3BPxLwUHf5azFhnYZO6kJm284zEodpoTFWSPSwk3AZrFJBduywvsmHB8 c0ZRdvdTAAK2TQS0+aqG0G9GqCUPLRFeuevsvyJrPUEFbFqffGZtQsMFSmLR3qUJdcUc pC6/GFoen97eDh2OHX4Te7hV3L9nSFyb2ep5L/hbT5hpc1xcZcgntsYOe/sdGAK7wv65 bMqhMpXL6gEd6wM5Yp6mNW/KEGZmBhbj+xtqg5Lz45Si8YcfPGqmBAO3jC9UzPZ4GBrQ 0f6A== X-Gm-Message-State: ALoCoQlJwzeh4/0CkLdcA++Xq7azmTgYrJaKhO3TtBhpCRhVs788VWaDTXHrEWJadNeo2YIMIXvv 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150818_061058_458290_2FACF064 X-CRM114-Status: GOOD ( 13.14 ) 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 --- 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 {