Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8297006imu; Thu, 15 Nov 2018 09:21:56 -0800 (PST) X-Google-Smtp-Source: AJdET5cKV3BqgIf1iA32od7xa+zUVByZFYIKEqt8ikXJbHCvRj+lsyGSohpb435C28QKfB7mdHYr X-Received: by 2002:a62:568f:: with SMTP id h15-v6mr7314211pfj.178.1542302515936; Thu, 15 Nov 2018 09:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542302515; cv=none; d=google.com; s=arc-20160816; b=HNA6CmgzEnI18zzZVLU3ut5rL/smfWFE+famxRUaZ8JBouHoslLSLPmkj+ZmMqXNKn lPgtYyqGBBVqjMhUwsy7MN7WGYqaD8cTv0WH6dwv3aLigHUcTJaXABdxPGCWqgUY6n83 cIKTAZAzEWNJjG5afWGT6AJI+XbIUr+/YSL8jV80J3vL7kN/Pc1qxwoXBGrXKz79yVdU GdaOMonGxP1nshtRAPbwfrFSEOpOOLti0OD8S1dduFUnefSMFBJGJzo1utm3MEZk4XfK usJL5u9UGofPXjX9IQEj1OPYND2MqES6MseF4Ceuj6N8p+x8V5LWn/x7YfEAX55eL4AK C/0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature; bh=FpCsFdC4Mk4BE3u9RX23z30ri02gt0ybLOqtPFCFJFc=; b=ANJM5W7+d3RNFvhhuwaTN2zuCMCMgxbXvg1u8ZmAlFcoVOCWN6kfeKWJdTRli75ZzT SwH8EdMkSVbDvNRDzDuydryU0k7hfHc+pxVbdZDo2z6w1d8xY5cRC/4LoOOedpdpURsF iAasW1BniRjmC4ZtD4LjZygZp2nhg3rs9WWa03kXb9HeRa23anM+JUG1fKvbJ8AO9Sw/ FiLLgy9cbLSdYlbhLaPehDR5HIVMCXhp1tI7w54GS6brbr6r8xYwRxwxvewm8sGkLzWH lCLnVusy9lG9hgDeqKZFc3PvMipL6+LbeGT7mBO8cZBuya6uldBCKSa1FWqo6ekyo7uK N79g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ep2TMYZ4; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZnTxXMr8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7si26589756pgl.303.2018.11.15.09.21.31; Thu, 15 Nov 2018 09:21:55 -0800 (PST) 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; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=ep2TMYZ4; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZnTxXMr8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388948AbeKPD1V (ORCPT + 99 others); Thu, 15 Nov 2018 22:27:21 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:36366 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388915AbeKPD1V (ORCPT ); Thu, 15 Nov 2018 22:27:21 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 470D26076A; Thu, 15 Nov 2018 17:18:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542302320; bh=RKBliRfMp80zFf29H+YseXdSMNCyM/xKFh7mGXrlJnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ep2TMYZ4kf7v5jUBlucOLC+AMl82n59WjHEkBt9Fv2taQLrv5HHh+F5LbGlXeK9bR D5qASRCVjzKBHdWdY7Q2PfCjrBv7SW2I+B8IS/ovfgT004wCXzebk2T+hBA30gtk9Q vpiW8kQ0+s44/98zwwjNh0EUSta7+ijqfdj7kggg= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 585F76076A; Thu, 15 Nov 2018 17:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1542302319; bh=RKBliRfMp80zFf29H+YseXdSMNCyM/xKFh7mGXrlJnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZnTxXMr8PfgI+0Q8LuWIaZ32aOWfS2Wrg7KaNRWEgAdyLjjhNy7i2pM7L8WDpiFMu gWMjRiiMcWjw/X9P2iv7C84h4U0CT8xEwv5o9wcjAFfg7aeVMvpCQEsdu32YzgTeTS 1aR3ffsMw9ADR5VsOJAcN6o5LbqOpj3Cnrwls3O8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 585F76076A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo To: andy.gross@linaro.org, david.brown@linaro.org Cc: bjorn.andersson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH 4/4] arm64: dts: qcom: msm8998-mtp: Add external SD Date: Thu, 15 Nov 2018 10:18:11 -0700 Message-Id: <1542302291-6864-5-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1542302291-6864-1-git-send-email-jhugo@codeaurora.org> References: <1542302291-6864-1-git-send-email-jhugo@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The externally accessible SD card slot on the MTP is driven by SDCC2. Wire it up for use. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi | 13 +++++++++++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 + 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi index b4276da..a90b427 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi @@ -241,3 +241,16 @@ }; }; }; + +&sdhc2 { + status = "okay"; + cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>; + + vmmc-supply = <&vreg_l21a_2p95>; + vqmmc-supply = <&vreg_l13a_2p95>; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; + pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; +}; + diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 94827f4..8e7d788 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -3,6 +3,7 @@ #include #include +#include / { interrupt-parent = <&intc>; -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.