Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mfd: Add support for UP board CPLD/FPGA
The UP Squared board <http://www.upboard.com> implements certain features (pin control, onboard LEDs or CEC) through an on-board CPLD/FPGA. This mfd driver implements the line protocol to read and write registers from the FPGA through regmap. The register address map is also included. The UP Boards provide a few I/O pin headers (for both GPIO and functions), including a 40-pin Raspberry Pi compatible header. This patch implements support for the FPGA-based pin controller that manages direction and enable state for those header pins. Partial support UP boards: * UP core + CREX * UP core + CRST02 PATCH V2: (1) Synchronizing upboard github to rc2 (2) Refer 2022/10/31 Lee Jones review, fixed some of the issues. Signed-off-by: Javier Arteaga <javier@emutex.com> [merge various fixes] Signed-off-by: Nicola Lunghi <nicola.lunghi@emutex.com> Signed-off-by: chengwei <larry.lai@yunjingtech.com>
- Loading branch information