pwm: atmel-hlcdc: add at91sam9x5 and sama5d3 errata handling
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 19 Nov 2014 14:33:09 +0000 (15:33 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 4 Dec 2014 10:32:36 +0000 (11:32 +0100)
commit39e046f2c1dd0742976d7ee6e464744cf2122f41
treecd2e044d7b76473eace7179f4b30d00890339776
parent97d0b42e39a73c7e0683927ee4b3775c7411b7bf
pwm: atmel-hlcdc: add at91sam9x5 and sama5d3 errata handling

at91sam9x5 has an errata forbidding the use of slow clk as a clk source and
sama5d3 SoCs has another errata forbidding the use of div1 prescaler.

Take both of these erratas into account.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-atmel-hlcdc.c