mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
leds: lgm: Add LED controller driver for LGM SoC
Parallel to serial conversion, which is also called SSO controller, can drive external shift register for LED outputs, reset or general purpose outputs. This driver enables LED support for Serial Shift Output Controller (SSO). Signed-off-by: Amireddy Mallikarjuna reddy <mallikarjunax.reddy@linux.intel.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
This commit is contained in:
committed by
Pavel Machek
parent
b113a7f198
commit
c3987cd2bc
@@ -931,4 +931,7 @@ config LEDS_ACER_A500
|
||||
comment "LED Triggers"
|
||||
source "drivers/leds/trigger/Kconfig"
|
||||
|
||||
comment "LED Blink"
|
||||
source "drivers/leds/blink/Kconfig"
|
||||
|
||||
endif # NEW_LEDS
|
||||
|
||||
@@ -105,3 +105,6 @@ obj-$(CONFIG_LEDS_USER) += uleds.o
|
||||
|
||||
# LED Triggers
|
||||
obj-$(CONFIG_LEDS_TRIGGERS) += trigger/
|
||||
|
||||
# LED Blink
|
||||
obj-$(CONFIG_LEDS_BLINK) += blink/
|
||||
|
||||
20
drivers/leds/blink/Kconfig
Normal file
20
drivers/leds/blink/Kconfig
Normal file
@@ -0,0 +1,20 @@
|
||||
menuconfig LEDS_BLINK
|
||||
bool "LED Blink support"
|
||||
depends on LEDS_CLASS
|
||||
help
|
||||
This option enables blink support for the leds class.
|
||||
If unsure, say Y.
|
||||
|
||||
if LEDS_BLINK
|
||||
|
||||
config LEDS_BLINK_LGM
|
||||
tristate "LED support for Intel LGM SoC series"
|
||||
depends on LEDS_CLASS
|
||||
depends on MFD_SYSCON
|
||||
depends on OF
|
||||
help
|
||||
Parallel to serial conversion, which is also called SSO controller,
|
||||
can drive external shift register for LED outputs.
|
||||
This enables LED support for Serial Shift Output controller(SSO).
|
||||
|
||||
endif # LEDS_BLINK
|
||||
2
drivers/leds/blink/Makefile
Normal file
2
drivers/leds/blink/Makefile
Normal file
@@ -0,0 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-$(CONFIG_LEDS_BLINK_LGM) += leds-lgm-sso.o
|
||||
888
drivers/leds/blink/leds-lgm-sso.c
Normal file
888
drivers/leds/blink/leds-lgm-sso.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user