Palmetto GPIO pin configuration for Voltage Translator Control

Christopher Bostic christopher.lee.bostic at gmail.com
Tue Nov 29 07:56:40 AEDT 2016


I'm attempting to identify the present owner of the 'Voltage
Translator Control' pin (H6).  This should be owned by the OpenFSI
device driver but the GPIO Linux driver indicates this pin is in use
when OpenFSI attempts to grab it.   Talking with Brad Bishop it
appears that H6 is not defined in
openbmc/skeleton/blob/master/configs/Palmetto.py .   The OpenFSI
driver can successfully grab the other pins it needs which are defined
in this file:  FSI_DATA, FSI_ENABLE, FSI_CLK, CRONUS_SEL.

File excerpt:

GPIO_CONFIG = {} GPIO_CONFIG['FSI_CLK'] = { 'gpio_pin': 'A4',
'direction': 'out' } GPIO_CONFIG['FSI_DATA'] = { 'gpio_pin': 'A5',
'direction': 'out' } GPIO_CONFIG['FSI_ENABLE'] = { 'gpio_pin': 'D0',
'direction': 'out' } GPIO_CONFIG['POWER_PIN'] = { 'gpio_pin': 'E1',
'direction': 'out' } GPIO_CONFIG['CRONUS_SEL'] = { 'gpio_pin': 'A6',
'direction': 'out' }
.
.
.

Can an entry for the voltage translator control pin be added to this
or is there a reason it is not defined in Palmetto.py?   Additionally,
any other code using this pin should be updated to not touch it.

Note that this is not directly related to the GPIO hog updates that
are in process of being added to the palmetto device tree.  This issue
exists without that change.

Any input would be appreciated.

Thanks,
Chris


More information about the openbmc mailing list