Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5581432ybl; Tue, 27 Aug 2019 06:53:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeFOAy4JqYvqtzrK9r1sy8O/R0+Gq0n5C9sxlQVnaFc8rGS6lOYScORauDdjnq9iOcvEAH X-Received: by 2002:a17:90a:8a8a:: with SMTP id x10mr24576701pjn.83.1566913981609; Tue, 27 Aug 2019 06:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566913981; cv=none; d=google.com; s=arc-20160816; b=NUUjI4ZE7KVWZhz4TLacTu3esT52AqJ58qoppHWFyPdxTrC6z38T8dXc085WilxENl X007UE4oeVXbFVHOAWu/cTeqOa/qMUFvoqRIL3i63HWq8r0pGpE0pfHkzbQ3zd5+5hF2 H2Ze0VS1JAW997MnRZJnFuTJhFteOgFTBoAMOhNJBTPqWkB23Edee+PMRerWlnzJcge5 2FQVMzRfZCB7qbVSBRDuwztXiZPS9eMqkhDVQT0cvgt7jWsKVFMy7+1Hm+QVnSEUq1aq 7G11wAbFiBiDaEwDDz/4jjMfJn7RhYnEw4p0vVWbV3RC5+/ChvRPHo4u84kxjx2nXSzV LQeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9nTdAXMkkDWuizv1tysprjOJ2R0IJRbo/lx0RTYg+gg=; b=hVF/zi8upbcifhZ5hfdjrbDRixZV3TGacc9CJNtc5RCamoy41Pme7pjjg2FTVNu8AI hbRio6WyZl5m2XNzXsB4ecUeNoYdvtVdBuh0vIzYpqSHgauVeyYbLezew4yLR0zmi65l wK+AoVHh68yAinl9z/gLqiKzVkiCjn8vADjhSpDJ45xVuq4EH/9bbjz9ktqYheD01SLh uwWRLOnVTieg7bsN7MN4g+XEzv6YxUBwQfXIAG98uHmonvzI3mpqTAAUHNFMdcq1bmHW ASIHMtSIsI/ofij9FrK9x/EcW9bmpqM5J/GXg3QO53qzm+jHcmNkM8BqVnFr8uluv080 tTTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lRFCIPmx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l67si12957242plb.336.2019.08.27.06.52.45; Tue, 27 Aug 2019 06:53:01 -0700 (PDT) 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=@linaro.org header.s=google header.b=lRFCIPmx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730339AbfH0Nu3 (ORCPT + 99 others); Tue, 27 Aug 2019 09:50:29 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:45055 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729896AbfH0Nu2 (ORCPT ); Tue, 27 Aug 2019 09:50:28 -0400 Received: by mail-vs1-f67.google.com with SMTP id c7so13465525vse.11 for ; Tue, 27 Aug 2019 06:50:27 -0700 (PDT) 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=9nTdAXMkkDWuizv1tysprjOJ2R0IJRbo/lx0RTYg+gg=; b=lRFCIPmx30bbAcvZ3ja1zoN/Q3+vSqfaVYAcaCKhScS9+a4YuFNPLRxB9y5OIZW+Iu 6pa5Iu/6QsGXgoEY5AB8deRH2GTZgetkr0vkJL6dpQ4V0cl0AHjU48W6ayhzWNXsgMuL /3GYi+XhaOw8Wi5LXWnKjn6WgGak6tZhmxOIZWPfBop/ZWYefWw46yN0SAPYQCBO7WMN zMJvjGTPUCviMFP2pVUsoXeG//iGiUMhfuVu2czaHGlLoJAO/pbzLBl48LxnmKEsmfZk bmfQvPvgwX4m9OyGWFQNO5nK+jZ2umhflxqFk4orYXIMuiKov8bBIoNu34lHmvkenMS2 lx9A== 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=9nTdAXMkkDWuizv1tysprjOJ2R0IJRbo/lx0RTYg+gg=; b=OFptCXX5yhp1+CqnVy+/kg4BI+6jBPD8GILHeJgNIXSpDDxs9Ul9fZaLbpX0IWmTXS f8+oEtPkL8I8fj4zac0XY1z25/6nEXRvOz5eCVME9AgZ6HSkWPLhptRTFGHEELzdn7Xe ajiQSv2MokjZ/A7NO50gV304+pFk3hMOsyVBu0Un/1o/V742mnjCpZEWX1d4Uqj++bIQ igjNvLCmL7sTSji4qFfTwsDt2OMVkDatP7Toi+2j5+xSmIKnMZNGaOIACRjhl4gX9nQu /E+9NJX/ryOZRnswCzzB2SVmcrdgXaNxat9IwT28VKvG3/jSY3f9lcCYssfxZbzjunbK 10Zg== X-Gm-Message-State: APjAAAVGvFYLaV98OIbXNITFg8t6v8wY5MUXvqYTEKBUtY/oHlvXgeci XrgF9XOBYty5LQUatsiErDUl1UJLeggbWkxwYPqtxw== X-Received: by 2002:a67:32c5:: with SMTP id y188mr13651472vsy.191.1566913827420; Tue, 27 Aug 2019 06:50:27 -0700 (PDT) MIME-Version: 1.0 References: <20190826072800.38413-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20190826072800.38413-2-vadivel.muruganx.ramuthevar@linux.intel.com> In-Reply-To: <20190826072800.38413-2-vadivel.muruganx.ramuthevar@linux.intel.com> From: Ulf Hansson Date: Tue, 27 Aug 2019 15:49:49 +0200 Message-ID: Subject: Re: [PATCH v1 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM eMMC To: "Ramuthevar,Vadivel MuruganX" Cc: "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List , Linux ARM , DTML , Adrian Hunter , Michal Simek , Rob Herring , Mark Rutland , andriy.shevchenko@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Aug 2019 at 09:28, Ramuthevar,Vadivel MuruganX wrote: > > From: Ramuthevar Vadivel Muruganx > > The current arasan sdhci PHY configuration isn't compatible > with the PHY on Intel's LGM(Lightning Mountain) SoC devices. > > Therefore, add a new compatible, to adapt the Intel's LGM > eMMC PHY with arasan-sdhc controller to configure the PHY. > > Signed-off-by: Ramuthevar Vadivel Muruganx Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/sdhci-of-arasan.c | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c > index b12abf9b15f2..7023cbec4017 100644 > --- a/drivers/mmc/host/sdhci-of-arasan.c > +++ b/drivers/mmc/host/sdhci-of-arasan.c > @@ -114,6 +114,12 @@ static const struct sdhci_arasan_soc_ctl_map rk3399_soc_ctl_map = { > .hiword_update = true, > }; > > +static const struct sdhci_arasan_soc_ctl_map intel_lgm_emmc_soc_ctl_map = { > + .baseclkfreq = { .reg = 0xa0, .width = 8, .shift = 2 }, > + .clockmultiplier = { .reg = 0, .width = -1, .shift = -1 }, > + .hiword_update = false, > +}; > + > /** > * sdhci_arasan_syscon_write - Write to a field in soc_ctl registers > * > @@ -373,6 +379,11 @@ static struct sdhci_arasan_of_data sdhci_arasan_rk3399_data = { > .pdata = &sdhci_arasan_cqe_pdata, > }; > > +static struct sdhci_arasan_of_data intel_lgm_emmc_data = { > + .soc_ctl_map = &intel_lgm_emmc_soc_ctl_map, > + .pdata = &sdhci_arasan_cqe_pdata, > +}; > + > #ifdef CONFIG_PM_SLEEP > /** > * sdhci_arasan_suspend - Suspend method for the driver > @@ -474,6 +485,10 @@ static const struct of_device_id sdhci_arasan_of_match[] = { > .compatible = "rockchip,rk3399-sdhci-5.1", > .data = &sdhci_arasan_rk3399_data, > }, > + { > + .compatible = "intel,lgm-sdhci-5.1-emmc", > + .data = &intel_lgm_emmc_data, > + }, > /* Generic compatible below here */ > { > .compatible = "arasan,sdhci-8.9a", > -- > 2.11.0 >