[PATCH v5 2/3] i2c-piix4: Add support for multiplexed main adapter in SB800

2015-11-19 Thread Christian Fetzer
from the w83795adg). Cc: Thomas Brandon <tbrando...@gmail.com> Cc: Eddi De Pieri <e...@depieri.net> Signed-off-by: Christian Fetzer <fetzer...@gmail.com> Reviewed-by: Mika Westerberg <mika.westerb...@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.

[PATCH v5 3/3] i2c-piix4: Add adapter port name support for SB800 chipset

2015-11-19 Thread Christian Fetzer
This patch adds support for port names for the SB800 chipset. Since the chipset supports a multiplexed main SMBus controller, adding the channel name to the adapter name is necessary to differentiate the ports better (for example in sensors output). Signed-off-by: Christian Fetzer <fet

[PATCH v5 1/3] i2c-piix4: Convert piix4_main_adapter to array

2015-11-19 Thread Christian Fetzer
the second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer <fetzer...@gmail.com> Reviewed-by: Mika Westerberg <mika.westerb...@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> --- drivers/i2c/busse

[PATCH v5 0/3] Support multiplexed main SMBus interface on SB800

2015-11-19 Thread Christian Fetzer
: - Incorporated changes requested by Mika - remove adapter in reverse order - ERROR label - request base address index region only once Christian Fetzer (3): i2c-piix4: Convert piix4_main_adapter to array i2c-piix4: Add support for multiplexed main adapter in SB800 i2c-piix4: Add adapter

[PATCH v4 3/3] i2c-piix4: Add adapter port name support for SB800 chipset

2015-11-15 Thread Christian Fetzer
This patch adds support for port names for the SB800 chipset. Since the chipset supports a multiplexed main SMBus controller, adding the channel name to the adapter name is necessary to differentiate the ports better (for example in sensors output). Signed-off-by: Christian Fetzer <fet

[PATCH v4 2/3] i2c-piix4: Add support for multiplexed main adapter in SB800

2015-11-15 Thread Christian Fetzer
from the w83795adg). Cc: Thomas Brandon <tbrando...@gmail.com> Cc: Eddi De Pieri <e...@depieri.net> Signed-off-by: Christian Fetzer <fetzer...@gmail.com> --- drivers/i2c/busses/i2c-piix4.c | 165 +++-- 1 file changed, 143 insertions(+), 22 deleti

[PATCH v4 1/3] i2c-piix4: Convert piix4_main_adapter to array

2015-11-15 Thread Christian Fetzer
the second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer <fetzer...@gmail.com> Reviewed-by: Mika Westerberg <mika.westerb...@linux.intel.com> --- drivers/i2c/busses/i2c-piix4.c | 17 - 1 file changed, 12 insertions(+), 5 deleti

[PATCH v4 0/3] Support multiplexed main SMBus interface on SB800

2015-11-15 Thread Christian Fetzer
- ERROR label - request base address index region only once Christian Fetzer (3): i2c-piix4: Convert piix4_main_adapter to array i2c-piix4: Add support for multiplexed main adapter in SB800 i2c-piix4: Add adapter port name support for SB800 chipset drivers/i2c/busses/i2c-piix4.c | 194

[PATCH v3 3/5] i2c-piix4: Request base address index region once for SB800

2015-11-07 Thread Christian Fetzer
Request the SMBus base address index region once in piix4_probe. This is particularly useful when using the multiplexed adapter in SB800 as it avoids requesting and releasing the region on every transfer. Signed-off-by: Christian Fetzer <fetzer...@gmail.com> --- drivers/i2c/busses/i2c-p

[PATCH v3 5/5] i2c-piix4: Add adapter port name support for SB800 chipset

2015-11-07 Thread Christian Fetzer
This patch adds support for port names for the SB800 chipset. Since the chipset supports a multiplexed main SMBus controller, adding the channel name to the adapter name is necessary to differentiate the ports better (for example in sensors output). Signed-off-by: Christian Fetzer <fet

[PATCH v3 4/5] i2c-piix4: Add support for multiplexed main adapter in SB800

2015-11-07 Thread Christian Fetzer
in order to synchronize access. Tested on HP ProLiant MicroServer G7 N54L (where this patch adds support to access sensor data from the w83795adg). Cc: Thomas Brandon <tbrando...@gmail.com> Cc: Eddi De Pieri <e...@depieri.net> Signed-off-by: Christian Fetzer <fetzer...@gmail.com>

[PATCH v3 2/5] i2c-piix4: Convert piix4_main_adapter to array

2015-11-07 Thread Christian Fetzer
the second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer <fetzer...@gmail.com> Reviewed-by: Mika Westerberg <mika.westerb...@linux.intel.com> --- drivers/i2c/busses/i2c-piix4.c | 18 +- 1 file changed, 13 insertions(+), 5 deleti

[PATCH v3 0/5] Support multiplexed main SMBus interface on SB800

2015-11-07 Thread Christian Fetzer
Christian Fetzer (5): i2c-piix4: Optionally release smba in piix4_adap_remove i2c-piix4: Convert piix4_main_adapter to array i2c-piix4: Request base address index region once for SB800 i2c-piix4: Add support for multiplexed main adapter in SB800 i2c-piix4: Add adapter port name support

[PATCH v3 1/5] i2c-piix4: Optionally release smba in piix4_adap_remove

2015-11-07 Thread Christian Fetzer
-by: Christian Fetzer <fetzer...@gmail.com> --- drivers/i2c/busses/i2c-piix4.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index 630bce6..e78b982 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drive

[PATCH v2 4/5] i2c-piix4: Add support for multiplexed main adapter in SB800

2015-11-01 Thread Christian Fetzer
in order to synchronize access. Tested on HP ProLiant MicroServer G7 N54L (where this patch adds support to access sensor data from the w83795adg). Cc: Thomas Brandon <tbrando...@gmail.com> Cc: Eddi De Pieri <e...@depieri.net> Signed-off-by: Christian Fetzer <fetzer...@gmail.com> ---

[PATCH v2 0/5] Support multiplexed main SMBus interface on SB80

2015-11-01 Thread Christian Fetzer
order - ERROR label - request base address index region only once Christian Fetzer (5): i2c-piix4: Optionally release smba in piix4_adap_remove i2c-piix4: Convert piix4_main_adapter to array i2c-piix4: Request base address index region once for SB800 i2c-piix4: Add support

[PATCH v2 3/5] i2c-piix4: Request base address index region once for SB800

2015-11-01 Thread Christian Fetzer
Request the SMBus base address index region once in piix4_probe. This is particularly useful when using the multiplexed adapter in SB800 as it avoids requesting and releasing the region on every transfer. Signed-off-by: Christian Fetzer <fetzer...@gmail.com> --- drivers/i2c/busses/i2c-p

[PATCH v2 2/5] i2c-piix4: Convert piix4_main_adapter to array

2015-11-01 Thread Christian Fetzer
the second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer <fetzer...@gmail.com> --- drivers/i2c/busses/i2c-piix4.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/buss

[PATCH v2 1/5] i2c-piix4: Optionally release smba in piix4_adap_remove

2015-11-01 Thread Christian Fetzer
-by: Christian Fetzer <fetzer...@gmail.com> --- drivers/i2c/busses/i2c-piix4.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index 630bce6..97d2165 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drive

[PATCH v2 5/5] i2c-piix4: Add adapter port name support for SB800 chipset

2015-11-01 Thread Christian Fetzer
This patch adds support for port names for the SB800 chipset. Since the chipset supports a multiplexed main SMBus controller, adding the channel name to the adapter name is necessary to differentiate the ports better (for example in sensors output). Signed-off-by: Christian Fetzer <fet

[PATCH 3/4] i2c-piix4: Add support for multiplexed main adapter in SB800

2015-08-25 Thread Christian Fetzer
in order to synchronize access. Tested on HP ProLiant MicroServer G7 N54L (where this patch adds support to access sensor data from the w83795adg). Cc: Thomas Brandon tbrando...@gmail.com Cc: Eddi De Pieri e...@depieri.net Signed-off-by: Christian Fetzer fetzer...@gmail.com --- drivers/i2c/busses/i2c

[PATCH 0/4] Support multiplexed main SMBus interface on SB800

2015-08-25 Thread Christian Fetzer
to tackle this specific issue. Please review and let me know required changes in order to get this upstream finally. Eddi, Thomas, it would be great if you could verify the changes on your machines. Regards, Christian Christian Fetzer (4): i2c-piix4: Optionally release smba

[PATCH 2/4] i2c-piix4: Convert piix4_main_adapter to array

2015-08-25 Thread Christian Fetzer
the second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer fetzer...@gmail.com --- drivers/i2c/busses/i2c-piix4.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c

[PATCH 4/4] i2c-piix4: Add adapter port name support for SB800 chipset

2015-08-25 Thread Christian Fetzer
This patch adds support for port names for the SB800 chipset. Since the chipset supports a multiplexed main SMBus controller, adding the channel name to the adapter name is necessary to differentiate the ports better (for example in sensors output). Signed-off-by: Christian Fetzer fetzer

[PATCH 1/4] i2c-piix4: Optionally release smba in piix4_adap_remove

2015-08-25 Thread Christian Fetzer
-by: Christian Fetzer fetzer...@gmail.com --- drivers/i2c/busses/i2c-piix4.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c index 630bce6..97d2165 100644 --- a/drivers/i2c/busses/i2c-piix4.c +++ b/drivers/i2c