[PATCH] mmci: corrected calculation of clock div for ux500 v2

2010-12-03 Thread Linus Walleij
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

[PATCH v2 0/4]enable Background operations and HPI feature for eMMC4.41 card

2010-12-03 Thread Chuanxiao Dong
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

[PATCH v2 1/4]enable background operations for supported eMMC card

2010-12-03 Thread Chuanxiao Dong
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

[PATCH v2 2/4]start to do BKOPS when user request queue is idle

2010-12-03 Thread Chuanxiao Dong
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

[PATCH v2 3/4]enable HPI for supported eMMC card

2010-12-03 Thread Chuanxiao Dong
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

[PATCH v2 4/4]use HPI to interrupt BKOPS

2010-12-03 Thread Chuanxiao Dong
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,

[PATCH 2/3 ] mmc: add support for h/w clock gating of sd controller

2010-12-03 Thread Philip Rakity
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

Re: [PATCH 1/3 ] mmc: add support for h/w clock gating of sd controller

2010-12-03 Thread Nicolas Pitre
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: