common.h 480 B

123456789101112131415161718192021
  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 <[email protected]>
  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 */