1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CAN_PLATFORM_RCAR_CAN_H_
3 #define _CAN_PLATFORM_RCAR_CAN_H_
5 #include <linux/types.h>
7 /* Clock Select Register settings */
9 CLKR_CLKP1
= 0, /* Peripheral clock (clkp1) */
10 CLKR_CLKP2
= 1, /* Peripheral clock (clkp2) */
11 CLKR_CLKEXT
= 3 /* Externally input clock */
14 struct rcar_can_platform_data
{
15 enum CLKR clock_select
; /* Clock source select */
18 #endif /* !_CAN_PLATFORM_RCAR_CAN_H_ */