blob: 1e531dbd1164844605cacdfb49bc4ba74cc98e67 [file] [log] [blame]
Bar Weinerf82c5872012-10-23 14:31:26 +02001#ifndef _CI_BRIDGE_SPI_H_
2#define _CI_BRIDGE_SPI_H_
3
4#include <linux/ioctl.h>
5
6#define CI_BRIDGE_IOCTL_MAGIC 'c'
7#define CI_BRIDGE_IOCTL_RESET _IOW(CI_BRIDGE_IOCTL_MAGIC, 0, unsigned)
8#define CI_BRIDGE_IOCTL_GET_INT_STATE _IOR(CI_BRIDGE_IOCTL_MAGIC, 1, unsigned)
9
10#ifdef __KERNEL__
11struct ci_bridge_platform_data {
12 unsigned int reset_pin;
13 unsigned int interrupt_pin;
14};
15#endif /* __KERNEL__ */
16
17#endif