* Pillai, Manikandan <[email protected]> [081216 02:24]:
> Hi Vikram,
> 
> Pls find my comments inlined.
> 
> 
> 
> -----Original Message-----
> From: Pandita, Vikram 
> Sent: Tuesday, December 16, 2008 11:08 AM
> To: Pillai, Manikandan; [email protected]
> Subject: RE: [PATCH 1/1] Default MUX configuration added - GPIO140-143, GPIO0 
> and GPIO9
> 
> 
> >-----Original Message-----
> >From: [email protected] 
> >[mailto:[email protected]] On Behalf Of Pillai,
> >Manikandan
> >Sent: Monday, December 15, 2008 11:31 PM
> >To: [email protected]
> >Cc: Pillai, Manikandan
> >Subject: [PATCH 1/1] Default MUX configuration added - GPIO140-143, GPIO0 
> >and GPIO9
> >
> >Default MUX configurations for GPIO on OMAP3 EVM boards are added.
> >Fixed for "_UP" naming convention for GPIOs comment.
> 
> Patch is fine but looks like 
> [Pillai, Manikandan] OK
> Mux framework seems to be not efficient.
> [Pillai, Manikandan] It's not efficient but I have just added the requirments 
> for the new power board in the existing framework. Revamping the whole MUX 
> logic
> would be a good amount of work.
> 
> "There is one GLOBAL table for all omap devices." 
> How maintainable is that? 
> Also care has to be taken to match the enum position with mux.c array 
> location. This is error prone.
> 
> Mux tables should be per device basis.
> Any thoughts.

Yeah, well once we have the custom struct device, we should configure
the pins there. Some of the pins have multiple options and should be
configured in board-*.c files, but some devices have just one working
combination of pins.

So hopefully for most pins,  by selecting the devices that the board has,
the devices would configure the pins for the board.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to