summaryrefslogtreecommitdiff
path: root/include/linux/can/platform/rcar_can.h
blob: a43dcd0cf79ee3ec47a0fa8d2f146a06a02d2c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0 */
#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_ */