root/include/linux/platform_data/leds-s3c24xx.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * Copyright (c) 2006 Simtec Electronics
   4  *      http://armlinux.simtec.co.uk/
   5  *      Ben Dooks <ben@simtec.co.uk>
   6  *
   7  * S3C24XX - LEDs GPIO connector
   8 */
   9 
  10 #ifndef __LEDS_S3C24XX_H
  11 #define __LEDS_S3C24XX_H
  12 
  13 #define S3C24XX_LEDF_ACTLOW     (1<<0)          /* LED is on when GPIO low */
  14 #define S3C24XX_LEDF_TRISTATE   (1<<1)          /* tristate to turn off */
  15 
  16 struct s3c24xx_led_platdata {
  17         unsigned int             gpio;
  18         unsigned int             flags;
  19 
  20         char                    *name;
  21         char                    *def_trigger;
  22 };
  23 
  24 #endif /* __LEDS_S3C24XX_H */

/* [<][>][^][v][top][bottom][index][help] */