aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authoreric miao <[email protected]>2008-02-04 17:15:50 +0800
committerRussell King <[email protected]>2008-04-19 11:29:05 +0100
commitfef06d274feb9b0e5a2d20c29b2979634514243f (patch)
treeb85fa0ac5f5f2d4d99da51e74c7a650a6ca07db7 /include/linux
parent3d3934c357103504d0f0a5e9ab808bb57e356f6a (diff)
[ARM] pxa: use new pin configuration mechanism for mainstone
1. the following code to configure PGSRx is no way portable and intuitive: - PGSR0 = 0x00008800; - PGSR1 = 0x00000002; - PGSR2 = 0x0001FC00; - PGSR3 = 0x00001F81; this is removed as low power state has already been encoded in the pin configuration definitions. Note: there is no specific reason for some of the GPIOs to drive high in low power mode as indicated by the above setting, those bits are ignored, and the result is validated to work. 2. the following code to configure GPIO wakeup is removed as this is now totally handled by pxa2xx_mfp_config(): - PWER = 0xC0000002; - PRER = 0x00000002; - PFER = 0x00000002; Signed-off-by: eric miao <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions