Re: PWM class? (was: Re: MPC52xx simple GPIO support)

2009-06-11 Thread Anton Vorontsov
On Thu, Jun 11, 2009 at 04:00:51PM -0600, Grant Likely wrote: > On Wed, Jun 3, 2009 at 7:22 AM, Anton Vorontsov > wrote: > > On Wed, Jun 03, 2009 at 02:42:26PM +0200, Stefan Strobl wrote: > > [...] > >> The led class provides support for setting the brightness, which > >> obviously the gpio driver

Re: PWM class? (was: Re: MPC52xx simple GPIO support)

2009-06-11 Thread Grant Likely
On Wed, Jun 3, 2009 at 7:22 AM, Anton Vorontsov wrote: > On Wed, Jun 03, 2009 at 02:42:26PM +0200, Stefan Strobl wrote: > [...] >> The led class provides support for setting the brightness, which >> obviously the gpio driver doesn't support. The hardware (mpc52xx_gpt) >> would support it in PWM mod

Re: PWM class? (was: Re: MPC52xx simple GPIO support)

2009-06-03 Thread Trilok Soni
Hi Jon, On Wed, Jun 3, 2009 at 9:08 PM, Jon Smirl wrote: > On Wed, Jun 3, 2009 at 9:22 AM, Anton Vorontsov > wrote: >> On Wed, Jun 03, 2009 at 02:42:26PM +0200, Stefan Strobl wrote: >> [...] >>> The led class provides support for setting the brightness, which >>> obviously the gpio driver doesn'

Re: PWM class? (was: Re: MPC52xx simple GPIO support)

2009-06-03 Thread Jon Smirl
On Wed, Jun 3, 2009 at 9:22 AM, Anton Vorontsov wrote: > On Wed, Jun 03, 2009 at 02:42:26PM +0200, Stefan Strobl wrote: > [...] >> The led class provides support for setting the brightness, which >> obviously the gpio driver doesn't support. The hardware (mpc52xx_gpt) >> would support it in PWM mo

PWM class? (was: Re: MPC52xx simple GPIO support)

2009-06-03 Thread Anton Vorontsov
On Wed, Jun 03, 2009 at 02:42:26PM +0200, Stefan Strobl wrote: [...] > The led class provides support for setting the brightness, which > obviously the gpio driver doesn't support. The hardware (mpc52xx_gpt) > would support it in PWM mode though. I'm now wandering how this could be > best implement

Re: MPC52xx simple GPIO support

2009-06-03 Thread Stefan Strobl
Anton Vorontsov wrote: > Hi Stefan, > > On Tue, Jun 02, 2009 at 07:02:25PM +0200, Stefan Strobl wrote: >> Hi >> I still don't quite understand how to use the Flattened Device Tree / >> Open Firmware. I see there's a driver (mpc52xx_gpt.c) that supports to >> use the Pins on the GPT as simple GPIOs

Re: MPC52xx simple GPIO support

2009-06-02 Thread Anton Vorontsov
Hi Stefan, On Tue, Jun 02, 2009 at 07:02:25PM +0200, Stefan Strobl wrote: > Hi > I still don't quite understand how to use the Flattened Device Tree / > Open Firmware. I see there's a driver (mpc52xx_gpt.c) that supports to > use the Pins on the GPT as simple GPIOs. I activated it by adding these

MPC52xx simple GPIO support

2009-06-02 Thread Stefan Strobl
Hi I still don't quite understand how to use the Flattened Device Tree / Open Firmware. I see there's a driver (mpc52xx_gpt.c) that supports to use the Pins on the GPT as simple GPIOs. I activated it by adding these lines to my dts file: gpt2: ti...@620 { compatible = "fsl,mpc5200b-gpt-gpi