Thread (2 messages) 2 messages, 2 authors, 2009-09-28

S3C64xx backlight PWM misinited GPIO pin

From: Maurus Cuelenaere <hidden>
Date: 2009-09-28 17:31:16

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help