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