From patchwork Fri May 15 11:18:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Veerabhadrarao Badiganti X-Patchwork-Id: 11551261 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF28F138A for ; Fri, 15 May 2020 11:19:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CFA2A206B6 for ; Fri, 15 May 2020 11:19:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="LcPP0HN5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726166AbgEOLTo (ORCPT ); Fri, 15 May 2020 07:19:44 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:38675 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725986AbgEOLTo (ORCPT ); Fri, 15 May 2020 07:19:44 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1589541583; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=G0YIFY7DmGhaD5zdzMpjeUqrJeIdM8P3XbRXyIYmxlI=; b=LcPP0HN5Z0g8UUT7YZ4cmWGnCyuIj9DbvUVTSs3/xCxjO83N46EgsatOSJ+JrLAUtFHi4mHf aVLC2eap+p0VJ9J9pUiXOcDzpI5QC4sqRHf74dQGdSkeDSci8w9t1WkoAjhuuqZq/Py0BWzv KuTp5UyCvsfsBZdEs05YTCuKzpQ= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5ebe7ac9.7f337dc55998-smtp-out-n02; Fri, 15 May 2020 11:19:37 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 89746C433F2; Fri, 15 May 2020 11:19:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=ham autolearn_force=no version=3.4.0 Received: from vbadigan-linux.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: vbadigan) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9A952C433D2; Fri, 15 May 2020 11:19:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9A952C433D2 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=vbadigan@codeaurora.org From: Veerabhadrarao Badiganti To: adrian.hunter@intel.com, ulf.hansson@linaro.org, robh+dt@kernel.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Veerabhadrarao Badiganti Subject: [PATCH V1 0/3] Internal voltage control for qcom SDHC Date: Fri, 15 May 2020 16:48:51 +0530 Message-Id: <1589541535-8523-1-git-send-email-vbadigan@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On qcom SD host controllers voltage switching be done after the HW is ready for it. The HW informs its readiness through power irq. The voltage switching should happen only then. So added support to register voltage regulators from the msm driver and use them. This patchset was posted long back but not actively pursued https://lore.kernel.org/linux-arm-msm/1539004739-32060-1-git-send-email-vbadigan@codeaurora.org/ So posting it as fresh patchset. Veerabhadrarao Badiganti (1): dt-bindings: mmc: Supply max load for mmc supplies Vijay Viswanath (2): mmc: sdhci-msm: Use internal voltage control mmc: sdhci: Allow platform controlled voltage switching .../devicetree/bindings/mmc/mmc-controller.yaml | 16 ++ drivers/mmc/host/sdhci-msm.c | 215 ++++++++++++++++++++- drivers/mmc/host/sdhci.c | 32 +-- drivers/mmc/host/sdhci.h | 1 + 4 files changed, 243 insertions(+), 21 deletions(-)