On 08/14/2017 01:53 PM, Guenter Roeck wrote:
On Mon, Aug 14, 2017 at 10:26:30AM -0500, Eddie James wrote:
From: "Edward A. James"
Signed-off-by: Edward A. James
---
Documentation/hwmon/ibm-cffps | 54 +++
1 file changed, 54 insertions(+
From: "Edward A. James"
Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-page pmbus devices,
as user-space access of the i2c space could corrupt the pmbus page
accounting.
Signed-off-by: Edward A. James
From: "Edward A. James"
Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-page pmbus devices,
as user-space access of the i2c space could corrupt the pmbus page
accounting.
Signed-off-by: Edward A. James
Changes since v3:
On 08/14/2017 11:13 AM, Guenter Roeck wrote:
On Mon, Aug 14, 2017 at 09:59:50AM -0500, Eddie James wrote:
From: "Edward A. James" <eaja...@us.ibm.com>
Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-pa
On 08/14/2017 11:13 AM, Guenter Roeck wrote:
On Mon, Aug 14, 2017 at 09:59:50AM -0500, Eddie James wrote:
From: "Edward A. James"
Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-page pmbus devices,
as user-sp
From: "Edward A. James"
Signed-off-by: Edward A. James
---
.../devicetree/bindings/i2c/ibm,cffps1.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/ibm,cffps1.txt
diff
From: "Edward A. James"
Signed-off-by: Edward A. James
---
.../devicetree/bindings/i2c/ibm,cffps1.txt | 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/ibm,cffps1.txt
diff --git
--git a/Documentation/hwmon/ibm-cffps b/Documentation/hwmon/ibm-cffps
new file mode 100644
index 000..e091ff2
--- /dev/null
+++ b/Documentation/hwmon/ibm-cffps
@@ -0,0 +1,54 @@
+Kernel driver ibm-cffps
+===
+
+Supported chips:
+ * IBM Common Form Factor power supply
+
+Aut
/hwmon/ibm-cffps
new file mode 100644
index 000..e091ff2
--- /dev/null
+++ b/Documentation/hwmon/ibm-cffps
@@ -0,0 +1,54 @@
+Kernel driver ibm-cffps
+===
+
+Supported chips:
+ * IBM Common Form Factor power supply
+
+Author: Eddie James
+
+Description
+---
+
+T
From: "Edward A. James"
This series adds a hwmon pmbus driver for a POWER System power supply. The
core monitoring functionality is provided by pmbus.
Changes since v2:
* Renamed the driver again...
* Remove debugfs bool from pmbus_driver_info.
* Add comment for returning
From: "Edward A. James"
This series adds a hwmon pmbus driver for a POWER System power supply. The
core monitoring functionality is provided by pmbus.
Changes since v2:
* Renamed the driver again...
* Remove debugfs bool from pmbus_driver_info.
* Add comment for returning rc when reading
",
+ .of_match_table = ibm_cffps_of_match,
+ },
+ .probe = ibm_cffps_probe,
+ .remove = pmbus_do_remove,
+ .id_table = ibm_cffps_id,
+};
+
+module_i2c_driver(ibm_cffps_driver);
+
+MODULE_AUTHOR("Eddie James");
+MODULE_DESCRIPTION("PMBus driver for IBM Common Form Factor power supplies");
+MODULE_LICENSE("GPL");
--
1.8.3.1
},
+ .probe = ibm_cffps_probe,
+ .remove = pmbus_do_remove,
+ .id_table = ibm_cffps_id,
+};
+
+module_i2c_driver(ibm_cffps_driver);
+
+MODULE_AUTHOR("Eddie James");
+MODULE_DESCRIPTION("PMBus driver for IBM Common Form Factor power supplies");
+MODULE_LICENSE("GPL");
--
1.8.3.1
From: "Edward A. James"
Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-page pmbus devices,
as user-space access of the i2c space could corrupt the pmbus page
accounting.
Signed-off-by: Edward A. James
From: "Edward A. James"
Export all the available status registers through debugfs. This is
useful for hardware diagnostics, especially on multi-page pmbus devices,
as user-space access of the i2c space could corrupt the pmbus page
accounting.
Signed-off-by: Edward A. James
Changes since v2:
On 08/11/2017 08:52 AM, Guenter Roeck wrote:
On 08/10/2017 02:57 PM, Eddie James wrote:
From: "Edward A. James" <eaja...@us.ibm.com>
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James <eaja...@us.ibm
On 08/11/2017 08:52 AM, Guenter Roeck wrote:
On 08/10/2017 02:57 PM, Eddie James wrote:
From: "Edward A. James"
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus.h
On 08/10/2017 08:18 PM, Guenter Roeck wrote:
On Thu, Aug 10, 2017 at 05:19:45PM -0500, Eddie James wrote:
From: "Edward A. James" <eaja...@us.ibm.com>
Add the driver to monitor POWER system power supplies with hwmon over
pmbus.
Signed-off-by: Edward A. James <
On 08/10/2017 08:18 PM, Guenter Roeck wrote:
On Thu, Aug 10, 2017 at 05:19:45PM -0500, Eddie James wrote:
From: "Edward A. James"
Add the driver to monitor POWER system power supplies with hwmon over
pmbus.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/Kconf
From: "Edward A. James"
This series adds a hwmon pmbus driver for a POWER System power supply. The
core monitoring functionality is provided by pmbus.
This series depends on the pmbus core extensions for debugfs recently submitted
to the mailing list (latest:
From: "Edward A. James"
This series adds a hwmon pmbus driver for a POWER System power supply. The
core monitoring functionality is provided by pmbus.
This series depends on the pmbus core extensions for debugfs recently submitted
to the mailing list (latest:
rps_of_match,
+ },
+ .probe = powerps_probe,
+ .remove = pmbus_do_remove,
+ .id_table = powerps_id,
+};
+
+module_i2c_driver(powerps_driver);
+
+MODULE_AUTHOR("Eddie James");
+MODULE_DESCRIPTION("PMBus driver for POWER system power supplies");
+MODULE_LICENSE("GPL");
--
1.8.3.1
be,
+ .remove = pmbus_do_remove,
+ .id_table = powerps_id,
+};
+
+module_i2c_driver(powerps_driver);
+
+MODULE_AUTHOR("Eddie James");
+MODULE_DESCRIPTION("PMBus driver for POWER system power supplies");
+MODULE_LICENSE("GPL");
--
1.8.3.1
From: "Edward A. James"
Signed-off-by: Edward A. James
---
.../devicetree/bindings/i2c/ibm,power-ps.txt| 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
diff
From: "Edward A. James"
Signed-off-by: Edward A. James
---
.../devicetree/bindings/i2c/ibm,power-ps.txt| 21 +
1 file changed, 21 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
diff --git
a/Documentation/hwmon/powerps b/Documentation/hwmon/powerps
new file mode 100644
index 000..a4fbe92
--- /dev/null
+++ b/Documentation/hwmon/powerps
@@ -0,0 +1,54 @@
+Kernel driver powerps
+=
+
+Supported chips:
+ * POWER system power supply
+
+Author: Eddie Jam
on/powerps
new file mode 100644
index 000..a4fbe92
--- /dev/null
+++ b/Documentation/hwmon/powerps
@@ -0,0 +1,54 @@
+Kernel driver powerps
+=
+
+Supported chips:
+ * POWER system power supply
+
+Author: Eddie James
+
+Description
+---
+
+This driver supports POWER sy
From: "Edward A. James"
Switch the storage of status registers to 16 bit values. This allows us
to store all the bits of STATUS_WORD.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus_core.c | 14 +++---
1 file changed, 7
From: "Edward A. James"
Switch the storage of status registers to 16 bit values. This allows us
to store all the bits of STATUS_WORD.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus_core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
From: "Edward A. James"
Pmbus always reads byte data from the status register, even if
configured to use STATUS_WORD. Use a function pointer to read the
correct amount of data from the registers.
Also switch to try STATUS_WORD first before STATUS_BYTE on init.
Signed-off-by:
From: "Edward A. James"
Pmbus always reads byte data from the status register, even if
configured to use STATUS_WORD. Use a function pointer to read the
correct amount of data from the registers.
Also switch to try STATUS_WORD first before STATUS_BYTE on init.
Signed-off-by: Edward A. James
From: "Edward A. James"
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus.h | 6 ++
drivers/hwmon/pmbus/pmbus_core.c | 201
From: "Edward A. James"
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus.h | 6 ++
drivers/hwmon/pmbus/pmbus_core.c | 201 +++
2 files changed,
From: "Edward A. James"
This series adds some functionality to the pmbus core.
The first two patches provide support for the STATUS_WORD register. This allows
more default alarm attributes to be used, as the upper byte of the status
register is available. The third patch
From: "Edward A. James"
Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also
need to redo the status register checking before setting up the boolean
attribute, since it won't necessarily check STATUS_WORD if the device
doesn't support it, which we need for
From: "Edward A. James"
This series adds some functionality to the pmbus core.
The first two patches provide support for the STATUS_WORD register. This allows
more default alarm attributes to be used, as the upper byte of the status
register is available. The third patch then uses the
From: "Edward A. James"
Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also
need to redo the status register checking before setting up the boolean
attribute, since it won't necessarily check STATUS_WORD if the device
doesn't support it, which we need for this bit.
On 08/10/2017 03:15 PM, Eddie James wrote:
On 08/09/2017 08:15 PM, Guenter Roeck wrote:
On Wed, Aug 09, 2017 at 05:19:17PM -0500, Eddie James wrote:
From: "Edward A. James" <eaja...@us.ibm.com>
Export all the available status registers through debugfs, if the
client
d
On 08/10/2017 03:15 PM, Eddie James wrote:
On 08/09/2017 08:15 PM, Guenter Roeck wrote:
On Wed, Aug 09, 2017 at 05:19:17PM -0500, Eddie James wrote:
From: "Edward A. James"
Export all the available status registers through debugfs, if the
client
driver wants them.
On 08/09/2017 08:15 PM, Guenter Roeck wrote:
On Wed, Aug 09, 2017 at 05:19:17PM -0500, Eddie James wrote:
From: "Edward A. James" <eaja...@us.ibm.com>
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edwar
On 08/09/2017 08:15 PM, Guenter Roeck wrote:
On Wed, Aug 09, 2017 at 05:19:17PM -0500, Eddie James wrote:
From: "Edward A. James"
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmb
On 08/10/2017 10:00 AM, Guenter Roeck wrote:
On Wed, Aug 02, 2017 at 04:17:10PM -0500, Eddie James wrote:
From: "Edward A. James" <eaja...@us.ibm.com>
Add the driver to monitor power supplies with hwmon over pmbus.
Signed-off-by: Edward A. James <eaja...@us.ibm.com&g
On 08/10/2017 10:00 AM, Guenter Roeck wrote:
On Wed, Aug 02, 2017 at 04:17:10PM -0500, Eddie James wrote:
From: "Edward A. James"
Add the driver to monitor power supplies with hwmon over pmbus.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/Kconfig | 10 +++
dri
From: "Edward A. James"
This series adds some functionality to the pmbus core.
The first two patches provide support for the STATUS_WORD register. This allows
more default alarm attributes to be used, as the upper byte of the status
register is available. The third patch
From: "Edward A. James"
This series adds some functionality to the pmbus core.
The first two patches provide support for the STATUS_WORD register. This allows
more default alarm attributes to be used, as the upper byte of the status
register is available. The third patch then uses the
From: "Edward A. James"
Switch the storage of status registers to 16 bit values. This allows us
to store all the bits of STATUS_WORD.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus_core.c | 14 +++---
1 file changed, 7
From: "Edward A. James"
Switch the storage of status registers to 16 bit values. This allows us
to store all the bits of STATUS_WORD.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus_core.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
From: "Edward A. James"
Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also
need to redo the status register checking before setting up the boolean
attribute, since it won't necessarily check STATUS_WORD if the device
doesn't support it, which we need for
From: "Edward A. James"
Add PB_STATUS_INPUT as the generic alarm bit for iin and pin. We also
need to redo the status register checking before setting up the boolean
attribute, since it won't necessarily check STATUS_WORD if the device
doesn't support it, which we need for this bit.
From: "Edward A. James"
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus.c | 24 +-
drivers/hwmon/pmbus/pmbus.h | 11 +++
From: "Edward A. James"
Export all the available status registers through debugfs, if the client
driver wants them.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/pmbus.c | 24 +-
drivers/hwmon/pmbus/pmbus.h | 11 +++
drivers/hwmon/pmbus/pmbus_core.c | 175
From: "Edward A. James"
Pmbus always reads byte data from the status register, even if
configured to use STATUS_WORD. Use a function pointer to read the
correct amount of data from the registers.
Also switch to try STATUS_WORD first before STATUS_BYTE on init.
Signed-off-by:
From: "Edward A. James"
Pmbus always reads byte data from the status register, even if
configured to use STATUS_WORD. Use a function pointer to read the
correct amount of data from the registers.
Also switch to try STATUS_WORD first before STATUS_BYTE on init.
Signed-off-by: Edward A. James
of, p8_i2c_occ_of_match);
+
+static struct i2c_driver ibmps_driver = {
+ .driver = {
+ .name = "ibmps",
+ .of_match_table = ibmps_of_match,
+ },
+ .probe = ibmps_probe,
+ .remove = ibmps_remove,
+ .id_table = ibmps_
_driver ibmps_driver = {
+ .driver = {
+ .name = "ibmps",
+ .of_match_table = ibmps_of_match,
+ },
+ .probe = ibmps_probe,
+ .remove = ibmps_remove,
+ .id_table = ibmps_id,
+};
+
+module_i2c_driver(ibmps_driver);
+
+MODULE_AUTHOR("Eddie James");
+MODULE_DESCRIPTION("PMBus driver for IBM power supply");
+MODULE_LICENSE("GPL");
--
1.8.3.1
a/Documentation/hwmon/ibmps b/Documentation/hwmon/ibmps
new file mode 100644
index 000..7f13fd4
--- /dev/null
+++ b/Documentation/hwmon/ibmps
@@ -0,0 +1,53 @@
+Kernel driver ibmps
+
+
+Supported chips:
+ * IBM Witherspoon power supply
+
+Author: Eddie James <eaja...@u
s
new file mode 100644
index 000..7f13fd4
--- /dev/null
+++ b/Documentation/hwmon/ibmps
@@ -0,0 +1,53 @@
+Kernel driver ibmps
+
+
+Supported chips:
+ * IBM Witherspoon power supply
+
+Author: Eddie James
+
+Description
+---
+
+This driver supports the IBM po
From: "Edward A. James"
Signed-off-by: Edward A. James
---
Documentation/ABI/testing/sysfs-driver-ibmps | 49
1 file changed, 49 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-ibmps
diff --git
From: "Edward A. James"
Add sysfs entries to dump out PS registers and clear faults.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/ibmps.c | 78 +
1 file changed, 78 insertions(+)
diff --git
From: "Edward A. James"
Signed-off-by: Edward A. James
---
Documentation/ABI/testing/sysfs-driver-ibmps | 49
1 file changed, 49 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-driver-ibmps
diff --git
From: "Edward A. James"
Add sysfs entries to dump out PS registers and clear faults.
Signed-off-by: Edward A. James
---
drivers/hwmon/pmbus/ibmps.c | 78 +
1 file changed, 78 insertions(+)
diff --git a/drivers/hwmon/pmbus/ibmps.c
From: "Edward A. James"
This series adds a hwmon pmbus driver for an IBM power supply. The core
monitoring functionality is provided by pmbus. The driver also exports some
sysfs entries for raw status register access and the ability to clear faults.
Edward A. James (4):
From: "Edward A. James"
This series adds a hwmon pmbus driver for an IBM power supply. The core
monitoring functionality is provided by pmbus. The driver also exports some
sysfs entries for raw status register access and the ability to clear faults.
Edward A. James (4):
drivers/hwmon/pmbus:
From: "Edward A. James"
Add structures to define all sensor types and versions. Add sysfs show
and store functions for each sensor type. Add a method to construct the
"set user power cap" command and send it to the OCC. Add rate limit to
polling the OCC (in case user-space
From: "Edward A. James"
Add structures to define all sensor types and versions. Add sysfs show
and store functions for each sensor type. Add a method to construct the
"set user power cap" command and send it to the OCC. Add rate limit to
polling the OCC (in case user-space reads our hwmon
From: "Edward A. James"
For the P8 OCC, add the procedure to send a command to the OCC over I2C
bus. This involves writing the OCC command registers with serial
communication operations (SCOMs) interpreted by the I2C slave. For the
P9 OCC, add a procedure to use the OCC
From: "Edward A. James"
For the P8 OCC, add the procedure to send a command to the OCC over I2C
bus. This involves writing the OCC command registers with serial
communication operations (SCOMs) interpreted by the I2C slave. For the
P9 OCC, add a procedure to use the OCC in-kernel API to send a
From: "Edward A. James"
Add method to parse the response from the OCC poll command. This only
needs to be done during probe(), since the OCC shouldn't change the
number or format of sensors while it's running. The parsed response
allows quick access to sensor data, as well as
From: "Edward A. James"
Add method to parse the response from the OCC poll command. This only
needs to be done during probe(), since the OCC shouldn't change the
number or format of sensors while it's running. The parsed response
allows quick access to sensor data, as well as information on the
From: "Edward A. James"
Create device attributes for additional OCC properties that do not
belong as hwmon sensors. These provide additional information as to the
state of the processor and system.
Signed-off-by: Edward A. James
---
From: "Edward A. James"
Create device attributes for additional OCC properties that do not
belong as hwmon sensors. These provide additional information as to the
state of the processor and system.
Signed-off-by: Edward A. James
---
drivers/hwmon/occ/common.c | 83
44 Documentation/hwmon/occ
diff --git a/Documentation/hwmon/occ b/Documentation/hwmon/occ
new file mode 100644
index 000..dcae911
--- /dev/null
+++ b/Documentation/hwmon/occ
@@ -0,0 +1,74 @@
+Kernel driver occ-hwmon
+===
+
+Supported chips:
+ * POWER8
+ * POWER9
+
+Aut
tion/hwmon/occ b/Documentation/hwmon/occ
new file mode 100644
index 000..dcae911
--- /dev/null
+++ b/Documentation/hwmon/occ
@@ -0,0 +1,74 @@
+Kernel driver occ-hwmon
+===
+
+Supported chips:
+ * POWER8
+ * POWER9
+
+Author: Eddie James
+
+Description
+---
+
+T
From: "Edward A. James"
Detail the sysfs attributes provided by the occ-hwmon driver.
Signed-off-by: Edward A. James
---
Documentation/ABI/testing/sysfs-driver-occ-hwmon | 77
1 file changed, 77 insertions(+)
create mode 100644
From: "Edward A. James"
Detail the sysfs attributes provided by the occ-hwmon driver.
Signed-off-by: Edward A. James
---
Documentation/ABI/testing/sysfs-driver-occ-hwmon | 77
1 file changed, 77 insertions(+)
create mode 100644
From: "Edward A. James"
Setup the sensor attributes for every OCC sensor found by the first poll
response. Register the attributes with hwmon. Add hwmon documentation
for the driver.
Signed-off-by: Edward A. James
---
drivers/hwmon/occ/common.c | 432
From: "Edward A. James"
Setup the sensor attributes for every OCC sensor found by the first poll
response. Register the attributes with hwmon. Add hwmon documentation
for the driver.
Signed-off-by: Edward A. James
---
drivers/hwmon/occ/common.c | 432
From: "Edward A. James"
Add logic to detect a number of error scenarios on the OCC. Export any
errors through an additional non-hwmon device attribute. The error
counting and state verification are required by the OCC hardware
specification.
Signed-off-by: Edward A. James
From: "Edward A. James"
Add logic to detect a number of error scenarios on the OCC. Export any
errors through an additional non-hwmon device attribute. The error
counting and state verification are required by the OCC hardware
specification.
Signed-off-by: Edward A. James
---
From: "Edward A. James"
Document the bindings for I2C-based OCC hwmon driver.
Signed-off-by: Edward A. James
---
.../devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644
From: "Edward A. James"
Document the bindings for I2C-based OCC hwmon driver.
Signed-off-by: Edward A. James
---
.../devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt | 25 ++
1 file changed, 25 insertions(+)
create mode 100644
From: "Edward A. James"
This series adds a hwmon driver to support the OCC on POWER8 and POWER9
processors. The OCC is an embedded processor that provides realtime power and
thermal monitoring and management.
This driver has two different platform drivers as a "base" for the
s = I2C_CLASS_HWMON,
+ .driver = {
+ .name = "occ-hwmon",
+ .of_match_table = p8_i2c_occ_of_match,
+ },
+ .probe = p8_i2c_occ_probe,
+};
+
+module_i2c_driver(p8_i2c_occ_driver);
+
+MODULE_AUTHOR("Eddie James <eaja...@us.ibm.com>&quo
From: "Edward A. James"
This series adds a hwmon driver to support the OCC on POWER8 and POWER9
processors. The OCC is an embedded processor that provides realtime power and
thermal monitoring and management.
This driver has two different platform drivers as a "base" for the
hwmon interface, as
{
+ .name = "occ-hwmon",
+ .of_match_table = p8_i2c_occ_of_match,
+ },
+ .probe = p8_i2c_occ_probe,
+};
+
+module_i2c_driver(p8_i2c_occ_driver);
+
+MODULE_AUTHOR("Eddie James ");
+MODULE_DESCRIPTION("BMC P8 OCC hwmon driver");
+M
c/busses/i2c-fsi.c
new file mode 100644
index 000..79475f8
--- /dev/null
+++ b/drivers/i2c/busses/i2c-fsi.c
@@ -0,0 +1,244 @@
+/*
+ * Copyright 2017 IBM Corporation
+ *
+ * Eddie James <eaja...@us.ibm.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify
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
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"
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
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"
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 | 75
1 file changed,
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 | 75
1 file changed, 75 insertions(+)
diff --git
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 | 197
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 | 197 ++-
1 file changed, 195
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
---
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 | 43
From: "Edward A. James"
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
From: "Edward A. James"
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
From: "Edward A. James"
Reset causes problems for operations requiring multiple scoms (e.g. i2c
over scom). Instead, reset scom engine during probe.
Signed-off-by: Edward A. James
---
drivers/fsi/fsi-scom.c | 10 --
1 file changed, 4
601 - 700 of 827 matches
Mail list logo