Hi Benjamin,

Yeah the GMBUS I2C controller gets very temperamental if there is a protocol 
error. I think you have to go a full reset of the controller to get it back 
into a working state. I haven’t figured that out completely in my POC code yet 
so that is one of the things I suspect you will run into early on 😊.

I took a quick look at your proposal, looks good!

Best Regards,
Nate

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Benjamin Doron
Sent: Friday, April 8, 2022 11:33 AM
To: Desimone, Nathaniel L <nathaniel.l.desim...@intel.com>; devel@edk2.groups.io
Subject: Re: [edk2-devel] GSoC 2022: Add S3 resume support to MinPlatform

Hi Nate,
Thanks! I've looked at the basics of I2C, but I've seen from the iGFX PRM that 
GMBUS implements some registers and error handling the NAKs differently, but I 
guess that I'll be dealing with that later.

Yeah, I was thinking that if we wanted debug up as soon as possible, then the 
iGFX BAR and P2SB GPIOs would have to be programmed, so that sounds about 
right. Synchronising with the FSP's config is probably important too, but I 
suppose you implemented that/we'll see?

For now, I have a proposal at 
https://docs.google.com/document/d/1CyyerMfPwvZxkBjfE_-H1OlkZPxH98uqpmb9tBAV_ps.

Best regards,
Benjamin



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#88892): https://edk2.groups.io/g/devel/message/88892
Mute This Topic: https://groups.io/mt/89962508/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to