Re: [RFC 0/2] Juniper DT based connector driver

2016-10-08 Thread Pantelis Antoniou
Hi Rob, > On Oct 8, 2016, at 19:10 , Rob Herring wrote: > > On Fri, Oct 7, 2016 at 10:16 AM, Pantelis Antoniou > wrote: >> Introduce a Juniper PTX router series DT overlay based >> connector driver. >> >> This is submitted as an RFC since some OF infra

Re: [RFC 1/2] staging: jnx: Add Juniper connector driver

2016-10-07 Thread Pantelis Antoniou
Hi Joe, > On Oct 7, 2016, at 19:25 , Joe Perches wrote: > > On Fri, 2016-10-07 at 18:16 +0300, Pantelis Antoniou wrote: >> diff --git a/drivers/staging/jnx/jnx-connector.c >> b/drivers/staging/jnx/jnx-connector.c > [] >> +struct jnx_conn_data { >> +struc

Re: [PATCH 0/6] Introduce Juniper CBC FPGA

2016-10-07 Thread Pantelis Antoniou
Hi Greg, > On Oct 7, 2016, at 18:39 , Greg Kroah-Hartman > wrote: > > On Fri, Oct 07, 2016 at 06:20:08PM +0300, Pantelis Antoniou wrote: >> Add Juniper's PTX1K CBC FPGA driver. Those FPGAs >> are present in Juniper's PTX series of routers. >> >&g

[PATCH 1/2] staging: jnx: Juniper subsystem & board core APIs

2016-10-07 Thread Pantelis Antoniou
ation file. Signed-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck Signed-off-by: Mohammad Kamil Signed-off-by: Rajat Jain Signed-off-by: Tom Kavanagh Signed-off-by: Pantelis Antoniou [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- Documentation/ABI/testing/sysfs-platform

[RFC 0/2] Juniper DT based connector driver

2016-10-07 Thread Pantelis Antoniou
Introduce a Juniper PTX router series DT overlay based connector driver. This is submitted as an RFC since some OF infrastructure patches (like changeset helpers etc) are not yet mainlined. The Juniper series of routers comprise of both x86 and powerpc platforms that contain similar hardware comp

Re: [PATCH 0/6] Introduce Juniper CBC FPGA

2016-10-07 Thread Pantelis Antoniou
> On Oct 7, 2016, at 18:39 , Greg Kroah-Hartman > wrote: > > On Fri, Oct 07, 2016 at 06:20:08PM +0300, Pantelis Antoniou wrote: >> Add Juniper's PTX1K CBC FPGA driver. Those FPGAs >> are present in Juniper's PTX series of routers. >> >> The M

[RFC 1/2] staging: jnx: Add Juniper connector driver

2016-10-07 Thread Pantelis Antoniou
. Signed-off-by: Guenter Roeck Signed-off-by: Georgi Vlaev Signed-off-by: Alon Ronen Signed-off-by: Debjit Ghosh Signed-off-by: Dhruva Diveneni Signed-off-by: Yu-Lin Lu [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/staging/jnx/Kconfig | 15 + drivers/staging

[PATCH 1/6] mfd: Add support for the PTX1K CBC FPGA

2016-10-07 Thread Pantelis Antoniou
Signed-off-by: Rajat Jain [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/mfd/Kconfig | 16 + drivers/mfd/Makefile | 1 + drivers/mfd/cbc-core.c | 971 +++ include/linux/mfd/cbc-core.h | 181 4

[PATCH 5/6] gpio: gpio-cbc-presense: Document bindings of CBC FPGA presence

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add device tree bindings document for the presence virtual GPIOs on Juniper's CBC FPGA. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../bindings/gpio/jnx,gpio-cbc-presense.txt| 31 ++ 1

[PATCH 0/6] Introduce Juniper CBC FPGA

2016-10-07 Thread Pantelis Antoniou
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 platfo

[RFC 2/2] staging: jnx-connector: add device tree binding

2016-10-07 Thread Pantelis Antoniou
From: Guenter Roeck Add documentation for the Juniper connector driver. Signed-off-by: Alon Ronen Signed-off-by: Guenter Roeck [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../devicetree/bindings/jnx/jnx-connector | 59 ++ 1 file changed, 59

[PATCH 4/6] gpio: cbc-presence: Add CBC presence detect as GPIO driver

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev This driver exports the CB FPGA presence detect bits from a single 32bit CB register as GPIOs. Signed-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/gpio/Kconfig | 12 + drivers/gpio

[PATCH 3/6] gpio: gpio-cbc: Document bindings of CBC FPGA GPIO block

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add device tree bindings document for the GPIO driver of Juniper's CBC FPGA. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../devicetree/bindings/gpio/jnx,gpio-cbc.txt | 30 ++ 1 file change

[PATCH 6/6] staging: jnx: CBD-FPGA infrastructure

2016-10-07 Thread Pantelis Antoniou
-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck Signed-off-by: JawaharBalaji Thirumalaisamy Signed-off-by: Mohammad Kamil Signed-off-by: Tom Kavanagh Signed-off-by: Debjit Ghosh [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/staging/jnx/Kconfig |

[PATCH 2/6] gpio: Add support for PTX1K CBC FPGA spare GPIOs

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add support for the GPIO block in Juniper's CBC FPGA. A number of GPIOs exported by different kind of boards is supported. Signed-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/gpio/Kc

[PATCH 0/3] Juniper PCI methods

2016-10-07 Thread Pantelis Antoniou
Introduce PCI methods and infrastructure dealing with the peculiarities of Juniper PTX series of routers. The Juniper series of routers comprise of both x86 and powerpc platforms that contain similar hardware components necessitating common support methods. Note that this is the first submission

[PATCH 2/2] jnx: Introduce include/linux/jnx/pci_ids.h

2016-10-07 Thread Pantelis Antoniou
: Guenter Roeck Signed-off-by: Mohammad Kamil Signed-off-by: Shyamshankar Dharmarajan Signed-off-by: Tom Kavanagh [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- include/linux/jnx/pci_ids.h | 66 + 1 file changed, 66 insertions

[PATCH 0/2] Juniper infrastructure

2016-10-07 Thread Pantelis Antoniou
Introduce a staging driver containing all the bit and pieces of Juniper's board support infrastructure that don't quite fit in any other place. The Juniper series of routers comprise of both x86 and powerpc platforms that contain similar hardware components necessitating common support methods. N

[PATCH 3/3] staging: jnx: pex8xxx I2C interface driver

2016-10-07 Thread Pantelis Antoniou
Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/staging/jnx/Kconfig | 7 + drivers/staging/jnx/Makefile | 1 + drivers/staging/jnx/pex8xxx_i2c.c | 509 ++ 3 files changed, 517 insertions(+) create mode 100644 drivers/staging/jnx

[PATCH 1/3] staging: jnx: PCI quirks for all Juniper platforms

2016-10-07 Thread Pantelis Antoniou
: JawaharBalaji Thirumalaisamy Signed-off-by: Rajat Jain Signed-off-by: Shyamshankar Dharmarajan [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/staging/jnx/Kconfig | 6 ++ drivers/staging/jnx/Makefile | 1 + drivers/staging/jnx/jnx-chip-pci

[PATCH 2/3] staging: jnx: Common Juniper PCI methods

2016-10-07 Thread Pantelis Antoniou
malaisamy Signed-off-by: Rajat Jain [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- drivers/staging/jnx/Kconfig | 6 + drivers/staging/jnx/Makefile | 1 + drivers/staging/jnx/jnx_common_pci.c | 244 +++ include/

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-21 Thread Pantelis Antoniou
Hi Jason, > On Jan 21, 2015, at 22:27 , Jason Gunthorpe > wrote: > > On Wed, Jan 21, 2015 at 06:33:12PM +0200, Pantelis Antoniou wrote: >> Hi Alan, >> >>> On Jan 21, 2015, at 18:01 , One Thousand Gnomes >>> wrote: >>> >>> On

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-21 Thread Pantelis Antoniou
Hi Alan, > On Jan 21, 2015, at 18:01 , One Thousand Gnomes > wrote: > > On Thu, 15 Jan 2015 22:54:46 +0200 > Pantelis Antoniou wrote: > >> Hi Alan, >> >>> On Jan 15, 2015, at 22:45 , One Thousand Gnomes >>> wrote: >>> >>

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-15 Thread Pantelis Antoniou
Hi Alan, > On Jan 15, 2015, at 22:45 , One Thousand Gnomes > wrote: > > On Thu, 15 Jan 2015 11:47:26 -0700 > Jason Gunthorpe wrote: >> It is a novel idea, my concern would be that embedding the FPGA in the >> DT makes it permanent unswappable kernel memory. >> Not having the kernel hold the FP

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-14 Thread Pantelis Antoniou
Hi Jason, > On Jan 14, 2015, at 20:12 , Jason Gunthorpe > wrote: > > On Wed, Jan 14, 2015 at 04:06:17PM +, One Thousand Gnomes wrote: > >> and I think you effectively have the user usage covered here for such >> things. It much like GPIO pins - we can describe them but we can also >> decla

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-13 Thread Pantelis Antoniou
Hi Alan, > On Jan 13, 2015, at 18:28 , One Thousand Gnomes > wrote: > > On Mon, 12 Jan 2015 14:43:14 -0700 > Jason Gunthorpe wrote: > >> On Mon, Jan 12, 2015 at 09:01:34PM +, One Thousand Gnomes wrote: >>> There are plenty of people today who treat the FPGA as an entirely >>> dynamic reso

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-12 Thread Pantelis Antoniou
Hi Pavel, > On Jan 13, 2015, at 09:28 , Pavel Machek wrote: > > Hi! > >> +What: /sys/class/fpga_manager//firmware >> +Date: October 2014 >> +KernelVersion: 3.18 >> +Contact:Alan Tull >> +Description:Name of th

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-10 Thread Pantelis Antoniou
Hi Pavel, > On Jan 9, 2015, at 22:56 , Pavel Machek wrote: > > On Fri 2015-01-09 13:14:24, atull wrote: >> On Wed, 7 Jan 2015, Pavel Machek wrote: >> >>> On Tue 2015-01-06 14:13:37, at...@opensource.altera.com wrote: + +What: /sys/class/fpga_manager//firmware +Date:

Re: [PATCH v7 2/4] fpga manager: add sysfs interface document

2015-01-02 Thread Pantelis Antoniou
Hi Pavel, > On Jan 2, 2015, at 07:12 , Pavel Machek wrote: > > >> +What: /sys/class/fpga_manager//firmware >> +Date: October 2014 >> +KernelVersion: 3.18 >> +Contact:Alan Tull >> +Description:Name of the FPGA image file to load using firmware >> cl