sorry for reply late.
First, thanks for your review.
the description is as below:
The SGPIO module can be programmed to support from zero (none) to
eight external output ports ,
each with eight output pins (for a total of 64 output pins). The
output ports must be serial-to-parallel devices (such as the HC595 or
a faster equivalent).
The SGPIO can be programmed to accept from zero to eight external
input ports (IXPp), each with eight input pins, supporting a total of
64 input pins. The input ports must be parallel-to-serial devices
(such as the HC165 or a faster equivalent).
you can add hc595 and hc165 ic to get the serial data from BMC and
send serial data to BMC.
This driver can expand extra gpio pins up to 64 input and 64 output.
i will use jim.t90615@xxxxxxxxx this mail to upstream this driver not
company mail.
The driver needs to fix the length of the variables, because the reg
size is one byte.
I will follow your suggestion to modify and upstream again. If you
have any questions please let me know.