[U-Boot] [PATCH] omap3: i2c: correct register

Tom Rini trini at konsulko.com
Sat Apr 8 22:53:06 UTC 2017


On Sat, Apr 08, 2017 at 05:34:29PM -0500, Adam Ford wrote:

> 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 at gmail.com>
> 
> diff --git a/arch/arm/include/asm/arch-omap3/i2c.h b/arch/arm/include/asm/arch-omap3/i2c.h
> index b370290..6b3a3da 100644
> --- a/arch/arm/include/asm/arch-omap3/i2c.h
> +++ b/arch/arm/include/asm/arch-omap3/i2c.h
> @@ -17,7 +17,7 @@ struct i2c {
>  	unsigned short res2;
>  	unsigned short stat;	/* 0x08 */
>  	unsigned short res3;
> -	unsigned short iv;	/* 0x0C */
> +	unsigned short we;	/* 0x0C */
>  	unsigned short res4;
>  	unsigned short syss;	/* 0x10 */
>  	unsigned short res4a;
> @@ -43,6 +43,18 @@ struct i2c {
>  	unsigned short res14;
>  	unsigned short systest;	/* 0x3c */
>  	unsigned short res15;
> +	unsigned short bufstat;	/* 0x40 */
> +	unsigned short res16;
> +	unsigned short oa1;	/* 0x44 */
> +	unsigned short res17;
> +	unsigned short oa2;	/* 0x48 */
> +	unsigned short res18;
> +	unsigned short oa3;	/* 0x4c */
> +	unsigned short res19;
> +	unsigned short actoa;	/* 0x50 */
> +	unsigned short res20;
> +	unsigned short sblock;	/* 0x54 */
> +	unsigned short res21;
>  };

Are we making use of any of these new entries?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170408/84ac2d61/attachment.sig>


More information about the U-Boot mailing list