diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-07 01:00:50 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:53:52 -0800 |
commit | 5fab851ea15206cc375582ad0db79f7827325098 (patch) | |
tree | bc7e3dd1e15d147c1aa482df69f433ff37246641 /drivers/video/i810/i810_regs.h | |
parent | 8a0934f2969df4cdea81cf48fde4c8626b32325d (diff) | |
download | op-kernel-dev-5fab851ea15206cc375582ad0db79f7827325098.zip op-kernel-dev-5fab851ea15206cc375582ad0db79f7827325098.tar.gz |
[PATCH] i810fb: Cleanup I2C code
- The functions for reading the 1st and 2nd bus are essentially the same,
except for the register. Consolidate them all.
- According to Nicolas Boichat, there is an undocumented 3rd i2c bus for
attaching daughter cards. Add support for this.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/i810/i810_regs.h')
-rw-r--r-- | drivers/video/i810/i810_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/i810/i810_regs.h b/drivers/video/i810/i810_regs.h index 6e4b9af..91c6bd9 100644 --- a/drivers/video/i810/i810_regs.h +++ b/drivers/video/i810/i810_regs.h @@ -70,6 +70,7 @@ #define HVSYNC 0x05000 #define GPIOA 0x05010 #define GPIOB 0x05014 +#define GPIOC 0x0501C /* Clock Control and Power Management Registers (06000h 06FFFh) */ #define DCLK_0D 0x06000 |