"Cousson, Benoit" <b-cousson@xxxxxx> writes: > Hi Kevin, > >>From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap- >>owner@xxxxxxxxxxxxxxx] On Behalf Of Kevin Hilman >>Sent: Tuesday, January 12, 2010 6:19 PM >>To: Dasgupta, Romit >>Cc: Menon, Nishanth; linux-omap@xxxxxxxxxxxxxxx >>Subject: Re: [PM-WIP-OPP][PATCH] OPP: Introduces enum for addressing >>different OPP types >> >>Romit Dasgupta <romit@xxxxxx> writes: >> >>> Introduces enum for identifying OPP types. This helps in querying the OPP >>> layer by passing the type of OPP (enum types) and gets away from >>maintaining >>> the pointer to the OPP data list outside the OPP layer. >>> >>> Signed-off-by: Romit Dasgupta <romit@xxxxxx> >> >>I like this idea... but I have some questions about how we should >>cleanly handle SMP and future SoCs. > > Well, it is better than what we have today, but maybe not super > scalable for next device. This information is completely device > dependant and should not be in a plat-omap file. In that case, it > will be tricky to have an enum per devices because it will prevent > multiple omap build. That for that reason that I think we might use > hwmod to identify the relevant scalable IPs, instead of yet another > identifier for something that is IP related. OK. Let's take this approach for now, and after hwmods get stabilized/merged we can consider alternate per-SoC ways to handle this. Thanks, Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html