All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnaud.patard@rtp-net.org (Arnaud Patard (Rtp))
To: linux-arm-kernel@lists.infradead.org
Subject: device-tree vs gpio-leds gpio_blink_set
Date: Mon, 23 Apr 2012 09:27:45 +0200	[thread overview]
Message-ID: <20120423072745.678323582@rtp-net.org> (raw)

Hi,

I'm not yet fully familiar with DT so I thought that adding support for 
device-tree on some kirkwood drivers would help, so I wrote a quick patch
to add device-tree support into kirkwood/orion/... GPIO (patch for rfc
in next mail). Unfortunately, I'm facing a problem that I don't know how
to solve.

The kirkwood/orion gpio have a bit that allows "gpio blinking" (I think
it a square signal but the manual doesn't say it clearly) and it's used
on dns323 and iconnect. When trying to use DT to declare the leds-gpio
stuff, I've noticed that there's no way clearly documented to set the
gpio_blink_set() hook. In fact, it even looks like it's not supported at
all, which seems to be a regression compared to non-DT support.
Does anyone know how to solve that ?

Thanks,
Arnaud

             reply	other threads:[~2012-04-23  7:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  7:27 Arnaud Patard (Rtp) [this message]
2012-04-23  7:27 ` [patch 1/1] orion/kirkwood/mv78xx0: add DT support to GPIO Arnaud Patard (Rtp)
2012-04-23 11:22 ` device-tree vs gpio-leds gpio_blink_set Arnd Bergmann
2012-04-23 17:49   ` Mark Brown
2012-04-24 12:24     ` Linus Walleij
2012-04-24 12:36       ` Mark Brown
2012-04-24 13:04         ` Thierry Reding
2012-04-24 12:39       ` jonsmirl at gmail.com
2012-04-24 12:41         ` jonsmirl at gmail.com
     [not found] <20120423115140.GA15792@lunn.ch>
2012-04-23 12:01 ` Arnaud Patard (Rtp)

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=20120423072745.678323582@rtp-net.org \
    --to=arnaud.patard@rtp-net.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.