mirror of https://lore.kernel.org/linux-amlogic/
 help / color / mirror / Atom feed
From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/1] ARM64: defconfig: add support for PWM LEDs
Date: Sun, 19 Feb 2017 23:23:24 +0100	[thread overview]
Message-ID: <20170219222325.7085-1-martin.blumenstingl@googlemail.com> (raw)

Some ARM64 boards (such as the Khadas VIM and many other Amlogic based
devices) have one of the LEDs connected through a PWM controller. This
allows dimming the LED.

The ARM64 defconfig does not support the leds-pwm driver yet. Enabling
that also means that we have to enable the default-on LED trigger.
leds-gpio has a (trigger specific) "default-state" property which can
be used to set the default state, while with leds-pwm this has to be
configured using the default-on trigger.

Martin Blumenstingl (1):
  ARM64: defconfig: enable the leds-pwm driver and default-on trigger

 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.11.1

             reply	other threads:[~2017-02-19 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-19 22:23 Martin Blumenstingl [this message]
2017-02-19 22:23 ` [PATCH 1/1] ARM64: defconfig: enable the leds-pwm driver and default-on trigger Martin Blumenstingl
2017-03-03 18:43   ` Kevin Hilman

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=20170219222325.7085-1-martin.blumenstingl@googlemail.com \
    --to=martin.blumenstingl@googlemail.com \
    --cc=linus-amlogic@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

all inboxes | Powered by JetHome®