From patchwork Wed Jul 20 06:26:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhushan Shah X-Patchwork-Id: 9238975 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 02A1260574 for ; Wed, 20 Jul 2016 06:28:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6A4B200F5 for ; Wed, 20 Jul 2016 06:28:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D954D275A2; Wed, 20 Jul 2016 06:28:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4076F200F5 for ; Wed, 20 Jul 2016 06:28:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752025AbcGTG2Z (ORCPT ); Wed, 20 Jul 2016 02:28:25 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:33783 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751123AbcGTG2Y (ORCPT ); Wed, 20 Jul 2016 02:28:24 -0400 Received: by mail-pa0-f65.google.com with SMTP id q2so2709819pap.0; Tue, 19 Jul 2016 23:28:23 -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; bh=wcOBWM1VdyrsAwR5zxLYuZt22MXmTq4TEZBBhy+9/3Q=; b=gjzp7ZnoW5pqi61R2315rbBnABDgoVI5XTyIlIZR4IlX6o0G6AvMoxTV9p91KQDEH1 Q+u1qbBCLsb4rHf0dhROPKXp/AygAm2oQhGv4vGnyimGtkxz8L/tmA/BIBuvfMrv8dHY P6oMFPNKZsD82quew7YG1R996NhtZ9icg6xswOBqpyHZDSNO8ep7ho2cS5o6Eh5OLd+j efMqjnFShbF3TOVVtKoLH8EmKuuUoCp2BM25BEar87KUeAAcwQzvHs8fAgnKVuNOyCNF YHca4SUDOfpBXD9YqJ5qK+nUj+i+h9STymZlNbYmgcC2V/6uXZeKATEfpFl6a+97caeE VVTQ== X-Gm-Message-State: ALyK8tLOlh/qhFwCakJeoDngh3zhevJHjoaCOyh8qEzy5FeFZll/PgGbJuuyPM1P8lvNmA== X-Received: by 10.66.88.131 with SMTP id bg3mr73064697pab.43.1468996103222; Tue, 19 Jul 2016 23:28:23 -0700 (PDT) Received: from localhost.localdomain ([1.22.81.129]) by smtp.gmail.com with ESMTPSA id lf11sm1710565pab.17.2016.07.19.23.28.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2016 23:28:22 -0700 (PDT) From: Bhushan Shah Cc: Andy Gross , Bjorn Andersson , David Brown , Rob Herring , Mark Rutland , Russell King , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, Bhushan Shah Subject: [PATCH] ARM: dts: qcom: msm8974-hammerhead: Add sdhci1 node Date: Wed, 20 Jul 2016 11:56:10 +0530 Message-Id: <20160720062610.20822-1-bshah@kde.org> X-Mailer: git-send-email 2.9.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This introduces the eMMC sdhci node and its pinctrl state Signed-off-by: Bhushan Shah Reviewed-by: Bjorn Andersson --- .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts index 68f071f..947bd7f 100644 --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts @@ -233,6 +233,35 @@ status = "ok"; }; + pinctrl@fd510000 { + sdhc1_pin_a: sdhc1-pin-active { + clk { + pins = "sdc1_clk"; + drive-strength = <16>; + bias-disable; + }; + + cmd-data { + pins = "sdc1_cmd", "sdc1_data"; + drive-strength = <10>; + bias-pull-up; + }; + }; + }; + + sdhci@f9824900 { + status = "ok"; + + vmmc-supply = <&pm8941_l20>; + vqmmc-supply = <&pm8941_s3>; + + bus-width = <8>; + non-removable; + + pinctrl-names = "default"; + pinctrl-0 = <&sdhc1_pin_a>; + }; + gpio-keys { compatible = "gpio-keys"; input-name = "gpio-keys";