Commit 71e48c26a6ec386f330eae3f8c5e002e95d864b9
Committed by
Tom Rini
1 parent
6f008a2e16
Exists in
smarc_8mq_lf_v2020.04
and in
20 other branches
omap3: i2c: correct register
The register names and offset were not correct as per the TRM for OMAP3530 and OMAP3630. Correct the naing and offsets per the documentation Signed-off-by: Adam Ford <aford173@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Showing 1 changed file with 13 additions and 1 deletions Side-by-side Diff
arch/arm/include/asm/arch-omap3/i2c.h
| ... | ... | @@ -17,7 +17,7 @@ |
| 17 | 17 | unsigned short res2; |
| 18 | 18 | unsigned short stat; /* 0x08 */ |
| 19 | 19 | unsigned short res3; |
| 20 | - unsigned short iv; /* 0x0C */ | |
| 20 | + unsigned short we; /* 0x0C */ | |
| 21 | 21 | unsigned short res4; |
| 22 | 22 | unsigned short syss; /* 0x10 */ |
| 23 | 23 | unsigned short res4a; |
| ... | ... | @@ -43,6 +43,18 @@ |
| 43 | 43 | unsigned short res14; |
| 44 | 44 | unsigned short systest; /* 0x3c */ |
| 45 | 45 | unsigned short res15; |
| 46 | + unsigned short bufstat; /* 0x40 */ | |
| 47 | + unsigned short res16; | |
| 48 | + unsigned short oa1; /* 0x44 */ | |
| 49 | + unsigned short res17; | |
| 50 | + unsigned short oa2; /* 0x48 */ | |
| 51 | + unsigned short res18; | |
| 52 | + unsigned short oa3; /* 0x4c */ | |
| 53 | + unsigned short res19; | |
| 54 | + unsigned short actoa; /* 0x50 */ | |
| 55 | + unsigned short res20; | |
| 56 | + unsigned short sblock; /* 0x54 */ | |
| 57 | + unsigned short res21; | |
| 46 | 58 | }; |
| 47 | 59 | |
| 48 | 60 | #endif /* _OMAP3_I2C_H_ */ |