rcar_can.h 417 B

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