Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69479
b: refs/heads/master
c: 700dc2b
h: refs/heads/master
i:
  69477: 163feb2
  69475: 3819534
  69471: 6bd851b
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Oct 12, 2007
1 parent f9bd4e8 commit f8401ed
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c729af9f05c7aae06ce89a27f91e24b1482544d
refs/heads/master: 700dc2b5374cf142da8a2837d162a7b26a2946fc
10 changes: 8 additions & 2 deletions trunk/include/asm-arm/arch-s3c2410/regs-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -1140,10 +1140,16 @@

/* definitions for each pin bit */
#define S3C2412_SLPCON_LOW(x) ( 0x00 << ((x) * 2))
#define S3C2412_SLPCON_HI(x) ( 0x01 << ((x) * 2))
#define S3C2412_SLPCON_HIGH(x) ( 0x01 << ((x) * 2))
#define S3C2412_SLPCON_IN(x) ( 0x02 << ((x) * 2))
#define S3C2412_SLPCON_PDWN(x) ( 0x03 << ((x) * 2))
#define S3C2412_SLPCON_PULL(x) ( 0x03 << ((x) * 2))
#define S3C2412_SLPCON_EINT(x) ( 0x02 << ((x) * 2)) /* only IRQ pins */
#define S3C2412_SLPCON_MASK(x) ( 0x03 << ((x) * 2))

#define S3C2412_SLPCON_ALL_LOW (0x0)
#define S3C2412_SLPCON_ALL_HIGH (0x11111111 | 0x44444444)
#define S3C2412_SLPCON_ALL_IN (0x22222222 | 0x88888888)
#define S3C2412_SLPCON_ALL_PULL (0x33333333)

#endif /* __ASM_ARCH_REGS_GPIO_H */

0 comments on commit f8401ed

Please sign in to comment.