Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3180386pxb; Tue, 19 Jan 2021 16:24:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMQfGJXfrJxSp0hJFI43yed3pqt8myTyDm9wv/MbLg9OZd5WqTdXsRicoK9XmXHV80RKDQ X-Received: by 2002:a05:6402:6c4:: with SMTP id n4mr5406090edy.257.1611102260544; Tue, 19 Jan 2021 16:24:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611102260; cv=none; d=google.com; s=arc-20160816; b=cBdlh0WBEgBbk5ss6KMIzBOWcpsdxai37G1h2EzYuyzZP6TccmRUgJNb9b4Vow9ST1 IDh5OJAgsKK95RiBcHuyhXMvjbrVqwN/x33dS0F72Yd7FgFfQtc/oxk7CJN3QHKp88rG eqfCFkAzp1/7LC9LzVMYLcHodmaMSjRhOZZR45duKm8hmT5vgo59G/+uy7Ky/ed6qkWP kXM40zjbxctUha6AsfqE+89aHZY1PuVF4TEXtZ7On59jjk0saKq+/7Pr8XPfhSBUBLJ1 X7iu+iToCTw0Kji8WMOdfH97/br8XkSQU5vUmkOEjGh35u9ZS82uBy6sYbVyG716zBoe LyiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iN6LdNddtCPvRlGXitGPbToLS1CEl0fCsvQKN0BpriY=; b=QatZyqyr3K74zc7H5Mty+YIZyxok/gDUuQSzgTD0sQZhktseviPotlOpWxAmQZT8uy H4JSQ0ACxonSoQCJ3fJ22Wb8JWm1KE865SAEhhWoWM+J4KdtgSnp9KDHf1xZ5K7VKpXd n50ICjD1C8f4Ju3I03AulX7qWvyZxPBrHicrbss+VkGDSvD+eYmx2bkkMNhftOha4GRg wbyLQ//BUgKI+4YrnRihS0EiRdryfQNVg7ketqIU+gFBGsNVUMRTJEbHGhnuUrBoSETf Gj1fuuYVHEXjL3z3zBuOIpCjutMI+oGkCPVR5oMzwJ0APoQop+CmSoJfD9Dh3f+Nimq+ DXcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m785Q8Qx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx18si119079ejb.704.2021.01.19.16.23.57; Tue, 19 Jan 2021 16:24:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m785Q8Qx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbhATAV7 (ORCPT + 99 others); Tue, 19 Jan 2021 19:21:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389221AbhASNoN (ORCPT ); Tue, 19 Jan 2021 08:44:13 -0500 Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49F0CC0613C1 for ; Tue, 19 Jan 2021 05:43:29 -0800 (PST) Received: by mail-ua1-x92d.google.com with SMTP id v23so2388141uam.8 for ; Tue, 19 Jan 2021 05:43:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iN6LdNddtCPvRlGXitGPbToLS1CEl0fCsvQKN0BpriY=; b=m785Q8QxruIQgi3wqou/VxiBLJ/MVprrsoEl26S11OjFrdkVNeBiBSQzbWq5wc3Bnk WebjUhGaBZup0HmRhG1iHJWgPSiFnLZyBzGWNI20XYsn0k5hKcZiKhImt7Ma53urQp36 Ks0JtGiJq+9ofbOLlSzc0kEaziHNjCAEr7Sz5mI5NogFbrmG7T7P87zGcBBsxFuKgqRL UkP3EvyYE72XCvWqmms377Treyd3hnNcDperSD7wzNJ6RWRciyYfh7wdpACYJEJSpEs9 Xt1aHHTKD5GTRaT1mnwWEyAqr2PoRhM3/wJJgFlU3SZldkU0vszqgdYfJurQCU0hPcoJ 2VRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iN6LdNddtCPvRlGXitGPbToLS1CEl0fCsvQKN0BpriY=; b=dKBoaW77oSFVET6+PHLm86ZNajhaXSAfDp6WGxZgODydkMejF5+WyIuNPlYcKij8+Z gcPcu7uA35MbP5YIZ2Mtzqn+Q5+FJgItmg4IBxFL+0/k9wBzxNIkCPg4BId4y/a/g12Z ScmQ1gnUDHgv48MJukkEn7hEquE1Jru2+kXKJhXLt22wnmnXPD7tjhX8RV6f5JHvuPCY wTLKtzlfWsF2YPF63o4nHLJ8aT3PKUXuH12iHLQbDpap6K6RrpLM4mlM3ygol6mtVXSz Ktm5i9XbK67xuTIttlXXyXV84DgvruZhVuzSXLcCq118Ma+uUydkveSmZDIDJKibT9th b2/A== X-Gm-Message-State: AOAM530MH6OxhvFG6sIXaXBm+vgyUHJRq1dVw4+oktRDd1Kx7gyKUDs+ 9ihHyOhF1u3sjCWItGdxkuHBq3N0BBBllVEel7SAPw== X-Received: by 2002:a9f:204e:: with SMTP id 72mr2102277uam.19.1611063808290; Tue, 19 Jan 2021 05:43:28 -0800 (PST) MIME-Version: 1.0 References: <20210114152700.21916-1-muhammad.husaini.zulkifli@intel.com> In-Reply-To: <20210114152700.21916-1-muhammad.husaini.zulkifli@intel.com> From: Ulf Hansson Date: Tue, 19 Jan 2021 14:42:52 +0100 Message-ID: Subject: Re: [PATCH v1 0/9] mmc: sdhci-of-arasan: Add UHS-1 support for Keem Bay SOC To: Muhammad Husaini Zulkifli Cc: Mark Brown , Liam Girdwood , Rob Herring , DTML , Adrian Hunter , Michal Simek , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , "Shevchenko, Andriy" , Rashmi.A@intel.com, mahesh.r.vaidya@intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Jan 2021 at 16:28, Muhammad Husaini Zulkifli wrote: > > Hi, > > This patch series adds Ultra High Speed(UHS-1) Bus Speed Mode Support for Keem Bay SoC SD Card. > Summary of each patches as per below: > > Patch 1: Use of_device_get_match_data() helper to get the match-data. > Patch 2: Convert to use np pointer instead of using pdev->dev.of_node. > Patch 3: Add struct device *dev in probe func(), so that dev pointer can be widely use in probe to make code more readable. > Patch 4: Change from dev_err to dev_err_probe() to avoid spamming logs when probe is deferred. > Patch 5: Export function to be use by device driver to configure i/o voltage rail output which communicate with Trusted Firmware. > Patch 6: Update phy and regulator supply for Keem Bay SoC. > Patch 7: Add DT Binding for Keem Bay SoC SD Regulator. > Patch 8: Add SD Regulator driver to support Keem Bay SoC. This is to model using standard regulator abstraction during voltage operation > as for Keem Bay SoC, i/o voltage rail need to be configure by setting specific bit in the AON_CFG1 Register. > AON_CFG1 Register is a secure register. Direct access to AON_CFG1 register will cause firewall violation in secure system. > Patch 9: Add Ultra High Speed (UHS-1) Support for Keem Bay SOC. For Keem Bay hardware, two regulators are been used to change the I/O bus line voltage which are "vqmmc-supply" and "sdvrail-supply". > > All of these patches was tested with Keem Bay evaluation module board. > > Kindly help to review this patch set. > > Muhammad Husaini Zulkifli (9): > mmc: sdhci-of-arasan: use of_device_get_match_data() > mmc: sdhci-of-arasan: Convert to use np instead of pdev->dev.of_node > mmc: sdhci-of-arasan: Add structure device pointer in probe function > mmc: sdhci-of-arasan: Use dev_err_probe() to avoid spamming logs > firmware: keembay: Add support for Trusted Firmware Service call > dt-bindings: mmc: Update phy and regulator supply for Keem Bay SOC > dt-bindings: regulator: keembay: Add DT binding documentation > regulator: keembay: Add regulator for Keem Bay SoC > mmc: sdhci-of-arasan: Add UHS-1 support for Keem Bay SOC > > .../devicetree/bindings/mmc/arasan,sdhci.yaml | 7 +- > .../bindings/regulator/keembay-regulator.yaml | 36 ++ > drivers/mmc/host/sdhci-of-arasan.c | 313 ++++++++++++++++-- > drivers/regulator/Kconfig | 10 + > drivers/regulator/Makefile | 1 + > drivers/regulator/keembay-sd-regulator.c | 112 +++++++ > include/linux/firmware/intel/keembay.h | 82 +++++ > 7 files changed, 532 insertions(+), 29 deletions(-) > create mode 100644 Documentation/devicetree/bindings/regulator/keembay-regulator.yaml > create mode 100644 drivers/regulator/keembay-sd-regulator.c > create mode 100644 include/linux/firmware/intel/keembay.h > > -- > 2.17.1 > Applied patch 1 to patch 4. I assume you will be respinning the rest? Thanks and kind regards Uffe