diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-07-29 10:20:10 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-07-22 18:06:25 +0200 |
commit | e955cead031177b083fbf18d04a03c06e330a439 (patch) | |
tree | f0507320407f63913a806eabe7230760e6b661ab /include/linux/can/platform | |
parent | 4cfa580e7eebb8694b875d2caff3b989ada2efac (diff) | |
download | linux-stable-e955cead031177b083fbf18d04a03c06e330a439.tar.gz linux-stable-e955cead031177b083fbf18d04a03c06e330a439.tar.bz2 linux-stable-e955cead031177b083fbf18d04a03c06e330a439.zip |
CAN: Add Flexcan CAN controller driver
This core is found on some Freescale SoCs and also some Coldfire
SoCs. Support for Coldfire is missing though at the moment as
they have an older revision of the core which does not have RX FIFO
support.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can/platform')
-rw-r--r-- | include/linux/can/platform/flexcan.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/can/platform/flexcan.h b/include/linux/can/platform/flexcan.h new file mode 100644 index 000000000000..72b713ab57e9 --- /dev/null +++ b/include/linux/can/platform/flexcan.h @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2010 Marc Kleine-Budde <kernel@pengutronix.de> + * + * This file is released under the GPLv2 + * + */ + +#ifndef __CAN_PLATFORM_FLEXCAN_H +#define __CAN_PLATFORM_FLEXCAN_H + +/** + * struct flexcan_platform_data - flex CAN controller platform data + * @transceiver_enable: - called to power on/off the transceiver + * + */ +struct flexcan_platform_data { + void (*transceiver_switch)(int enable); +}; + +#endif /* __CAN_PLATFORM_FLEXCAN_H */ |