S3C64xx backlight PWM misinited GPIO pin

Maurus Cuelenaere mcuelenaere at gmail.com
Mon Sep 28 13:31:16 EDT 2009


Op 28-09-09 09:43, Peter Korsgaard schreef:
 >  Maurus> Are the GPIO pins used as PWM (e.g. GPF15) supposed to be set
 >  Maurus> to special function 2 in the bootloader/mach file or is this
 >  Maurus> just a bug in the PWM driver in current mainline?
 >
 > The pin configuration imho doesn't belong in the pwm driver shared
 > between 24xx/64xx.

Agreed, but what about a 64xx (or 6410-specific if necessary) configuration?

IMHO this shouldn't go in the platform config, as the PWM GPIO pins are 
fixed
for all S3C6410-based devices.

 >  Maurus> Do I need to set some kind of config option (mach-hmt doesn't
 >  Maurus> seem to need the above change) or .. ?
 >
 > It doesn't do it because I setup the pin in the bootloader (E.G. to
 > display bootsplash image).

I suspected something like that, perhaps I should be doing this too.


Regards,

Maurus Cuelenaere



More information about the linux-arm-kernel mailing list