Thread (7 messages) 7 messages, 3 authors, 2012-01-07
STALE5263d

[PATCH] at91: fix at91rm9200 soc subtype handling

From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2012-01-07 11:20:23

On 10:23 Tue 03 Jan     , Nicolas Ferre wrote:
On 01/02/2012 03:21 PM, Nicolas Ferre :
quoted
On 12/28/2011 12:10 PM, Veli-Pekka Peltola :
quoted
BGA should be the default SoC subtype but it is set to unknown if
not explicitly set to PQFP. Currently setting it to PQFP sets subtype
to BGA as subtypes are swapped in at91rm9200_set_type().

Wrong subtype causes GPIO bank D not to work at all.

After this fix BGA subtype is set as default. On boot BGA is printed
always but it is set to PQFP if requested before setting amount of GPIO
banks.

Signed-off-by: Veli-Pekka Peltola <redacted>
Signed-off-by: Nicolas Ferre <redacted>

I will queue it in a "fixes" branch (hopefully for 3.3).
I come back to this:
1/ There is definitively a bug in at91rm9200_set_type()
2/ I do not know if it is a good idea to set BGA subtype by default. I
would simply keep the "unknown" subtype printed out until the real
subtype is set by the "*_init_early()" of the board code.

So, I may modify your original patch and submit it for discussion...
Jean-Christophe, I would like to have your opinion on this.
agreed

Best Regards,
J.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help