Closed GHF closed 7 years ago
The production plan for OpenBMC and pdbg is to move the GPIO bmcfsi backend into the OpenBMC kernel. pdbg would then use the kernel drivers to do the actual FSI protocol and they would read the GPIO assignments from the device-tree so that the userspace side doesn't need to know anything about GPIO pins.
Is there an 'alias' we can add to GPIOs in the device tree to make it easier on userspace?
On Thu, 2016-12-08 at 04:00 -0800, Patrick Williams wrote:
Is there an 'alias' we can add to GPIOs in the device tree to make it easier on userspace?
Good idea. Can you create devalias entries ? Something like fsi- master0-clk, fsi-master0-data ?
Cheers, Ben.
Now that OpenFSI is in the kernel I'm assuming this is no longer an issue. Please re-open if there is still an issue here.
The BMC soft FSI needs to handle different GPIO assignments across different boards. This can be accomplished in a few different ways:
3 is probably not desirable since it's a decent bit of code to make it work and both this soft FSI implementation and Python skeleton are meant to have short volatile lives.