gfx dp_aux: Add I2C_{Read,Write}_Byte procedures
These will be used to switch LSPCON modes in subsequent commits.
Change-Id: Ib66b073691282d0c89710b0591484d4123e039b7
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/51122
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-dp_aux_ch.ads b/common/hw-gfx-dp_aux_ch.ads
index 85fddd0..78709a8 100644
--- a/common/hw-gfx-dp_aux_ch.ads
+++ b/common/hw-gfx-dp_aux_ch.ads
@@ -45,6 +45,20 @@
----------------------------------------------------------------------------
+ procedure I2C_Write_Byte
+ (Port : in T;
+ Address : in I2C.Transfer_Address;
+ Offset : in Word8;
+ Value : in Word8;
+ Success : out Boolean);
+
+ procedure I2C_Read_Byte
+ (Port : in T;
+ Address : in I2C.Transfer_Address;
+ Offset : in Word8;
+ Value : out Word8;
+ Success : out Boolean);
+
procedure I2C_Read
(Port : in T;
Address : in I2C.Transfer_Address;