xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / platform_data / leds-pca963x.h
blob54e845ffb5edebf269a58a3224a3bdc41f13e5cb
1 /*
2 * PCA963X LED chip driver.
4 * Copyright 2012 bct electronic GmbH
5 * Copyright 2013 Qtechnology A/S
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.
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.
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
22 #ifndef __LINUX_PCA963X_H
23 #define __LINUX_PCA963X_H
24 #include <linux/leds.h>
26 enum pca963x_outdrv {
27 PCA963X_OPEN_DRAIN,
28 PCA963X_TOTEM_POLE, /* aka push-pull */
31 enum pca963x_blink_type {
32 PCA963X_SW_BLINK,
33 PCA963X_HW_BLINK,
36 enum pca963x_direction {
37 PCA963X_NORMAL,
38 PCA963X_INVERTED,
41 struct pca963x_platform_data {
42 struct led_platform_data leds;
43 enum pca963x_outdrv outdrv;
44 enum pca963x_blink_type blink_type;
45 enum pca963x_direction dir;
48 #endif /* __LINUX_PCA963X_H*/