> +/* spacemit i2c registers */ > +#define ICR 0x0 /* Control Register */ > +#define ISR 0x4 /* Status Register */ > +#define ISAR 0x8 /* Slave Address Register */ > +#define IDBR 0xc /* Data Buffer Register */ > +#define ILCR 0x10 /* Load Count Register */ > +#define IWCR 0x14 /* Wait Count Register */ > +#define IRST_CYC 0x18 /* Bus reset cycle counter */ > +#define IBMR 0x1c /* Bus monitor register */ These registers look a lot like the ones for i2c-pxa. Can the pxa driver maybe be re-used for your I2C core?
Attachment:
signature.asc
Description: PGP signature