diff options
| author | Maarten Zanders <[email protected]> | 2023-04-21 09:53:04 +0200 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-05-25 12:16:03 +0100 |
| commit | 91e47d4083dd935f547ea55d0dffeeba4b210b4b (patch) | |
| tree | 7bee22835fc603c055a8f35d7a12b837f1650cdc /include | |
| parent | d1b9e1391ab2dc80e9db87fe8b2de015c651e4c9 (diff) | |
dt-bindings: leds-lp55xx: Add ti,charge-pump-mode
Add a binding to configure the internal charge pump for lp55xx.
Signed-off-by: Maarten Zanders <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include')
| -rw-r--r-- | include/dt-bindings/leds/leds-lp55xx.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dt-bindings/leds/leds-lp55xx.h b/include/dt-bindings/leds/leds-lp55xx.h new file mode 100644 index 000000000000..a4fb4567715d --- /dev/null +++ b/include/dt-bindings/leds/leds-lp55xx.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +#ifndef _DT_BINDINGS_LEDS_LP55XX_H +#define _DT_BINDINGS_LEDS_LP55XX_H + +#define LP55XX_CP_OFF 0 +#define LP55XX_CP_BYPASS 1 +#define LP55XX_CP_BOOST 2 +#define LP55XX_CP_AUTO 3 + +#endif /* _DT_BINDINGS_LEDS_LP55XX_H */ |