Re: [PATCH 1/5] MFD,mmc: tmio_mmc: make HCLK configurable

From: Ian molton
Date: Sat May 30 2009 - 05:59:59 EST



Acked-by: Ian Molton <spyro@xxxxxxx>

However I'd like to see the clk API weaned of its CPU spcific dependencies so that it can be used for this purpose instead.

I consider ASIC3 support in this driver more important and this change is pretty noninvasive. Converting to the clk api in future shouldnt be any harder with this patch (actually slightly easier).

Philipp Zabel wrote:
The Toshiba parts all have a 24 MHz HCLK, but HTC ASIC3 has a 24.576 MHz HCLK
and AMD Imageon w228x's HCLK is 80 MHz. With this patch, the MFD driver
provides the HCLK frequency to tmio_mmc via mfd_cell->driver_data.

Signed-off-by: Philipp Zabel <philipp.zabel@xxxxxxxxx>
Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxx>
Cc: Pierre Ossman <pierre@xxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/