[PATCH linux 2/3] gpio/aspeed: Expose entire bank as one gpio chip
Joel Stanley
joel at jms.id.au
Wed Oct 28 12:13:52 AEDT 2015
Hi Norm,
On Tue, Oct 27, 2015 at 11:58 PM, Norman James <njames at us.ibm.com> wrote:
>
> Will the old gpio #'s still work with this?
You will need to update the numbers.
Jeremy, can you let Norm know how to calculate the numbers? Perhaps
some documentation in the docs repo as a cheatsheet?
> Can I export by gpio pin name? echo "A3" > /sys/class/gpio/export?
It appears the gpio subsystem does not allow for this; we need to
export by numbers. Once you have exported the device it shows up with
the GPIOX# name as used in the datasheet and schematic.
Have you been able to do this on other platforms?
Cheers,
Joel
More information about the openbmc
mailing list