leds-s3c24xx.h 669 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2006 Simtec Electronics
  3. * http://armlinux.simtec.co.uk/
  4. * Ben Dooks <ben@simtec.co.uk>
  5. *
  6. * S3C24XX - LEDs GPIO connector
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __LEDS_S3C24XX_H
  13. #define __LEDS_S3C24XX_H
  14. #define S3C24XX_LEDF_ACTLOW (1<<0) /* LED is on when GPIO low */
  15. #define S3C24XX_LEDF_TRISTATE (1<<1) /* tristate to turn off */
  16. struct s3c24xx_led_platdata {
  17. unsigned int gpio;
  18. unsigned int flags;
  19. char *name;
  20. char *def_trigger;
  21. };
  22. #endif /* __LEDS_S3C24XX_H */