[PATCH V1] i2c: xgene: Set ACPI_COMPANION_I2C

2017-04-26 Thread tnhuynh
From: Tin Huynh With ACPI, i2c-core requires ACPI companion to be set in order for it to create slave device. This patch sets the ACPI companion accordingly. --- drivers/i2c/busses/i2c-xgene-slimpro.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH V1] i2c: xgene: Set ACPI_COMPANION_I2C

2017-04-26 Thread tnhuynh
From: Tin Huynh With ACPI, i2c-core requires ACPI companion to be set in order for it to create slave device. This patch sets the ACPI companion accordingly. --- drivers/i2c/busses/i2c-xgene-slimpro.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH V1] i2c: xgene: Add support for I2C_FUNC_I2C functionality

2017-04-25 Thread tnhuynh
From: Tin Huynh Certain I2C slave drivers, such as the pca95xx, require only I2C operations instead of SMBus extensions. This patch adds I2C_FUNC_I2C functionally to support those drivers. --- drivers/i2c/busses/i2c-xgene-slimpro.c |3 ++- 1 files changed, 2 insertions(+),

[PATCH V1] i2c: xgene: Add support for I2C_FUNC_I2C functionality

2017-04-25 Thread tnhuynh
From: Tin Huynh Certain I2C slave drivers, such as the pca95xx, require only I2C operations instead of SMBus extensions. This patch adds I2C_FUNC_I2C functionally to support those drivers. --- drivers/i2c/busses/i2c-xgene-slimpro.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

[PATCH V3] i2c: mux: pca954x: Add ACPI support for pca954x

2016-11-28 Thread tnhuynh
From: Tin Huynh This patch enables ACPI support for mux-pca954x driver. Signed-off-by: Tin Huynh --- drivers/i2c/muxes/i2c-mux-pca954x.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) Change from V2: -Remove

[PATCH V3] i2c: mux: pca954x: Add ACPI support for pca954x

2016-11-28 Thread tnhuynh
From: Tin Huynh This patch enables ACPI support for mux-pca954x driver. Signed-off-by: Tin Huynh --- drivers/i2c/muxes/i2c-mux-pca954x.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) Change from V2: -Remove CONFIG_ACPI. Change from V1: -Don't shadow

[PATCH V2] i2c: mux: pca954x: Add ACPI support for pca954x

2016-11-23 Thread tnhuynh
From: Tin Huynh This patch enables ACPI support for mux-pca954x driver. Signed-off-by: Tin Huynh Change from v1 : -Don't shadow id variable. -Include sorted header. -Redefine acpi_device_id. -Add CONFIG_ACPI. --- drivers/i2c/muxes/i2c-mux-pca954x.c |

[PATCH V2] i2c: mux: pca954x: Add ACPI support for pca954x

2016-11-23 Thread tnhuynh
From: Tin Huynh This patch enables ACPI support for mux-pca954x driver. Signed-off-by: Tin Huynh Change from v1 : -Don't shadow id variable. -Include sorted header. -Redefine acpi_device_id. -Add CONFIG_ACPI. --- drivers/i2c/muxes/i2c-mux-pca954x.c | 29 - 1

[PATCH V1] leds: pca955x: Add ACPI support for pca955x

2016-11-23 Thread tnhuynh
From: Tin Huynh This patch enables ACPI support for leds-pca955x driver. Signed-off-by: Tin Huynh --- drivers/leds/leds-pca955x.c | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/drivers/leds/leds-pca955x.c

[PATCH V1] leds: pca955x: Add ACPI support for pca955x

2016-11-23 Thread tnhuynh
From: Tin Huynh This patch enables ACPI support for leds-pca955x driver. Signed-off-by: Tin Huynh --- drivers/leds/leds-pca955x.c | 26 +- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c index

[v1] i2c: mux: pca954x : Supports ACPI

2016-11-18 Thread tnhuynh
From: Tin Huynh This patch enable ACPI support for mux-pca954x driver. Signed-off-by: Tin Huynh --- drivers/i2c/muxes/i2c-mux-pca954x.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git

[v1] i2c: mux: pca954x : Supports ACPI

2016-11-18 Thread tnhuynh
From: Tin Huynh This patch enable ACPI support for mux-pca954x driver. Signed-off-by: Tin Huynh --- drivers/i2c/muxes/i2c-mux-pca954x.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/muxes/i2c-mux-pca954x.c

[PATCH v4] i2c: designware: Implement support for SMBus block read and write

2016-11-09 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designware Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- Change from V3: - Correct

[PATCH v4] i2c: designware: Implement support for SMBus block read and write

2016-11-09 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designware Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- Change from V3: - Correct coding conventions - Make clean

[PATCH v3] i2c: designware: Implement support for SMBus block read and write

2016-10-31 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designware Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- Change from V2: - Change

[PATCH v3] i2c: designware: Implement support for SMBus block read and write

2016-10-31 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designware Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- Change from V2: - Change subject of email - Add a helper

[PATCH v2] I2C Designware Core Supports SMBUS BLOCK

2016-10-26 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designwave Core Driver doesn't handle the case at the moment. The below patch supports this feature. Change from V1: -Remove empty lines -Add flags variable to

[PATCH v2] I2C Designware Core Supports SMBUS BLOCK

2016-10-26 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designwave Core Driver doesn't handle the case at the moment. The below patch supports this feature. Change from V1: -Remove empty lines -Add flags variable to make clean code

[PATCH v1] I2C Designware Core Supports SMBUS BLOCK

2016-10-24 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designwave Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh ---

[PATCH v1] I2C Designware Core Supports SMBUS BLOCK

2016-10-24 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designwave Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- drivers/i2c/busses/i2c-designware-core.c| 42