diff options
| author | Simon Glass <[email protected]> | 2017-04-10 11:34:56 -0600 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2017-04-14 19:38:57 -0600 |
| commit | 9413ad4f0def2e06a5042106a6e1650a1aa03a5a (patch) | |
| tree | c5c98725d3892bdda04e907ec2500502f16435b2 /include | |
| parent | 8f4b612333ee0381eedf767c1c005a830886df27 (diff) | |
dm: led: Support toggling LEDs
Add support for toggling an LED into the uclass interface. This can be
efficiently implemented by the driver.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Ziping Chen <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/led.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/led.h b/include/led.h index bbab4d14c98..8c107e28e78 100644 --- a/include/led.h +++ b/include/led.h @@ -20,6 +20,7 @@ struct led_uc_plat { enum led_state_t { LEDST_OFF = 0, LEDST_ON = 1, + LEDST_TOGGLE, LEDST_COUNT, }; |
