From: Ulf Hansson ulf.hans...@stericsson.com
The Ux500 variant of this block has a different divider.
The value used right now is too big and which means a loss
in performance. This fix corrects it. Also expand the math
comments a bit so it's clear what's happening. Further
the Ux500 variant does
Hi,
This is the version 2 patch to enable background operations and HPI
feature for eMMC4.41 card. Both of these two features are optional.
Background operations can be started when user request queue is idle. So
each time user start to handle a new request, driver
From 984adc755cf2f7966a89e510a50f085e314fe347 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong chuanxiao.d...@intel.com
Date: Mon, 22 Nov 2010 16:31:12 +0800
Subject: [PATCH 1/4] mmc: Enabled background operations feature if eMMC card
supports
Background operations is a new feature defined in
From bd333e2303778051fbd9a0069db479e2f7dd0229 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong chuanxiao.d...@intel.com
Date: Fri, 3 Dec 2010 19:05:19 +0800
Subject: [PATCH 2/4] mmc: Add background operations
Driver will check if need to do a BKOPS after completed each
user request. If BKOPS is
From c9a450e2eb60b3b0151e9bafc2707d0a0c3aad76 Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong chuanxiao.d...@intel.com
Date: Fri, 3 Dec 2010 19:31:59 +0800
Subject: [PATCH 3/4] mmc: Enabled HPI feature
HPI feature is a new feature in eMMC4.41 standard. It will be
used to interrupt background
From d759e4606c498c63cbeae2ed00adf6c289acac6f Mon Sep 17 00:00:00 2001
From: Chuanxiao Dong chuanxiao.d...@intel.com
Date: Fri, 3 Dec 2010 19:34:15 +0800
Subject: [PATCH 4/4] mmc: Add HPI operation to interrupt BKOPS
Before start a new user request, driver need to wait until the
BKOPS finished,
Define callback (platform_hw_clk_gate) that is called when
h/w clock gating is defined. The adaptation layer is
responsible for enabling
a) setting mmc-caps |= MMC_CAP_CLOCK_GATING_HW to enable h/w gating
b) defining the callback.
code tested in marvell linux.
Signed-off-by: Philip Rakity
On Fri, 3 Dec 2010, Philip Rakity wrote:
This code extends software clock gating in the mmc layer
by adding the ability to indicate that controller support
hardware clock gating.
hardware clock gating is enabled by setting the mmc quirk
MMC_CAP_CLOCK_GATING_HW
in the sd driver.
eg: