diff options
author | Nikolaus Voss <nikolaus.voss@loewensteinmedical.de> | 2019-06-12 10:36:08 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2019-06-26 11:39:12 +0200 |
commit | 3f467ebe9e898c6ceec5334d92bccac2bd9bc7d2 (patch) | |
tree | e9526ac6466929555e0f767b2de0a5869e4d353b /drivers/pwm | |
parent | pwm: Add support referencing PWMs from ACPI (diff) | |
download | linux-3f467ebe9e898c6ceec5334d92bccac2bd9bc7d2.tar.xz linux-3f467ebe9e898c6ceec5334d92bccac2bd9bc7d2.zip |
leds: pwm: Support ACPI via firmware-node framework
DT specific handling is replaced by firmware-node abstration to support
ACPI specification of PWM LEDS.
Example ASL:
Device (PWML)
{
Name (_HID, "PRP0001")
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () { Package () {"compatible",
Package () {"pwm-leds"}}}})
Device (PWL0)
{
Name (_HID, "PRP0001")
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () {"label", "alarm-led"},
Package () {"pwms", Package ()
{\_SB_.PCI0.PWM, 0, 600000, 0}},
Package () {"linux,default-state", "off"}}})
}
}
Signed-off-by: Nikolaus Voss <nikolaus.voss@loewensteinmedical.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions