Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp202093ybl; Tue, 27 Aug 2019 18:36:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyPTq9EQ2BzsDI+4T5aXJvNFu810fq+u5zHOzBLz1kmLtBMHS/2pjfdG4MKZyWkeqCnzjPX X-Received: by 2002:a17:902:a70c:: with SMTP id w12mr1896669plq.288.1566956213628; Tue, 27 Aug 2019 18:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566956213; cv=none; d=google.com; s=arc-20160816; b=kS45ps44p3sqiBsUvo7oPd8Jq2GhYYvppmqBHUcAW0VkUu7KObzySbT8jHqNpNGovw I3+Nk3Sv8Ia76nGO8g4Sh7GlM2HhIcpsi924ldijOb4Ufoa7p6SQgV6NNKEZ/dOjETew WN5xT3p4urXWsbARVRJjC139ypkhW1GGdg/hqA6V0PGSkg5isDdJCIKUwwEpBNQ017pP vDKCm/T340x78BH3yE0S9fmI0eqzmMnPOzDfv1mWdSygSkQjM4C/E0zt/JrWh1UQ0sJV e/CeJFpzWsP66bhDgJZOgt5rcQFLDVdaoUsi7R4MzZLQqioVM/ZIwfytgqeEup2IBvdU k04Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=no+ycsGMj0R+gZyya68dmlPVzNF0AlTxOE/yp55jzbQ=; b=O4Eo5OK6tnrvx+b/+uc1/VtPKwn2hzbP8amtWi4GpRbBddyjEQOC5zoYU6mw+N7kBm FB8HwUTmt45O2/aCc2QCEJo6j/pT2RFyG41D7dBes1bg6AzjcOvp+1qw9nwQVirxIEcA TDQ45jb/4Euz7cawTIk8Y1SBzy0j+7jkEK/2sQ4jCY+e3LXVH/UOj18bYgIvDd5rBrUh Yq6+DmGm9RdvCQ4CvUis3N/BeUqlizzerQabvbBATDRu3eqK1IqOaVALeJGcMg1RAKpG /46s0HobOOEYQE6kN4uvyUFddMdPCqcAojsKc26LtFVoQQehusZSkf2RTd91LoCn7a/e HLcg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n124si886296pga.214.2019.08.27.18.36.37; Tue, 27 Aug 2019 18:36:53 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726364AbfH1BeV (ORCPT + 99 others); Tue, 27 Aug 2019 21:34:21 -0400 Received: from mga02.intel.com ([134.134.136.20]:7077 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726096AbfH1BeV (ORCPT ); Tue, 27 Aug 2019 21:34:21 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 18:34:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,439,1559545200"; d="scan'208";a="209956217" Received: from linux.intel.com ([10.54.29.200]) by fmsmga002.fm.intel.com with ESMTP; 27 Aug 2019 18:34:19 -0700 Received: from [10.226.38.21] (vramuthx-mobl1.gar.corp.intel.com [10.226.38.21]) by linux.intel.com (Postfix) with ESMTP id 90C1E580375; Tue, 27 Aug 2019 18:34:16 -0700 (PDT) Subject: Re: [PATCH v1 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM eMMC To: Ulf Hansson 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 References: <20190826072800.38413-1-vadivel.muruganx.ramuthevar@linux.intel.com> <20190826072800.38413-2-vadivel.muruganx.ramuthevar@linux.intel.com> From: "Ramuthevar, Vadivel MuruganX" Message-ID: <373e55ab-c76b-7657-bd47-1a5efc75a062@linux.intel.com> Date: Wed, 28 Aug 2019 09:34:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ulf, On 27/8/2019 9:49 PM, Ulf Hansson wrote: > 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 > Thank you so much for review and applied for next. Best Regards Vadivel >> --- >> 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 >>