-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Meerwald
authored and
Bryan Wu
committed
Sep 24, 2012
1 parent
6569186
commit 752dddb
Showing
3 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e76a322af16ba7be9b303239352e140209bf3822 | ||
refs/heads/master: 2f73c3927318abe3d7fcaecadfbad89e2d12f881 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* PCA9633 LED chip driver. | ||
* | ||
* Copyright 2012 bct electronic GmbH | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* version 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA | ||
*/ | ||
|
||
#ifndef __LINUX_PCA9633_H | ||
#define __LINUX_PCA9633_H | ||
#include <linux/leds.h> | ||
|
||
enum pca9633_outdrv { | ||
PCA9633_OPEN_DRAIN, | ||
PCA9633_TOTEM_POLE, /* aka push-pull */ | ||
}; | ||
|
||
struct pca9633_platform_data { | ||
struct led_platform_data leds; | ||
enum pca9633_outdrv outdrv; | ||
}; | ||
|
||
#endif /* __LINUX_PCA9633_H*/ |