mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[ARM] 4487/1: ns9xxx: complete definition of GPIO related registers
I changed the naming to be more obvious---unfortunately the HRM doesn't specify these. Moreover the numbering is changed to be zero indexed as this is more natural. Adjust all callers. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
f4ae6413f4
commit
3945a567d0
2 changed files with 27 additions and 4 deletions
|
|
@ -91,7 +91,7 @@ void __init board_a9m9750dev_init_irq(void)
|
|||
* use GPIO 11, because GPIO 32 is used for the LCD
|
||||
*/
|
||||
/* XXX: proper GPIO handling */
|
||||
BBU_GC(2) &= ~0x2000;
|
||||
BBU_GCONFb1(1) &= ~0x2000;
|
||||
|
||||
for (i = FPGA_IRQ(0); i <= FPGA_IRQ(7); ++i) {
|
||||
set_irq_chip(i, &a9m9750dev_fpga_chip);
|
||||
|
|
@ -196,4 +196,3 @@ void __init board_a9m9750dev_init_machine(void)
|
|||
platform_add_devices(board_a9m9750dev_devices,
|
||||
ARRAY_SIZE(board_a9m9750dev_devices));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue