fd1159318e
Add support for the CAN controller found in Renesas R-Car SoCs. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
17 lines
417 B
C
17 lines
417 B
C
#ifndef _CAN_PLATFORM_RCAR_CAN_H_
|
|
#define _CAN_PLATFORM_RCAR_CAN_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
/* Clock Select Register settings */
|
|
enum CLKR {
|
|
CLKR_CLKP1 = 0, /* Peripheral clock (clkp1) */
|
|
CLKR_CLKP2 = 1, /* Peripheral clock (clkp2) */
|
|
CLKR_CLKEXT = 3 /* Externally input clock */
|
|
};
|
|
|
|
struct rcar_can_platform_data {
|
|
enum CLKR clock_select; /* Clock source select */
|
|
};
|
|
|
|
#endif /* !_CAN_PLATFORM_RCAR_CAN_H_ */
|