Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp484032pxj; Thu, 3 Jun 2021 11:25:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ+sqe+UKFva0YWcmL9/NeZgMIhVPKCXovGJm4HVgmQscUD+Ndr1XQtXbVy3UZ1Djp+p9i X-Received: by 2002:a05:6402:1ac9:: with SMTP id ba9mr816520edb.250.1622744718797; Thu, 03 Jun 2021 11:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622744718; cv=none; d=google.com; s=arc-20160816; b=Fb5dT6oePuMri6v0mrPfI1DHUUGukgMU9tFmcXBwgRDCKCn7PeR1Spp5QuUCA5WYDo Fy/daXi/U/co1N7PFksT8QRGhLqXa1LBdk/IcLLpFvEkuJRub6Jy5VZuimph6AvTGVfx OQtmyTzr6BfiTTwqySVZ+VRwQ7RUKGqr2IlPlqgRXdsZ5864chdR7EpU2mRcVLVfimXf 4+fU/VepTRIibRhYPAFkBSaDeL5CUsOl0w9eeghdrfT8Gwzu+nOamCGJtj7INqPmshj0 hyg7t0vIyDijA8Z41NmJMZGEFdKzmZMEpied+D/d0TASx0LR+Zu4w4uMdrXyVHvFaLDO RtKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=zwtIK34ePWqfWof3eECmDP+vZdPdlx2WB+8lArToEf4=; b=02jwFhweytC1XqAWl4od3a8GjB3aEheHr6o3U8pfknv/pzPwLhqDf+LYnif/u+rmCX iMbu0f//uHQxZddZuU25G7SG/aY649R6LmCjBOCeC52J13bHvGcPh/pPX3RkWaor6+PC 0/7UmuvNYBuWjn7BdbOijZE8m55ON6bvw38WgUXgfRLhBR4WF1PNVkb2k7Ovu9YxgUpD bS1nHmqqAJREmCR7lWrrJQ8tnsg8cvQmnDoy0xb1gPP4o4W1FiprHJBXPc2fOULiavuq uyGXInKqob8ip+zuYkS/AVcORNsajX3eD/HIKkGQILWWhPhxq9mdCdJhdyAux+vLgt0U 8f4g== 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 s10si2795313ejm.526.2021.06.03.11.24.38; Thu, 03 Jun 2021 11:25:18 -0700 (PDT) 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 S229886AbhFCSYe (ORCPT + 99 others); Thu, 3 Jun 2021 14:24:34 -0400 Received: from mga05.intel.com ([192.55.52.43]:49409 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbhFCSYe (ORCPT ); Thu, 3 Jun 2021 14:24:34 -0400 IronPort-SDR: wFJLshbVpfjsCemWeAdVfTVvAWotyCKsyaSpaeMXDKKFw3jnZNCEYIfd44HXkhmm3yTLmbQbuu UOyXe62ipGdA== X-IronPort-AV: E=McAfee;i="6200,9189,10004"; a="289746027" X-IronPort-AV: E=Sophos;i="5.83,246,1616482800"; d="scan'208";a="289746027" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jun 2021 11:22:47 -0700 IronPort-SDR: kMYEYCsYzedndKna6i+wv7rn59/iLcyM+9qilAh/ZATEsuMfMYnrCpYDtcck3lqVInCaeduH00 L+w3scUr95SA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,246,1616482800"; d="scan'208";a="636326849" Received: from coresw01.iind.intel.com ([10.223.252.64]) by fmsmga005.fm.intel.com with ESMTP; 03 Jun 2021 11:22:42 -0700 From: rashmi.a@intel.com To: linux-drivers-review-request@eclists.intel.com, michal.simek@xilinx.com, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kishon@ti.com, vkoul@kernel.org, andriy.shevchenko@linux.intel.com, linux-phy@lists.infradead.org Cc: mgross@linux.intel.com, kris.pan@linux.intel.com, furong.zhou@intel.com, mallikarjunappa.sangannavar@intel.com, adrian.hunter@intel.com, mahesh.r.vaidya@intel.com, nandhini.srikandan@intel.com, lakshmi.bai.raja.subramanian@intel.com, rashmi.a@intel.com Subject: =?utf-8?q?=5B=E2=80=9CPATCH=E2=80=9D=200/2=5D=20=5BKMB=5D=20mmc=20clock-frequency=20property=20update=20and?= Date: Thu, 3 Jun 2021 23:52:40 +0530 Message-Id: <20210603182242.25733-1-rashmi.a@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rashmi A Patch1: If clock-frequency property is set and it is not the same as the current clock rate of clk_xin(base clock frequency), set clk_xin to use the provided clock rate. Patch2: Since the EMMC clock in KMB was changed from 200Mhz to 175Mhz in FIP,there were some warnings introduced, as the frequency values being checked was still wrt 200Mhz in code. Hence, the frequency checks are now updated based on the current 175Mhz EMMC clock changed in FIP. Review comments from Adrian Hunter have been incorporated. Above 2 patches are tested with Keem Bay evaluation module board. Please help to review this patch set. Rashmi A (2): mmc: sdhci-of-arasan: Use clock-frequency property to update clk_xin phy: intel: Fix for warnings due to EMMC clock 175Mhz change in FIP drivers/mmc/host/sdhci-of-arasan.c | 14 ++++++++++++-- drivers/phy/intel/phy-intel-keembay-emmc.c | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) -- 2.17.1