sdm845: Add GPIO API

Hardware / Coreboot - David Dai [codeaurora.org] - 1 August 2018 23:19 EDT

Introduces new and required GPIO APIs, using common pinmux definitions for GPIO configuration.

TEST=build & run

Change-Id: I8cef9dae2072da32cb0678efefeb8f0070cdde9c

09fbaaaff7 sdm845: Add GPIO API
src/soc/qualcomm/sdm845/Makefile.inc | 4 +
src/soc/qualcomm/sdm845/gpio.c | 76 ++++++
src/soc/qualcomm/sdm845/include/soc/addressmap.h | 26 ++
src/soc/qualcomm/sdm845/include/soc/gpio.h | 331 ++++++++++++++++++++++-
4 files changed, 436 insertions(+), 1 deletion(-)

Upstream: review.coreboot.org


  • Share