[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A7990F6.7030701@mnementh.co.uk>
Date: Wed, 05 Aug 2009 15:02:30 +0100
From: Ian Molton <ian@...menth.co.uk>
To: Magnus Damm <magnus.damm@...il.com>
CC: Guennadi Liakhovetski <g.liakhovetski@....de>,
pHilipp Zabel <philipp.zabel@...il.com>,
Paul Mundt <lethal@...ux-sh.org>,
Mark Brown <broonie@...nsource.wolfsonmicro.com>,
linux-kernel@...r.kernel.org, Pierre Ossman <drzeus@...eus.cx>,
Magnus Damm <damm@...nsource.se>
Subject: Example idea for how to solve the clock/cnf problem.
Hi folks,
I've spent a little time hacking on the code this afternoon, here is a
WIP that completely removes cnf area accesses from the mmc driver. These
are now pushed out into the platform / MFD level code. I've taken
TC6393XB as an example and pushed the CNF code into that. I imagine that
several chips can share that code so I will break it out into another
file, mfd/tmio_common.c, probably.
This code probably doesnt compile yet, but should give some idea about
how I think this should be done.
How are other devices setting the card clock? are they using my clock
setup function? If so, then we are probably best off avoiding the clock
API for the card clock, as getting the full range of frequencies require
access to both CNF and CTL areas on TMIO MFDs.
If not, then we will need to do more thinking.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists