Re: [PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-14 Thread Jean-Christophe PLAGNIOL-VILLARD
> >>+MODULE_DEVICE_TABLE(of, atmel_pwm_dt_ids); > >>+#endif > >>+ > >>+static int atmel_pwm_probe(struct platform_device *pdev) > >>+{ > >>+ const struct of_device_id *of_id = > >>+ of_match_device(atmel_pwm_dt_ids, &pdev->dev); > >>+ const struct atmel_pwm_data *data; > >>+ struct

Re: [PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-13 Thread Bo Shen
Hi J, On 11/13/2013 05:56 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:59 Fri 01 Nov , Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by

Re: [PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:59 Fri 01 Nov , Bo Shen wrote: > Add Atmel PWM controller driver based on PWM framework. > > This is the basic function implementation of Atmel PWM controller. > It can work with PWM based led and backlight. > > Signed-off-by: Bo Shen > > --- > Changes in v6: > - using relaxed versi

Re: [PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-13 Thread Alexandre Belloni
On 01/11/2013 15:59, Bo Shen wrote: > Add Atmel PWM controller driver based on PWM framework. > > This is the basic function implementation of Atmel PWM controller. > It can work with PWM based led and backlight. > > Signed-off-by: Bo Shen Acked-by: Alexandre Belloni > > --- > Changes in v6: >

[PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-01 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen --- Changes in v6: - using relaxed version for writel and readl - add none device tree support -