diff options
| author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2014-05-16 16:03:54 -0400 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2014-05-19 03:38:23 -0400 |
| commit | fd1159318e55e901cf269de90163b19fd62938cb (patch) | |
| tree | b4135b3757011dc93efa5d2ccaf24efd78eee89f /include/linux/can | |
| parent | a9c692099e2c6f85d2213be75095593311074ce1 (diff) | |
can: add Renesas R-Car CAN driver
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>
Diffstat (limited to 'include/linux/can')
| -rw-r--r-- | include/linux/can/platform/rcar_can.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/can/platform/rcar_can.h b/include/linux/can/platform/rcar_can.h new file mode 100644 index 000000000000..0f4a2f3df504 --- /dev/null +++ b/include/linux/can/platform/rcar_can.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef _CAN_PLATFORM_RCAR_CAN_H_ | ||
| 2 | #define _CAN_PLATFORM_RCAR_CAN_H_ | ||
| 3 | |||
| 4 | #include <linux/types.h> | ||
| 5 | |||
| 6 | /* Clock Select Register settings */ | ||
| 7 | enum CLKR { | ||
| 8 | CLKR_CLKP1 = 0, /* Peripheral clock (clkp1) */ | ||
| 9 | CLKR_CLKP2 = 1, /* Peripheral clock (clkp2) */ | ||
| 10 | CLKR_CLKEXT = 3 /* Externally input clock */ | ||
| 11 | }; | ||
| 12 | |||
| 13 | struct rcar_can_platform_data { | ||
| 14 | enum CLKR clock_select; /* Clock source select */ | ||
| 15 | }; | ||
| 16 | |||
| 17 | #endif /* !_CAN_PLATFORM_RCAR_CAN_H_ */ | ||
