[PATCH 0/7] Introduce PTX1K Boot FPGA driver

2016-10-07 Thread Pantelis Antoniou
Add Juniper's PTX1K Boot FPGA driver. Those FPGAs are present in Juniper's PTX series of routers. The MFD driver provices watchdog/mtd/hwmon devices. 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:

[PATCH 3/7] watchdog: Add PTX1K I2CS BootFPGA watchdog driver.

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev This driver allows using the I2CS watchdog on PTX1K. The BootFPGA implements a watchdog that allows setting timeout from predefined set of values from 15 msec to 491 sec. Signed-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck

[PATCH 03/10] i2c/muxes: Juniper I2CS RE mux

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add support for Juniper I2C Slave RE multiplexer driver. This I2C multiplexer driver allows the RE to access some of the FPC I2C buses. It's compatible only with the FPC variant of the I2CS. Signed-off-by: Georgi Vlaev Signed-off-by:

[PATCH 2/7] mfd: dt-bindings: Add bindings for the Juniper PTX1K Boot FPGA

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add device tree bindings for the Juniper PTX1K Boot FPGA MFD driver. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou ---

[PATCH 07/10] leds: i2cs: Add I2CS FPGA leds driver

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add support for the FRU faceplate status LEDs (OK, FAIL, ACTIVE, STANDBY) controlled by the Juniper I2CS FPGA. This driver is a jnx-i2cs-core client. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis

[PATCH 02/10] mfd: dt-bindings: Add bindings for the Juniper I2CS MFD

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add device tree bindings for the Juniper I2CS MFD driver. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou ---

[PATCH 01/10] mfd: Add Juniper I2CS MFD driver

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add Juniper's I2CS FPGA MFD driver. This driver is bare-bones and only provides a method for the instantiation of the following subdevices. - I2C mux driver (i2c-mux-i2cs) - LEDS driver (leds-jnx-i2cs) - GPIO driver (gpio-jnx-i2cs) - HWMON driver

[PATCH 7/7] hwmon: ptx1kbf: Add PTX1K I2CS BootFPGA sensor driver

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev The drivers allows reading CPU, PCH and DIMM modules teperatures from the I2CS FPGA via the SMLink1 to the PCH. Signed-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck [Ported from Juniper kernel] Signed-off-by:

[PATCH 6/7] mtd: ptx1kbf: Bindings for Juniper's PTX1K Boot FPGA

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add binding document for Junipers Flash IP block present in the PTX1K Boot FPGA on PTX series of routers. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou ---

[PATCH 5/7] mtd: ptx1kbf: Add PTX1K BootFPGA MTD driver

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev This patch adds a MTD driver for configuration updates of the Xilinx Spartan 3AN based FPGAs on the PTX1K RE boards. The driver is client of the ptx1k-bootfpga driver. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel]

[PATCH 1/7] mfd: Add PTX1K I2CS BootFPGA MFD driver

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev The driver allows access to the BootFPGA logic of the I2CS FPGA @0xfed5000 from the LPC bus. The driver exports debugfs entries for manipulating registers and device attrs for reading board and FPGA IDs and switching the active BIOS flash. The client

[PATCH 4/7] watchdog: ptx1kbf-wdt: Add ptx1kbf device tree bindings

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add binding document for the watchdog driver of PTX1K Boot FPGA. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou ---

[PATCH 06/10] gpio: gpio-i2cs: Document bindings of I2CS FPGA GPIO block

2016-10-07 Thread Pantelis Antoniou
From: Georgi Vlaev Add device tree bindings document for the GPIO driver of Juniper's I2CS FPGA. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou ---

[PATCH 09/10] hwmon: Add driver for Fan Tray on Juniper I2CS FGPA

2016-10-07 Thread Pantelis Antoniou
From: Avirup Banerjee Add a hwmon driver for Fan Trays using Juniper's I2CS FPGA. Signed-off-by: Avirup Banerjee Signed-off-by: Georgi Vlaev Signed-off-by: Guenter Roeck Signed-off-by: JawaharBalaji

[PATCH 05/10] gpio: i2cs: Juniper I2CS to GPIO pin mapping driver

2016-10-07 Thread Pantelis Antoniou
From: Guenter Roeck This driver maps I2C slave register bits to GPIO pins. Registers are supposed to be 8 bit wide. Interrupt support is optional. The driver is implemented as client of the I2CS MFD driver. Signed-off-by: Georgi Vlaev Signed-off-by:

Re: [PATCHv2] hwmon: Add tc654 driver

2016-10-07 Thread Guenter Roeck
On Fri, Oct 07, 2016 at 02:38:44PM +1300, Chris Packham wrote: > Add support for the tc654 and tc655 fan controllers from Microchip. > > http://ww1.microchip.com/downloads/en/DeviceDoc/20001734C.pdf > > Signed-off-by: Chris Packham > --- > > Changes in v2: >

Re: [PATCH] hwmon: (lm73) Add temp1_max_hyst entry to sysfs

2016-10-07 Thread Guenter Roeck
On Fri, Oct 07, 2016 at 05:42:21PM +1300, Joshua Scott wrote: > Currently, the lm73 driver has a temp1_max and a temp1_min. These make > sense when using temp1_max_alarm and temp1_min_alarm to determine if the > temperature has exceeded the chosen limits. > > However, when using the ALARM output

Re: [PATCH v3 2/9] hwmon: (core) New hwmon registration API

2016-10-07 Thread Jean Delvare
Hi Guenter, On Tue, 4 Oct 2016 12:37:13 -0700, Guenter Roeck wrote: > On Tue, Oct 04, 2016 at 10:45:59AM +0200, Jean Delvare wrote: > > I see this patch is upstream now, but I had started reviewing it and > > maybe some of my comments are still relevant. > > > As always, I appreciate the