GPIO support for HTC Dream
pavel at ucw.cz
Tue Dec 15 16:21:26 EST 2009
On Tue 2009-12-15 12:07:06, Daniel Walker wrote:
> On Tue, 2009-12-15 at 20:12 +0100, Pavel Machek wrote:
> > > > One other thing. Are the gpio's handled by Pavel's driver actually from the
> > > > MSM chip or from an external CPLD? The registers are all defined as:
> > > >
> > > > + .reg = reg_num + DREAM_CPLD_BASE,
> > > >
> > > > If they are external from the MSM chip this driver should probably be renamed
> > > > to something more appropriate since it is probably dream specific and not
> > > > generic to the msm architecture.
> > >
> > > These are board specific gpios. I think it would be less confusing if
> > > the msm gpio support was added first.
> > I did not see msm-generic gpios in the trees, where are they? What is
> > connected over them?
> Did you look at arch/arm/mach-msm/gpio.[ch] ? It looks like there some
> idle related code in there, and "SMEM" is connected through that code.
> (unless I'm looking at an older tree.)
Aha, I see... more gpios. No wonder I had problems with MMC and
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
More information about the linux-arm-kernel