Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938806AbcJGPhm (ORCPT ); Fri, 7 Oct 2016 11:37:42 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36297 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935599AbcJGPWY (ORCPT ); Fri, 7 Oct 2016 11:22:24 -0400 From: Pantelis Antoniou To: Lee Jones Cc: Linus Walleij , Alexandre Courbot , Rob Herring , Mark Rutland , Frank Rowand , Greg Kroah-Hartman , Debjit Ghosh , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , Mohammad Kamil , Pantelis Antoniou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devel@driverdev.osuosl.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> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3323 Lines: 67 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