From 11d47db77ef4d118c75e9e23ad8c4ca9663d0fff Mon Sep 17 00:00:00 2001 From: Doug Gilbert Date: Fri, 16 May 2014 15:16:15 -0500 Subject: Merge GPIO commits from Stradale code base Change-Id: Ibadeb72f563d86aa933734c7db20a50b19485ac7 RTC: 97490 Origin: Google Shared Technology Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11501 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- .../common/xmltohb/attribute_types_hb.xml | 43 +++++++++++++++++++++- .../targeting/common/xmltohb/target_types_hb.xml | 8 +++- 2 files changed, 49 insertions(+), 2 deletions(-) (limited to 'src/usr/targeting/common/xmltohb') diff --git a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml index c31dc09be..75fc294df 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types_hb.xml @@ -5,7 +5,10 @@ - + + + + @@ -260,4 +263,42 @@ + + GPIO_INFO + Information needed to address GPIO device + + Structure to define the addessing for an I2C + slave device. + + i2cMasterPath + Entity path to the chip that contains the I2C + master + EntityPath + physical:sys-0/node-0/membuf-0 + + + port + Port from the I2C Master device. This is a 6-bit + value. + uint8_t + 1 + + + devAddr + Device address on the I2C bus. This is a 7-bit value, + but then shifted 1 bit left. + uint8_t + 0x40 + + + engine + I2C master engine. This is a 2-bit + value. + uint8_t + 0 + + + non-volatile + + diff --git a/src/usr/targeting/common/xmltohb/target_types_hb.xml b/src/usr/targeting/common/xmltohb/target_types_hb.xml index b1840d742..14c1e450f 100644 --- a/src/usr/targeting/common/xmltohb/target_types_hb.xml +++ b/src/usr/targeting/common/xmltohb/target_types_hb.xml @@ -5,7 +5,10 @@ - + + + + @@ -102,6 +105,9 @@ I2C_ENGINE_MUTEX_1 0 + + GPIO_INFO + -- cgit v1.2.1