powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for phdr
[linux-2.6-block.git] / include / linux / platform_data / leds-pca963x.h
CommitLineData
2f73c392 1/*
56a1740c 2 * PCA963X LED chip driver.
2f73c392
PM
3 *
4 * Copyright 2012 bct electronic GmbH
56a1740c 5 * Copyright 2013 Qtechnology A/S
2f73c392
PM
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * version 2 as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19 * 02110-1301 USA
20 */
21
56a1740c
RRD
22#ifndef __LINUX_PCA963X_H
23#define __LINUX_PCA963X_H
2f73c392
PM
24#include <linux/leds.h>
25
56a1740c
RRD
26enum pca963x_outdrv {
27 PCA963X_OPEN_DRAIN,
28 PCA963X_TOTEM_POLE, /* aka push-pull */
2f73c392
PM
29};
30
56a1740c
RRD
31enum pca963x_blink_type {
32 PCA963X_SW_BLINK,
33 PCA963X_HW_BLINK,
8465b018
MG
34};
35
bb29b9cc
AD
36enum pca963x_direction {
37 PCA963X_NORMAL,
38 PCA963X_INVERTED,
39};
40
56a1740c 41struct pca963x_platform_data {
2f73c392 42 struct led_platform_data leds;
56a1740c
RRD
43 enum pca963x_outdrv outdrv;
44 enum pca963x_blink_type blink_type;
bb29b9cc 45 enum pca963x_direction dir;
2f73c392
PM
46};
47
56a1740c 48#endif /* __LINUX_PCA963X_H*/