diff options
Diffstat (limited to 'include/linux/atmel_tc.h')
| -rw-r--r-- | include/linux/atmel_tc.h | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/atmel_tc.h b/include/linux/atmel_tc.h index 53ba65e30ca..89a931babec 100644 --- a/include/linux/atmel_tc.h +++ b/include/linux/atmel_tc.h @@ -34,10 +34,19 @@  struct clk;  /** + * struct atmel_tcb_config - SoC data for a Timer/Counter Block + * @counter_width: size in bits of a timer counter register + */ +struct atmel_tcb_config { +	size_t	counter_width; +}; + +/**   * struct atmel_tc - information about a Timer/Counter Block   * @pdev: physical device   * @iomem: resource associated with the I/O register   * @regs: mapping through which the I/O registers can be accessed + * @tcb_config: configuration data from SoC   * @irq: irq for each of the three channels   * @clk: internal clock source for each of the three channels   * @node: list node, for tclib internal use @@ -54,6 +63,7 @@ struct atmel_tc {  	struct platform_device	*pdev;  	struct resource		*iomem;  	void __iomem		*regs; +	const struct atmel_tcb_config *tcb_config;  	int			irq[3];  	struct clk		*clk[3];  	struct list_head	node;  | 
