linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] ARM64: defconfig: add support for PWM LEDs
@ 2017-02-19 22:23 Martin Blumenstingl
  2017-02-19 22:23 ` [PATCH 1/1] ARM64: defconfig: enable the leds-pwm driver and default-on trigger Martin Blumenstingl
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Blumenstingl @ 2017-02-19 22:23 UTC (permalink / raw)
  To: linus-amlogic

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-03-03 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-19 22:23 [PATCH 0/1] ARM64: defconfig: add support for PWM LEDs Martin Blumenstingl
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

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).