Skip to contentSkip to conversation

BayTrail I2C support

U-Boot Stefan Roese 3 participants 5 messages Mar 11, 2016 – Mar 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi Simon, Hi Bin,

could you please let me know, what the status of I2C support for BayTrail in U-Boot is? Is this driver generic enough to handle BayTrail / Minnowboard MAX as well (I haven't looked in depth yet)? Or what needs to be done to get BayTrail supported here?

Thanks,
Stefan

#1 lore raw

Hi Stefan,

Quoted 6 lines · Stefan Roese

Hi Simon, Hi Bin,

could you please let me know, what the status of I2C support for BayTrail in U-Boot is? Is this driver generic enough to handle BayTrail / Minnowboard MAX as well (I haven't looked in depth yet)? Or what needs to be done to get BayTrail supported here?

There is a dummy driver but it does not work. It needs to be filled out with an implementation using the datasheet or perhaps looking at coreboot smbus code.

Regards,
Simon

#2 lore raw

Hi Stefan,

Quoted 5 lines · Simon Glass

Hi Stefan,

Quoted 2 lines · Stefan Roese

Hi Simon, Hi Bin,

Quoted 9 lines
Quoted 4 lines

could you please let me know, what the status of I2C support for BayTrail in U-Boot is? Is this driver generic enough to handle BayTrail / Minnowboard MAX as well (I haven't looked in depth yet)? Or what needs to be done to get BayTrail supported here?

There is a dummy driver but it does not work. It needs to be filled out with an implementation using the datasheet or perhaps looking at coreboot smbus code.

I guess Stefan is not looking for legacy SMBUS support, instead the SIO I2C device on device 24 on BayTrail. It is currently not supported. The IP used on BayTrail is from Synopsis Designware, and this I2C IP is also seen on Intel Quark. It is possible we can reuse U-Boot Synopsis I2C driver on Intel platform, with adaptations to PCI.

Regards,
Bin

#3 lore raw

Hi Bin,

Quoted 11 lines · Bin Meng
Quoted 10 lines · Simon Glass

Hi Stefan,

Quoted 6 lines · Stefan Roese

Hi Simon, Hi Bin,

could you please let me know, what the status of I2C support for BayTrail in U-Boot is? Is this driver generic enough to handle BayTrail / Minnowboard MAX as well (I haven't looked in depth yet)? Or what needs to be done to get BayTrail supported here?

Quoted 7 lines
Quoted 4 lines

There is a dummy driver but it does not work. It needs to be filled out with an implementation using the datasheet or perhaps looking at coreboot smbus code.

I guess Stefan is not looking for legacy SMBUS support, instead the SIO I2C device on device 24 on BayTrail.

I need to communicate with some of I2C devices connected to some of the I2C busses (e.g. bus #1) on this platform.

Quoted 3 lines

It is currently not
supported. The IP used on BayTrail is from Synopsis Designware, and this I2C IP is also seen on Intel Quark.

Is it documented somewhere, that these BayTrail I2C controllers are Synopsis Designware based / compatible? Could you please point me to this datasheet?

Quoted 2 lines

It is possible we can reuse
U-Boot Synopsis I2C driver on Intel platform, with adaptations to PCI.

I can definitely look into this. Thanks for letting me know.

Thanks,
Stefan

#4 lore raw

Hi Stefan,

Quoted 30 lines · Stefan Roese

Hi Bin,

Quoted 15 lines · Bin Meng
Quoted 13 lines · Simon Glass

Hi Stefan,

Quoted 7 lines · Stefan Roese

Hi Simon, Hi Bin,

could you please let me know, what the status of I2C support for BayTrail in U-Boot is? Is this driver generic enough to handle BayTrail / Minnowboard MAX as well (I haven't looked in depth yet)? Or what needs to be done to get BayTrail supported here?

Quoted 7 lines
Quoted 4 lines

There is a dummy driver but it does not work. It needs to be filled out with an implementation using the datasheet or perhaps looking at coreboot smbus code.

I guess Stefan is not looking for legacy SMBUS support, instead the SIO I2C device on device 24 on BayTrail.

I need to communicate with some of I2C devices connected to some of the I2C busses (e.g. bus #1) on this platform.

Quoted 8 lines
Quoted 3 lines

It is currently not
supported. The IP used on BayTrail is from Synopsis Designware, and this I2C IP is also seen on Intel Quark.

Is it documented somewhere, that these BayTrail I2C controllers are Synopsis Designware based / compatible? Could you please point me to this datasheet?

I don't think it is documented somewhere that the IP comes from Synopsis Designware. I noticed this when I was working on Intel Quark support, that lots of IPs on Intel Quark are from Synopsis (eg: we have the Synopsis Designware ethernet driver working on Intel Quark).

Quoted 6 lines
Quoted 3 lines

It is possible we can reuse
U-Boot Synopsis I2C driver on Intel platform, with adaptations to PCI.

I can definitely look into this. Thanks for letting me know.

Regards,
Bin