2024-09-09 08:57:42 +00:00
|
|
|
#ifndef _CAN_PLATFORM_MCP251X_H
|
|
|
|
#define _CAN_PLATFORM_MCP251X_H
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
* CAN bus driver for Microchip 251x CAN Controller with SPI Interface
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/spi/spi.h>
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
/*
|
2024-09-09 08:52:07 +00:00
|
|
|
* struct mcp251x_platform_data - MCP251X SPI CAN controller platform data
|
|
|
|
* @oscillator_frequency: - oscillator frequency in Hz
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct mcp251x_platform_data {
|
|
|
|
unsigned long oscillator_frequency;
|
|
|
|
};
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
#endif /* !_CAN_PLATFORM_MCP251X_H */
|