[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <040c01cb5f0c$29bcb3b0$LocalHost@wipblrx0099946>
Date: Tue, 28 Sep 2010 18:23:24 +0530
From: "Hemanth V" <hemanthv@...com>
To: "Arun Murthy" <arun.murthy@...ricsson.com>, <lars@...afoo.de>,
"Andrew Morton" <akpm@...ux-foundation.org>,
<kernel@...gutronix.de>, <philipp.zabel@...il.com>,
<robert.jarzmik@...e.fr>, <marek.vasut@...il.com>,
<eric.y.miao@...il.com>, <rpurdie@...ys.net>,
<sameo@...ux.intel.com>, <kgene.kim@...sung.com>,
<linux-omap@...r.kernel.org>
Cc: <linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <linux-mips@...ux-mips.org>,
"Arun MURTHY" <arun.murthy@...ricsson.com>,
<STEricsson_nomadik_linux@...t.st.com>
Subject: Re: [PATCH 1/7] pwm: Add pwm core driver
----- Original Message -----
From: "Arun Murthy" <arun.murthy@...ricsson.com>
> The existing pwm based led and backlight driver makes use of the
> pwm(include/linux/pwm.h). So all the board specific pwm drivers will
> be exposing the same set of function name as in include/linux/pwm.h.
> As a result build fails in case of multi soc environments where each soc
> has a pwm device in it.
This seems very specific to ST environment, looking at the driver list from
( [PATCH 4/7] pwm: Align existing pwm drivers with pwm-core ) it seems
most multi SOC environments might support PWM in either one of the SOC.
arch/arm/plat-mxc/pwm.c
arch/arm/plat-pxa/pwm.c
arch/arm/plat-samsung/pwm.c
arch/mips/jz4740/pwm.c
drivers/mfd/twl6030-pwm.c
Unless people have examples of other SOCs which might use this,
the better approach might be to go for a custom driver rather than changing
the framework.
Thanks
Hemanth
--
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