linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mcuelenaere@gmail.com (Maurus Cuelenaere)
To: linux-arm-kernel@lists.infradead.org
Subject: S3C64xx backlight PWM misinited GPIO pin
Date: Thu, 24 Sep 2009 17:23:26 +0200	[thread overview]
Message-ID: <4ABB8EEE.7070103@gmail.com> (raw)

Hi,

Are the GPIO pins used as PWM (e.g. GPF15) supposed to be set to special
function 2 in the bootloader/mach file or is this just a bug in the PWM 
driver
in current mainline?

Without doing the below, backlight PWM doesn't work for me:


static int smartq_bl_init(struct device *dev)
{
     s3c_gpio_cfgpin(S3C64XX_GPF(15), S3C_GPIO_SFN(2));

     return 0;
}

static struct platform_pwm_backlight_data smartq_backlight_data = {
...
     .init        = smartq_bl_init,
...
};


which doesn't look like it's the way to go..

Do I need to set some kind of config option (mach-hmt doesn't seem to 
need the
above change) or .. ?

Regards,

Maurus Cuelenaere

             reply	other threads:[~2009-09-24 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-24 15:23 Maurus Cuelenaere [this message]
2009-09-28  7:43 ` S3C64xx backlight PWM misinited GPIO pin Peter Korsgaard
2009-09-28 17:31   ` Maurus Cuelenaere

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ABB8EEE.7070103@gmail.com \
    --to=mcuelenaere@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).