mbox series

[0/2] Add Awinic AW9523(B) I2C GPIO Expander driver

Message ID 20210109140204.151340-1-angelogioacchino.delregno@somainline.org
Headers show
Series Add Awinic AW9523(B) I2C GPIO Expander driver | expand

Message

AngeloGioacchino Del Regno Jan. 9, 2021, 2:02 p.m. UTC
This adds support for the Awinic AW9523/AW9523B I2C GPIO Expander, as
found in the F(x)Tec Pro1 smartphone (there, it's used to drive a
keyboard matrix).
This driver was tested on the aforementioned smartphone.

AngeloGioacchino Del Regno (2):
  pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander
  dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

 .../pinctrl/awinic,aw9523-pinctrl.yaml        |  111 ++
 drivers/pinctrl/Kconfig                       |   17 +
 drivers/pinctrl/Makefile                      |    1 +
 drivers/pinctrl/pinctrl-aw9523.c              | 1070 +++++++++++++++++
 4 files changed, 1199 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pinctrl/awinic,aw9523-pinctrl.yaml
 create mode 100644 drivers/pinctrl/pinctrl-aw9523.c