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

2015-08-25 Thread Christian Fetzer
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 Cc: Eddi De Pieri Signed-off-by: Christian Fetzer --- drivers/i2c/busses/i2c-piix4.c | 114

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

2015-08-25 Thread Christian Fetzer
: Christian Fetzer --- 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/busses/i2c-piix4.c

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

2015-08-25 Thread Christian Fetzer
#x27;t know how 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

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

2015-08-25 Thread Christian Fetzer
second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer --- 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-piix4.c index 97d2165

[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 --- drivers

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

2015-11-01 Thread Christian Fetzer
second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer --- 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-piix4.c index 97d2165

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

2015-11-01 Thread Christian Fetzer
: Christian Fetzer --- 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/busses/i2c-piix4.c

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

2015-11-01 Thread Christian Fetzer
pter in reverse 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:

[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 --- drivers/i2c/busses/i2c-piix4.c | 35

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

2015-11-01 Thread Christian Fetzer
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 Cc: Eddi De Pieri Signed-off-by: Christian Fetzer --- drivers/i2c/busses/i2c-piix4.c | 102

[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 --- drivers

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

2015-11-07 Thread Christian Fetzer
second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer Reviewed-by: Mika Westerberg --- 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

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

2015-11-07 Thread Christian Fetzer
ss 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 for multiplexed main adapter in SB800 i2c-piix4: Add adap

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

2015-11-07 Thread Christian Fetzer
: Christian Fetzer --- 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/drivers/i2c/busses/i2c-piix4.c

[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 --- drivers/i2c/busses/i2c-piix4.c | 37

[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 Reviewed-by

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

2015-11-07 Thread Christian Fetzer
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 Cc: Eddi De Pieri Signed-off-by: Christian Fetzer Reviewed-by: Mika Westerberg --- drivers/i2c/busses/i2c-piix4.c | 105

[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 Reviewed-by

[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 Cc: Eddi De Pieri Signed-off-by: Christian Fetzer --- drivers/i2c/busses/i2c-piix4.c | 165 +++-- 1 file changed, 143 insertions(+), 22 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c

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

2015-11-15 Thread Christian Fetzer
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 port name support for SB800 chipset drivers/i2c

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

2015-11-15 Thread Christian Fetzer
second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer Reviewed-by: Mika Westerberg --- drivers/i2c/busses/i2c-piix4.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c

[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 Cc: Eddi De Pieri Signed-off-by: Christian Fetzer Reviewed-by: Mika Westerberg Reviewed-by: Andy Shevchenko --- drivers/i2c/busses/i2c-piix4.c | 169 +++-- 1 file changed, 147 insertions(+), 22 deletions(-) diff --git a

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

2015-11-19 Thread Christian Fetzer
into while loops v2: - 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

[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 Reviewed-by

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

2015-11-19 Thread Christian Fetzer
second (not multiplexed) SMBus controller on the SB800 chipset. Signed-off-by: Christian Fetzer Reviewed-by: Mika Westerberg Reviewed-by: Andy Shevchenko --- drivers/i2c/busses/i2c-piix4.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses