On 06/04/2018 02:21 PM, Andy Shevchenko wrote:
On Mon, Jun 4, 2018 at 10:00 PM, Eddie James wrote:
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed up during an FSI scan.
Signed-off
On 06/04/2018 02:17 PM, Andy Shevchenko wrote:
On Mon, Jun 4, 2018 at 10:00 PM, Eddie James wrote:
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c
On 06/04/2018 02:17 PM, Andy Shevchenko wrote:
On Mon, Jun 4, 2018 at 10:00 PM, Eddie James wrote:
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c
On 06/04/2018 02:14 PM, Andy Shevchenko wrote:
On Mon, Jun 4, 2018 at 10:00 PM, Eddie James wrote:
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c
On 06/04/2018 02:14 PM, Andy Shevchenko wrote:
On Mon, Jun 4, 2018 at 10:00 PM, Eddie James wrote:
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed up during an FSI scan.
Signed-off-by: Eddie James
---
drivers/i2c/busses/Kconfig | 11 ++
drivers/i2c/busses/Makefile | 1 +
drivers/i2c
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed up during an FSI scan.
Signed-off-by: Eddie James
---
drivers/i2c/busses/Kconfig | 11 ++
drivers/i2c/busses/Makefile | 1 +
drivers/i2c
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 195 ++-
1 file changed, 193 insertions(+), 2 deletions(-)
diff
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 195 ++-
1 file changed, 193 insertions(+), 2 deletions(-)
diff
Add abort procedure for failed transfers. Add engine and bus reset
procedures to recover from as many faults as possible.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 179 +++
1 file changed, 179 insertions(+)
diff --git a/drivers/i2c
Add abort procedure for failed transfers. Add engine and bus reset
procedures to recover from as many faults as possible.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 179 +++
1 file changed, 179 insertions(+)
diff --git a/drivers/i2c
Document the bindings.
Signed-off-by: Eddie James
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff --git a/Documentation
Document the bindings.
Signed-off-by: Eddie James
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff --git a/Documentation
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 90
1 file changed, 90 insertions(+)
diff --git
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 90
1 file changed, 90 insertions(+)
diff --git
Bus recovery should reset the engine and force clock the bus 9 times
to recover most situations.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/i2c/busses/i2c-fsi.c b/drivers/i2c/busses/i2c-fsi.c
index
Bus recovery should reset the engine and force clock the bus 9 times
to recover most situations.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/i2c/busses/i2c-fsi.c b/drivers/i2c/busses/i2c-fsi.c
index
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 16
1 file changed, 12
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 16
1 file changed, 12
leeps instead of schedule_timeout; it's not worth the overhead when
the wait should be very short in between sending the command and receiving
the response.
Changes since v5
- Fix reset functionality and do a reset after every transfer failure
Eddie James (7):
dt-bindings: i2c: Add FSI-attached
leeps instead of schedule_timeout; it's not worth the overhead when
the wait should be very short in between sending the command and receiving
the response.
Changes since v5
- Fix reset functionality and do a reset after every transfer failure
Eddie James (7):
dt-bindings: i2c: Add FSI-attached
On 05/30/2018 04:16 PM, Benjamin Herrenschmidt wrote:
On Wed, 2018-05-30 at 10:47 -0500, Eddie James wrote:
+ if (!list_empty(>ports)) {
My gosh, this is done already in list_for_each*()
No, list_for_each_entry does NOT check if the list is empty or if the
first entry is NULL.
N
On 05/30/2018 04:16 PM, Benjamin Herrenschmidt wrote:
On Wed, 2018-05-30 at 10:47 -0500, Eddie James wrote:
+ if (!list_empty(>ports)) {
My gosh, this is done already in list_for_each*()
No, list_for_each_entry does NOT check if the list is empty or if the
first entry is NULL.
N
Add abort procedure for failed transfers. Add engine and bus reset
procedures to recover from as many faults as possible.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 179 +++
1 file changed, 179 insertions(+)
diff --git a/drivers/i2c
Add abort procedure for failed transfers. Add engine and bus reset
procedures to recover from as many faults as possible.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 179 +++
1 file changed, 179 insertions(+)
diff --git a/drivers/i2c
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 90
1 file changed, 90 insertions(+)
diff --git
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 90
1 file changed, 90 insertions(+)
diff --git
Document the bindings.
Signed-off-by: Eddie James >
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff --git a/Documentat
Document the bindings.
Signed-off-by: Eddie James >
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff --git a/Documentat
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 16
1 file changed, 12
nality and do a reset after every transfer failure
Eddie James (7):
dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation
i2c: Add FSI-attached I2C master algorithm
i2c: fsi: Add port structures
i2c: fsi: Add abort and hardware reset procedures
i2c: fsi: Add transfer impleme
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed up during an FSI scan.
Signed-off-by: Eddie James
---
drivers/i2c/busses/Kconfig | 11 ++
drivers/i2c/busses/Makefile | 1 +
drivers/i2c
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 196 ++-
1 file changed, 194 insertions(+), 2 deletions(-)
diff
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 16
1 file changed, 12
nality and do a reset after every transfer failure
Eddie James (7):
dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation
i2c: Add FSI-attached I2C master algorithm
i2c: fsi: Add port structures
i2c: fsi: Add abort and hardware reset procedures
i2c: fsi: Add transfer impleme
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed up during an FSI scan.
Signed-off-by: Eddie James
---
drivers/i2c/busses/Kconfig | 11 ++
drivers/i2c/busses/Makefile | 1 +
drivers/i2c
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 196 ++-
1 file changed, 194 insertions(+), 2 deletions(-)
diff
Bus recovery should reset the engine and force clock the bus 9 times
to recover most situations.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/i2c/busses/i2c-fsi.c b/drivers/i2c/busses/i2c-fsi.c
index
Bus recovery should reset the engine and force clock the bus 9 times
to recover most situations.
Signed-off-by: Eddie James
---
drivers/i2c/busses/i2c-fsi.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/i2c/busses/i2c-fsi.c b/drivers/i2c/busses/i2c-fsi.c
index
On 05/29/2018 07:08 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
+ if (msg->fla
On 05/29/2018 07:08 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
+ if (msg->fla
On 05/29/2018 06:19 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
+#include
+
On 05/29/2018 06:19 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
+#include
+
On 05/29/2018 06:19 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
+#include
+
On 05/29/2018 06:19 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
+#include
+
On 05/29/2018 06:42 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed
On 05/29/2018 06:42 PM, Andy Shevchenko wrote:
On Wed, May 30, 2018 at 1:24 AM, Eddie James wrote:
From: "Edward A. James"
Add register definitions for FSI-attached I2C master and functions to
access those registers over FSI. Add an FSI driver so that our I2C bus
is probed
From: "Edward A. James"
Document the bindings.
Signed-off-by: Edward A. James
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff
From: "Edward A. James"
Document the bindings.
Signed-off-by: Edward A. James
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/i2c/i2c-fsi.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-fsi.txt
diff
From: "Edward A. James"
Add abort procedure for failed transfers. Add engine and bus reset
procedures to recover from as many faults as possible.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 172 +++
1 file changed, 172
From: "Edward A. James"
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 203 ++-
1 file changed, 201
From: "Edward A. James"
Add abort procedure for failed transfers. Add engine and bus reset
procedures to recover from as many faults as possible.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 172 +++
1 file changed, 172
From: "Edward A. James"
Execute I2C transfers from the FSI-attached I2C master. Use polling
instead of interrupts as we have no hardware IRQ over FSI.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 203 ++-
1 file changed, 201
This series adds an algorithm for an I2C master physically located on an FSI
slave device. The I2C master has multiple ports, each of which may be connected
to an I2C slave. Access to the I2C master registers is achieved over FSI bus.
Due to the multi-port nature of the I2C master, the driver
This series adds an algorithm for an I2C master physically located on an FSI
slave device. The I2C master has multiple ports, each of which may be connected
to an I2C slave. Access to the I2C master registers is achieved over FSI bus.
Due to the multi-port nature of the I2C master, the driver
From: "Edward A. James"
Bus recovery should reset the engine and force clock the bus 9 times
to recover most situations.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/i2c/busses/i2c-fsi.c
From: "Edward A. James"
Bus recovery should reset the engine and force clock the bus 9 times
to recover most situations.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/i2c/busses/i2c-fsi.c
From: "Edward A. James"
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 16
From: "Edward A. James"
Since there are many ports per master, each with it's own adapter and
chardev, we need some locking to prevent transfers from changing the
master state while other transfers are in progress.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 16
00..79475f8
--- /dev/null
+++ b/drivers/i2c/busses/i2c-fsi.c
@@ -0,0 +1,244 @@
+/*
+ * Copyright 2017 IBM Corporation
+ *
+ * Eddie James
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free
00..79475f8
--- /dev/null
+++ b/drivers/i2c/busses/i2c-fsi.c
@@ -0,0 +1,244 @@
+/*
+ * Copyright 2017 IBM Corporation
+ *
+ * Eddie James
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free
From: "Edward A. James"
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 96
1 file changed, 96
From: "Edward A. James"
Add and initialize I2C adapters for each port on the FSI-attached I2C
master. Ports for each master are defined in the devicetree.
Signed-off-by: Edward A. James
---
drivers/i2c/busses/i2c-fsi.c | 96
1 file changed, 96
Check the aspeed timeout status register to see if the system has booted
from the secondary boot source. If so, set the watchdog device
bootstatus flag for "Card previously reset the CPU."
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
Changes since v1:
- use bo
Check the aspeed timeout status register to see if the system has booted
from the secondary boot source. If so, set the watchdog device
bootstatus flag for "Card previously reset the CPU."
Signed-off-by: Eddie James
---
Changes since v1:
- use bootstatus instead of status
- use WDIOF
On 03/26/2018 05:00 PM, Guenter Roeck wrote:
On 03/26/2018 02:17 PM, Eddie James wrote:
Populate the status watchdog operation to return the "timeout status"
register of the ASPEED watchdog.
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
drivers/watchdog/
On 03/26/2018 05:00 PM, Guenter Roeck wrote:
On 03/26/2018 02:17 PM, Eddie James wrote:
Populate the status watchdog operation to return the "timeout status"
register of the ASPEED watchdog.
Signed-off-by: Eddie James
---
drivers/watchdog/aspeed_wdt.c | 9 +
1 file
Populate the status watchdog operation to return the "timeout status"
register of the ASPEED watchdog.
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
drivers/watchdog/aspeed_wdt.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/watchdog/aspeed
Populate the status watchdog operation to return the "timeout status"
register of the ASPEED watchdog.
Signed-off-by: Eddie James
---
drivers/watchdog/aspeed_wdt.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/watchdog/aspeed_wdt.c b/drivers/watchdog/aspeed_w
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v6:
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v6:
From: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Si
<cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
drivers/hwmon/pmbus/ucd9000.c | 138 +-
1 file changed, 137 insertions(+), 1 deletion(-)
diff --git a/dri
From: Christopher Bostic
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic
Signed-off-by: Andrew Jeffery
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 212
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 138 +-
1 file changed, 137 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/ucd9000.c b/drivers/hwmon/pmbus/ucd9000.c
index ef2c5bf..70cecb0 100644
--- a/drivers/hwmon/pmbus/ucd9000.c
On 03/16/2018 02:59 PM, Guenter Roeck wrote:
On Fri, Mar 16, 2018 at 02:25:59PM -0500, Eddie James wrote:
From: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Expose the gpiN_fault fields of mfr_status as individual debugfs
attributes. This provides a way for users to be easily no
On 03/16/2018 02:59 PM, Guenter Roeck wrote:
On Fri, Mar 16, 2018 at 02:25:59PM -0500, Eddie James wrote:
From: Christopher Bostic
Expose the gpiN_fault fields of mfr_status as individual debugfs
attributes. This provides a way for users to be easily notified of gpi
faults. Also provide
From: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Si
From: Christopher Bostic
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic
Signed-off-by: Andrew Jeffery
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 212
<cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
drivers/hwmon/pmbus/ucd9000.c | 138 +-
1 file changed, 137 insertions(+), 1 deletion(-)
diff --git a/dri
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 138 +-
1 file changed, 137 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/ucd9000.c b/drivers/hwmon/pmbus/ucd9000.c
index ef2c5bf..88c98fb 100644
--- a/drivers/hwmon/pmbus/ucd9000.c
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v5:
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v5:
On 03/16/2018 08:40 AM, Guenter Roeck wrote:
On 03/15/2018 03:21 PM, Eddie James wrote:
From: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Sorry for not noticing e
On 03/16/2018 08:40 AM, Guenter Roeck wrote:
On 03/15/2018 03:21 PM, Eddie James wrote:
From: Christopher Bostic
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Sorry for not noticing earlier. The 0day reports should
<cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
drivers/hwmon/pmbus/ucd9000.c | 137 +-
1 file changed, 136 insertions(+), 1 deletion(-)
diff --git a/dri
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 137 +-
1 file changed, 136 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/ucd9000.c b/drivers/hwmon/pmbus/ucd9000.c
index a34ffc4..c1a1560 100644
--- a/drivers/hwmon/pmbus/ucd9000.c
From: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Si
From: Christopher Bostic
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic
Signed-off-by: Andrew Jeffery
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 201
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v4:
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v4:
<milt...@us.ibm.com>
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
Changes since v1:
* Disable secondary boot before the restart operation.
drivers/watchdog/aspeed_wdt.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/watchdog/aspeed_wdt.c b/drivers/wat
goes to flash bank 1,
while on the ast2500 the chip selects are swapped.
Also clear the secondary boot bit during the machine restart operation.
Otherwise, the system will switch to the alternate boot after every
reboot, which is not desired.
Signed-off-by: Milton Miller
Signed-off-by: Eddie
<cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Signed-off-by: Eddie James <eaja...@linux.vnet.ibm.com>
---
drivers/hwmon/pmbus/ucd9000.c | 153 +-
1 file changed, 152 insertions(+), 1 deletion(-)
diff --git a/dri
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 153 +-
1 file changed, 152 insertions(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/ucd9000.c b/drivers/hwmon/pmbus/ucd9000.c
index a34ffc4..f03c404 100644
--- a/drivers/hwmon/pmbus/ucd9000.c
From: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic <cbos...@linux.vnet.ibm.com>
Signed-off-by: Andrew Jeffery <and...@aj.id.au>
Si
From: Christopher Bostic
Add a struct gpio_chip and define some methods so that this device's
I/O can be accessed via /sys/class/gpio.
Signed-off-by: Christopher Bostic
Signed-off-by: Andrew Jeffery
Signed-off-by: Eddie James
---
drivers/hwmon/pmbus/ucd9000.c | 201
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v3:
The ucd9000 series chips have gpio pins. Add a gpio chip interface to the ucd
device so that users can query and set the state of the gpio pins.
Add a debugfs interface using the existing pmbus debugfs directory to provide
MFR_STATUS and the status of the gpi faults to users.
Changes since v3:
On 03/09/2018 04:06 PM, Guenter Roeck wrote:
On Fri, Mar 09, 2018 at 03:58:20PM -0600, Eddie James wrote:
From: Milton Miller <milt...@us.ibm.com>
Allow the device tree to specify a watchdog to fallover to
the alternate boot source.
The aspeeed watchdog can set a latch directing flas
301 - 400 of 827 matches
Mail list logo