summaryrefslogtreecommitdiffstats
path: root/src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml
blob: 2f8356261c916524ea78ae2e6a083f00eb28ffd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/import/hwpf/fapi2/xml/attribute_info/i2cslave_attributes.xml $ -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- Contributors Listed Below - COPYRIGHT 2020                             -->
<!-- [+] International Business Machines Corp.                              -->
<!--                                                                        -->
<!--                                                                        -->
<!-- Licensed under the Apache License, Version 2.0 (the "License");        -->
<!-- you may not use this file except in compliance with the License.       -->
<!-- You may obtain a copy of the License at                                -->
<!--                                                                        -->
<!--     http://www.apache.org/licenses/LICENSE-2.0                         -->
<!--                                                                        -->
<!-- Unless required by applicable law or agreed to in writing, software    -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
<!-- implied. See the License for the specific language governing           -->
<!-- permissions and limitations under the License.                         -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->
<attributes>
  <!-- ******************************************************************************** -->
  <attribute>
    <id>ATTR_I2C_DEV_TYPE</id>
    <targetType>TARGET_TYPE_GENERICI2CSLAVE</targetType>
    <description>
      Device type of I2C slave device
    </description>
    <enum>
      ADS7138_ADC,
      PCA9554A_GPIO_EXPANDER
    </enum>
    <valueType>uint8</valueType>
    <platInit/>
    <default>0xFF</default><!-- Ensures platform explicitly puts a valid number in here -->
  </attribute>
  <!-- ******************************************************************************** -->
  <attribute>
    <id>ATTR_I2C_SUB_POS</id>
    <targetType>TARGET_TYPE_GENERICI2CSLAVE</targetType>
    <description>
      Represents the ordinal position of this target compared to other peer
      GENERICI2CSLAVE targets with the same ATTR_I2C_DEV_TYPE
    </description>
    <valueType>uint8</valueType>
    <platInit/>
    <default>0xFF</default><!-- Ensures platform explicitly puts a valid number in here -->
  </attribute>
  <!-- ******************************************************************************** -->
</attributes>
OpenPOWER on IntegriCloud