Received: by 10.223.185.116 with SMTP id b49csp1855987wrg; Sun, 11 Feb 2018 23:15:14 -0800 (PST) X-Google-Smtp-Source: AH8x224PELNukTX40ATR2it3JnwBkdDMvW/bc8fRklKhix3KAiVk8964ECUhEc/EHSZZctWe05xT X-Received: by 10.98.178.218 with SMTP id z87mr10749938pfl.88.1518419714260; Sun, 11 Feb 2018 23:15:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518419714; cv=none; d=google.com; s=arc-20160816; b=dt3jdM8ndb42FbqN1nI1MkqhFLEqxgYD8N0oocq1tX9Y/Bf8N1F0P4qSQb6J2rCMCW /c24aclB3A72LkTnWJ0t5ymEX5hRs0mOnb5vph7bfrguh51UBaJ+IXw+AUu4mbgWr8k5 BcluUjtdsG5DShwZBAbtDvQO/qYKgz+EiPzFT6D6FOi1dt8lpaL2hd7VxDLFGQUsVVTS EB7UN/A/ZLSLiWtsHDzKU353nKz4s1+TFGsMYoGP6oJIRJuYUYo1IGzYIF6arb/ykvFb S88+gtIVUgHToXLd4E/tYKv13L6h0f6h91vxIFVbw2jPB4zETeNZbHtGFoTa7KURVIjL Pn8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature:arc-authentication-results; bh=Vh1HElDHGOphYhvjBJDJRpBZSsMcchZ6wBJ29XcRQzg=; b=blRJAYOxCdIDCBog+JN75rcC3MhHxIF9nRQX4HXAdZ3javklJE02q2a8JuVNKA9bxC UfFSlJFCt3Mz4twTA2BDLRb9DufiU9vyGLUnRK6+oTo2s4Vda+HzvCef6k1s6DEi7wJh PnPdgIXGEZ+Bs2FDTi/YoiloNZ8bcS/PPTV0T9BXOcL97g05/fW3TXk8F8GfwuZiQF/q cQQZ3VqAvulqEJHTs034S53B7XOIc1b3ff6W/IQqddi7ohojRWvgwfUPsF10cum3LEtn wcqO2zjUBNeKMHyEmYMKaggSBZ/wqw57jwEiBNRtSRtZEW9tH0Vu4sFZTAKff+wyO6bT Xs+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=h+QvWTup; dkim=pass header.i=@codeaurora.org header.s=default header.b=h+QvWTup; 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 65si1867265pft.320.2018.02.11.23.15.00; Sun, 11 Feb 2018 23:15:14 -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=h+QvWTup; dkim=pass header.i=@codeaurora.org header.s=default header.b=h+QvWTup; 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 S932818AbeBLGBf (ORCPT + 99 others); Mon, 12 Feb 2018 01:01:35 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:35690 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932416AbeBLGBd (ORCPT ); Mon, 12 Feb 2018 01:01:33 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id E401F60F71; Mon, 12 Feb 2018 06:01:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518415292; bh=8Mog0baKaqwS5w9bHLAE4BdaYHbpoR0LIJfy9AixoTI=; h=From:To:Cc:Subject:Date:From; b=h+QvWTupNnFly7gaAI/3CKuNp+4jRhbnzfQzbdLv5oIuBbEyELDdOu7Urx7QjmPqR TAzizkfuneX2O0MEeDY1K2oEE/DAioLQfKzzXLOgesjGObxpdBKGPwT40nsbjgYqQD GrJvCTb07NUnJSXyHiUsurhhcSakqtNXl75tlEyY= 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.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from hydcbspbld03.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vviswana@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C6CF1608BF; Mon, 12 Feb 2018 06:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518415292; bh=8Mog0baKaqwS5w9bHLAE4BdaYHbpoR0LIJfy9AixoTI=; h=From:To:Cc:Subject:Date:From; b=h+QvWTupNnFly7gaAI/3CKuNp+4jRhbnzfQzbdLv5oIuBbEyELDdOu7Urx7QjmPqR TAzizkfuneX2O0MEeDY1K2oEE/DAioLQfKzzXLOgesjGObxpdBKGPwT40nsbjgYqQD GrJvCTb07NUnJSXyHiUsurhhcSakqtNXl75tlEyY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C6CF1608BF 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=vviswana@codeaurora.org From: Vijay Viswanath To: adrian.hunter@intel.com, ulf.hansson@linaro.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, shawn.lin@rock-chips.com, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org, asutoshd@codeaurora.org, stummala@codeaurora.org, venkatg@codeaurora.org, pramod.gurav@linaro.org, jeremymc@redhat.com, vviswana@codeaurora.org Subject: [PATCH V2 0/2] mmc: sdhci-msm: Configuring IO_PAD support for sdhci-msm Date: Mon, 12 Feb 2018 11:31:16 +0530 Message-Id: <1518415278-59062-1-git-send-email-vviswana@codeaurora.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=yes Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From the HPG: In some platform, SDCC controller can be connected to either an eMMC device or an SD card. The PADs for SD card are dual-voltage that support 3v/1.8v. Those PADs have a control signal (io_pad_pwr_switch/mode18 ) that indicates whether the PAD works in 3v or 1.8v. For SD usage the default value of this signal is ‘0’, and SD driver changes it to ‘1’ as a part of voltage switching sequence. For eMMC usage, SW should configure this signal to ‘1’ and supply 1.8v to PADs before starting any activity on the eMMC BUS. To set this signal, write the following in the SDC1_SDCC_HC_VENDOR_SPECIFIC_FUNC register: HC_IO_PAD_PWR_SWITCH: bit 16 HC_IO_PAD_PWR_SWITCH_EN: bit 15 Changes since v1: Modified comments on io_pad related changes. Split some read+modify+write commands to multiple lines Krishna Konda (1): mmc: sdhci-msm: support voltage pad switching Vijay Viswanath (1): mmc: sdhci-msm: Add support to store supported vdd-io voltages drivers/mmc/host/sdhci-msm.c | 72 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.