[PATCH v3 3/6] ARM: at91/gpio: add DT support

Nicolas Ferre nicolas.ferre at atmel.com
Fri Jan 6 04:50:48 EST 2012


On 01/05/2012 08:42 PM, Nicolas Ferre :
> From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
> Acked-by: Grant Likely <grant.likely at secretlab.ca>
> ---
> v3: - Corrections proposed by Russell King:
>       - use of clk_prepare()/clk_unprepare()
>       - helper function to setup the clock for both DT/non DT init functions

Forget this one: a bug has made its home in it...

> v2: - no BUG_ON() anymore in case of an "interrupts" property missing
>       just stop configuring the gpio bank
>     - review error path in both of_at91_gpio_init_one() and
>       at91_gpio_init_one()
>     - use for_each_compatible_node() iterator instead of a homemade loop

[..]
-- 
Nicolas Ferre


More information about the devicetree-discuss mailing list