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