common.h 480 B

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