Skip to content

Adding support for STA2x11/ConneXt PCIexpress function 0xCC0C.

Anders Wallin lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1Adding support for STA2x11/Connext PCIexpress function 0xCC0C.arch/x86/include/asm/gpio.h drivers/gpio/Kconfig drivers/gpio/Makefile +10 more+1794 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Adding support for STA2x11/ConneXt PCIexpress function 0xCC0C.

From: Anders Wallin <[email protected]>

This function enable access to multiple IP-blocks including 4 GPIO blocks,
one System Control block and one Timer block. Access to the PCIe device is managed by a MUX driver.
The pl061_pci gpio driver is based on the ARM pl061 IP block, but the functionality is not a one to one map. The gpio driver needs the generic "gpio_to_irq" support.

Anders Wallin (1):
Adding support for STA2x11/Connext PCIexpress function 0xCC0C.

 arch/x86/include/asm/gpio.h   |    2 +-
 drivers/gpio/Kconfig          |   14 +
 drivers/gpio/Makefile         |    1 +
 drivers/gpio/pl061_pci.c      |  860 +++++++++++++++++++++++++++++++++++++++++
 drivers/gpio/pl061_pci.h      |   29 ++
 drivers/misc/Kconfig          |   23 ++
 drivers/misc/Makefile         |    3 +
 drivers/misc/sta2x11_apbreg.c |  177 +++++++++
 drivers/misc/sta2x11_apbreg.h |   39 ++
 drivers/misc/sta2x11_mux.c    |  265 +++++++++++++
 drivers/misc/sta2x11_mux.h    |   50 +++
 drivers/misc/sta2x11_sctl.c   |  189 +++++++++
 drivers/misc/sta2x11_sctl.h   |  143 +++++++
 13 files changed, 1794 insertions(+), 1 deletions(-)
 create mode 100644 drivers/gpio/pl061_pci.c
 create mode 100644 drivers/gpio/pl061_pci.h
 create mode 100644 drivers/misc/sta2x11_apbreg.c
 create mode 100644 drivers/misc/sta2x11_apbreg.h
 create mode 100644 drivers/misc/sta2x11_mux.c
 create mode 100644 drivers/misc/sta2x11_mux.h
 create mode 100644 drivers/misc/sta2x11_sctl.c
 create mode 100644 drivers/misc/sta2x11_sctl.h