kernel: adm6996: add support for ADM6996L and GPIO interface
[openwrt.git] / target / linux / generic / files / include / linux / platform_data / adm6996-gpio.h
1 /*
2  * ADM6996 GPIO platform data
3  *
4  * Copyright (C) 2013 Hauke Mehrtens <hauke@hauke-m.de>
5  *
6  * This program is free software; you can redistribute  it and/or modify it
7  * under  the terms of the GNU General Public License v2 as published by the
8  * Free Software Foundation
9  */
10
11 #ifndef __PLATFORM_ADM6996_GPIO_H
12 #define __PLATFORM_ADM6996_GPIO_H
13
14 #include <linux/kernel.h>
15
16 enum adm6996_model {
17         ADM6996FC = 1,
18         ADM6996M = 2,
19         ADM6996L = 3,
20 };
21
22 struct adm6996_gpio_platform_data {
23         u8 eecs;
24         u8 eesk;
25         u8 eedi;
26         u8 eerc;
27         enum adm6996_model model;
28 };
29
30 #endif