|
|
Log in / Subscribe / Register

Introduce Juniper CBC FPGA

From:  Pantelis Antoniou <pantelis.antoniou-AT-konsulko.com>
To:  Lee Jones <lee.jones-AT-linaro.org>
Subject:  [PATCH 0/6] Introduce Juniper CBC FPGA
Date:  Fri, 7 Oct 2016 18:20:08 +0300
Message-ID:  <1475853614-22409-1-git-send-email-pantelis.antoniou@konsulko.com>
Cc:  Linus Walleij <linus.walleij-AT-linaro.org>, Alexandre Courbot <gnurou-AT-gmail.com>, Rob Herring <robh+dt-AT-kernel.org>, Mark Rutland <mark.rutland-AT-arm.com>, Frank Rowand <frowand.list-AT-gmail.com>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, Debjit Ghosh <dghosh-AT-juniper.net>, Georgi Vlaev <gvlaev-AT-juniper.net>, Guenter Roeck <linux-AT-roeck-us.net>, JawaharBalaji Thirumalaisamy <jawaharb-AT-juniper.net>, Mohammad Kamil <mkamil-AT-juniper.net>, Pantelis Antoniou <pantelis.antoniou-AT-konsulko.com>, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-gpio-AT-vger.kernel.org, devel-AT-driverdev.osuosl.org

Add Juniper's PTX1K CBC FPGA driver. Those FPGAs
are present in Juniper's PTX series of routers.

The MFD driver provices a gpio device and a special
driver for Juniper's board infrastucture.
The FPGA infrastucture driver is providing an interface
for user-space handling of the FPGA in those platforms.

There are full device tree binding documents for the
master mfd driver and for the slave driver.

This patchset is against mainline as of today: v4.8-9431-g3477d16
and is dependent on the "Juniper prerequisites" and
"Juniper infrastructure" patchsets sent earlier.

Georgi Vlaev (5):
  mfd: Add support for the PTX1K CBC FPGA
  gpio: Add support for PTX1K CBC FPGA spare GPIOs
  gpio: gpio-cbc: Document bindings of CBC FPGA GPIO block
  gpio: cbc-presence: Add CBC presence detect as GPIO driver
  gpio: gpio-cbc-presense: Document bindings of CBC FPGA presence

Tom Kavanagh (1):
  staging: jnx: CBD-FPGA infrastructure

 .../bindings/gpio/jnx,gpio-cbc-presense.txt        |  31 +
 .../devicetree/bindings/gpio/jnx,gpio-cbc.txt      |  30 +
 drivers/gpio/Kconfig                               |  23 +
 drivers/gpio/Makefile                              |   2 +
 drivers/gpio/gpio-cbc-presence.c                   | 460 ++++++++++
 drivers/gpio/gpio-cbc.c                            | 236 +++++
 drivers/mfd/Kconfig                                |  16 +
 drivers/mfd/Makefile                               |   1 +
 drivers/mfd/cbc-core.c                             | 971 +++++++++++++++++++++
 drivers/staging/jnx/Kconfig                        |  34 +
 drivers/staging/jnx/Makefile                       |   5 +
 drivers/staging/jnx/jnx-cbc-ptx1k.c                | 242 +++++
 drivers/staging/jnx/jnx-cbd-fpga-common.c          | 332 +++++++
 drivers/staging/jnx/jnx-cbd-fpga-common.h          |  27 +
 drivers/staging/jnx/jnx-cbd-fpga-core.c            | 540 ++++++++++++
 drivers/staging/jnx/jnx-cbd-fpga-core.h            |  68 ++
 drivers/staging/jnx/jnx-cbd-fpga-platdata.h        |  51 ++
 drivers/staging/jnx/jnx-cbd-fpga-ptx1k.c           | 134 +++
 drivers/staging/jnx/jnx-cbd-fpga-ptx21k.c          | 143 +++
 drivers/staging/jnx/jnx-cbd-fpga-ptx3k.c           | 111 +++
 drivers/staging/jnx/jnx-cbd-fpga-ptx5k.c           | 107 +++
 include/linux/mfd/cbc-core.h                       | 181 ++++
 22 files changed, 3745 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpio/jnx,gpio-cbc-presense.txt
 create mode 100644 Documentation/devicetree/bindings/gpio/jnx,gpio-cbc.txt
 create mode 100644 drivers/gpio/gpio-cbc-presence.c
 create mode 100644 drivers/gpio/gpio-cbc.c
 create mode 100644 drivers/mfd/cbc-core.c
 create mode 100644 drivers/staging/jnx/jnx-cbc-ptx1k.c
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-common.c
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-common.h
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-core.c
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-core.h
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-platdata.h
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-ptx1k.c
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-ptx21k.c
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-ptx3k.c
 create mode 100644 drivers/staging/jnx/jnx-cbd-fpga-ptx5k.c
 create mode 100644 include/linux/mfd/cbc-core.h

-- 
1.9.1



Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds