Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp45014pxb; Tue, 17 Nov 2020 20:03:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSRyVoA9MfGln0uOhWNy19fjdAGL7lj/g8R2Fqpa7VJ1CXAzXPeRgJ9CLecmqjGVY2XDmH X-Received: by 2002:aa7:dd17:: with SMTP id i23mr23253798edv.276.1605672238703; Tue, 17 Nov 2020 20:03:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605672238; cv=none; d=google.com; s=arc-20160816; b=u4JnCwjs9GD7P2ENihzMnGJdxtu3LkdEDSwMSjJtSnM9uv8Qdqm6tPdm7iAZDpRSyE 9+yVbXxYTa7VkkkYL+507K7eAxrnzBfRajGcalW+ARg8KlGJZi/p+GBdTkwYfD9M4qFh pWzIgmG6LpOR10mYesxlrc8k4TNKR4yQ01Ha/kKCgTCdbQbekzhtU8z+pVLB47e9MrgC 1w0lfEHI4EB6aM/PkowTVg+3U2mrouU3F4cVHbdzXABZH+Rvhkcdqj1bhZJ4b96v7OcM jip5kDfwu9fBNAQlfb/Emf1U4DGEeJr2mMgYSru+XGcvmzKb+r2/qtNe4lrpdcZt+Fxl h1pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:ironport-sdr:ironport-sdr; bh=GDkl4YnjfzA33Xe8b1ubULS/Hdwft6SNkA25QNwMGAw=; b=MR50wTQoJr4BrlyfrNmE/z5vjr63kO+S4keLCcQPlV/L2zsJcC+t54SFVjzY1ipkjT LXsDRrksWm5+osdSkZ/RryMaByhtU7E0F4dxdroaHz1oufnv5kSx4NsGSBy0ph21fy6p DonDOLQQxMoVsvZT0tu2KyMNmwIFwwPpx24Wqn7ckmQJnNZTTTtZ8Qyj/nQfY9R6OcDs muScn944S3qrdIL960isRvVCOazCwM4ShYadazP5inHEnyCgLtEio5kxNFk0urFPA0jT OC9QVZ/yZ4yJoMgeSJ316bk0jU7XMzObmaIYBvi00AlygBpMkacjRr9yX86S5XVYnF07 Cs4A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qw4si14473849ejb.171.2020.11.17.20.03.35; Tue, 17 Nov 2020 20:03:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727633AbgKREBo (ORCPT + 99 others); Tue, 17 Nov 2020 23:01:44 -0500 Received: from mga12.intel.com ([192.55.52.136]:19158 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbgKREBo (ORCPT ); Tue, 17 Nov 2020 23:01:44 -0500 IronPort-SDR: Uqm+6U+AXvlPr4ayZEa2D3NO9lXSc3GsgIexGuQYllymm33YchgRirKGNVHZbbWeVCOWSE8afX ZccmQMG6tpUg== X-IronPort-AV: E=McAfee;i="6000,8403,9808"; a="150331103" X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="150331103" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2020 20:01:43 -0800 IronPort-SDR: ztFKjl0wJ42g1fDN9qPbeudBKkz3H6I9sjILWdWJ3tIvDoIZah7cTMUWxrZMJfCiXMaXdM0TRC 8reOJD0KYxyg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,486,1596524400"; d="scan'208";a="310441546" Received: from zulkifl3-ilbpg0.png.intel.com ([10.88.229.114]) by fmsmga008.fm.intel.com with ESMTP; 17 Nov 2020 20:01:41 -0800 From: muhammad.husaini.zulkifli@intel.com To: ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: adrian.hunter@intel.com, lakshmi.bai.raja.subramanian@intel.com, wan.ahmad.zainie.wan.mohamad@intel.com, muhammad.husaini.zulkifli@intel.com, david.e.box@linux.intel.com Subject: [PATCH v2 1/1] mmc: sdhci-of-arasan: Fix clock registration fail for Keem Bay SOC Date: Wed, 18 Nov 2020 20:01:20 +0800 Message-Id: <20201118120120.24908-2-muhammad.husaini.zulkifli@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201118120120.24908-1-muhammad.husaini.zulkifli@intel.com> References: <20201118120120.24908-1-muhammad.husaini.zulkifli@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Muhammad Husaini Zulkifli Commit 16ada730a759 ("mmc: sdhci-of-arasan: Modify clock operations handling") introduces platform specific SDHCI clock operation. Each platform should specify clock operations handlers. Commit 16ada730a759 ("mmc: sdhci-of-arasan: Modify clock operations handling") and Commit 36c6aadaae86 ("mmc: sdhci-of-arasan: Add support for Intel Keem Bay") are merged about the same time. When doing rebasing during the upstream process, Commit 16ada730a759 ("mmc: sdhci-of-arasan: Modify clock operations handling") was not included. This will result in sd clock registration failure for Keem Bay SOC Devices as clock operations handlers are not defined. This patch declares the clock operation for Keem Bay SOC Devices. Add clk_ops for SD, EMMC and SDIO operations. Fixes: 36c6aadaae86 ("mmc: sdhci-of-arasan: Add support for Intel Keem Bay") Signed-off-by: Muhammad Husaini Zulkifli Reviewed-by: Adrian Hunter --- drivers/mmc/host/sdhci-of-arasan.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c index 829ccef87426..012d52e1abee 100644 --- a/drivers/mmc/host/sdhci-of-arasan.c +++ b/drivers/mmc/host/sdhci-of-arasan.c @@ -1199,16 +1199,19 @@ static struct sdhci_arasan_of_data sdhci_arasan_versal_data = { static struct sdhci_arasan_of_data intel_keembay_emmc_data = { .soc_ctl_map = &intel_keembay_soc_ctl_map, .pdata = &sdhci_keembay_emmc_pdata, + .clk_ops = &arasan_clk_ops, }; static struct sdhci_arasan_of_data intel_keembay_sd_data = { .soc_ctl_map = &intel_keembay_soc_ctl_map, .pdata = &sdhci_keembay_sd_pdata, + .clk_ops = &arasan_clk_ops, }; static struct sdhci_arasan_of_data intel_keembay_sdio_data = { .soc_ctl_map = &intel_keembay_soc_ctl_map, .pdata = &sdhci_keembay_sdio_pdata, + .clk_ops = &arasan_clk_ops, }; static const struct of_device_id sdhci_arasan_of_match[] = { -- 2.17.1