[PATCH 7/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7358

2015-10-20 Thread Jaedon Shin
Add I2C device nodes to BMIPS based BCM7358 platform. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- arch/mips/boot/dts/brcm/bcm7358.dtsi | 62 ++-- arch/mips/boot/dts/brcm/bcm97358svmb.dts | 16 + 2 files changed, 76 insertions(+), 2 del

[PATCH 8/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7360

2015-10-20 Thread Jaedon Shin
Add I2C device nodes to BMIPS based BCM7360 platform. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- arch/mips/boot/dts/brcm/bcm7360.dtsi | 62 ++-- arch/mips/boot/dts/brcm/bcm97360svmb.dts | 16 + 2 files changed, 76 insertions(+), 2 del

[PATCH 0/9] i2c: brcmstb: add support for BMIPS_GENERIC

2015-10-20 Thread Jaedon Shin
Hi all, This patch series adds support for BMIPS_GENERIC, and fixes running conditions. Thanks. Jaedon Shin (9): i2c: brcmstb: make the driver buildable on BMIPS_GENERIC i2c: brcmstb: fix typo in i2c-brcmstb i2c: brcmstb: add missing parenthesis i2c: brcmstb: enable ACK condition i2c

[PATCH 5/9] i2c: brcmstb: fix start and stop conditions

2015-10-20 Thread Jaedon Shin
Fixes conditions for RESTART, NOSTART and NOSTOP. The masks of start and stop is already in brcmstb_set_i2c_start_stop(). Therefore, the caller does not need a mask value. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- drivers/i2c/busses/i2c-brcmstb.c | 5 ++--- 1 file chan

[PATCH 9/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7362

2015-10-20 Thread Jaedon Shin
Add I2C device nodes to BMIPS based BCM7362 platform. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- arch/mips/boot/dts/brcm/bcm7362.dtsi | 52 ++-- arch/mips/boot/dts/brcm/bcm97362svmb.dts | 12 2 files changed, 62 insertions(+), 2 del

[PATCH 4/9] i2c: brcmstb: enable ACK condition

2015-10-20 Thread Jaedon Shin
Removes the condition of a message with under 32 bytes in length. The messages that do not require an ACK are I2C_M_IGNORE_NAK flag. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- drivers/i2c/busses/i2c-brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH 6/9] MIPS: BMIPS: brcmstb: add I2C node for bcm7346

2015-10-20 Thread Jaedon Shin
Add I2C device nodes to BMIPS based BCM7346 platform. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- arch/mips/boot/dts/brcm/bcm7346.dtsi | 72 ++- arch/mips/boot/dts/brcm/bcm97346dbsmb.dts | 20 + 2 files changed, 90 insertions(+), 2 del

[PATCH 2/9] i2c: brcmstb: fix typo in i2c-brcmstb

2015-10-20 Thread Jaedon Shin
Fixes the "definitions" where it is spelled "defintions". Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- drivers/i2c/busses/i2c-brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-brcmstb.c b/drivers/i2c/

[PATCH 3/9] i2c: brcmstb: add missing parenthesis

2015-10-20 Thread Jaedon Shin
Add the necessary parenthesis for NOACK condition. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- drivers/i2c/busses/i2c-brcmstb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-brcmstb.c b/drivers/i2c/busses/i2c-brcmstb.c index 6b8bbf

[PATCH 1/9] i2c: brcmstb: make the driver buildable on BMIPS_GENERIC

2015-10-20 Thread Jaedon Shin
The BCM7xxx ARM and MIPS platforms share a similar hardware block for I2C. Signed-off-by: Jaedon Shin <jaedon.s...@gmail.com> --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig