common.h 519 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * This header provides macros for the common LEDs device tree bindings.
  4. *
  5. * Copyright (C) 2015, Samsung Electronics Co., Ltd.
  6. *
  7. * Author: Jacek Anaszewski <j.anaszewski@samsung.com>
  8. */
  9. #ifndef __DT_BINDINGS_LEDS_H
  10. #define __DT_BINDINGS_LEDS_H
  11. /* External trigger type */
  12. #define LEDS_TRIG_TYPE_EDGE 0
  13. #define LEDS_TRIG_TYPE_LEVEL 1
  14. /* Boost modes */
  15. #define LEDS_BOOST_OFF 0
  16. #define LEDS_BOOST_ADAPTIVE 1
  17. #define LEDS_BOOST_FIXED 2
  18. #endif /* __DT_BINDINGS_LEDS_H */