forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
- Loading branch information
1 parent
b113a7f
commit c3987cd
Showing
5 changed files
with
916 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
obj-$(CONFIG_LEDS_BLINK_LGM) += leds-lgm-sso.o |
Oops, something went wrong.