[V1, 1/2] i2c: brcmstb: Adding support for CM and DSL SoCs

2015-12-16 Thread Kamal Dasu
take care of this difference. Accordingly added the compatible string for SoCs using the "Peripheral" I2C block. Signed-off-by: Kamal Dasu <kdasu.k...@gmail.com> --- drivers/i2c/busses/i2c-brcmstb.c | 80 1 file changed, 56 insertions(+), 24 deletion

[V1, 2/2] dt-bindings: i2c: Update i2c-brcmstb compatible string

2015-12-16 Thread Kamal Dasu
Adding compatibility with the DSL and CM SoCs that use the "Peripheral" i2c hardware. "brcm,brcmper-i2c" is also an allowed string. Signed-off-by: Kamal Dasu <kdasu.k...@gmail.com> --- Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt | 2 +- 1 file changed,

Re: [V4, 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-06-09 Thread Kamal Dasu
works for both cases. So we do need it. Thanks Kamal On Wed, Jun 3, 2015 at 11:54 AM, Wolfram Sang w...@the-dreams.de wrote: On Tue, May 19, 2015 at 12:23:44PM -0400, Kamal Dasu wrote: Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off-by: Kamal Dasu kdasu.k

[V5, 2/2] dt-bindings: i2c: Add i2c-brcmstb dt bindings

2015-06-09 Thread Kamal Dasu
i2c Device tree binding documentation for brcmstb SoCs. Signed-off-by: Kamal Dasu kdasu.k...@gmail.com --- .../devicetree/bindings/i2c/i2c-brcmstb.txt| 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt

[V5, 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-06-09 Thread Kamal Dasu
Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off-by: Kamal Dasu kdasu.k...@gmail.com --- V5 Changes: Removed unnecessary dev_err logging Changed intr timeout dev_err(...) to dev_dbg(...) --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile

Re: [V4, 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-05-20 Thread Kamal Dasu
Ray, I am using non combined operation so it not necessary have limit. I am not sending a stop condition till the last byte is written or read. So if the xfer has more than the i2c buffer len we break up the transfers after the initial salve address write into max read/write data buffer size.

Re: [V2 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-04-16 Thread Kamal Dasu
On Tue, Apr 14, 2015 at 4:39 PM, Ray Jui r...@broadcom.com wrote: Hi Kamal, + bcm-kernel-feedback-list bcm-kernel-feedback-l...@broadcom.com On 4/14/2015 6:47 AM, Wolfram Sang wrote: On Thu, Apr 02, 2015 at 04:01:05PM -0400, Kamal Dasu wrote: Adding support for i2c controller driver

Re: [V2 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-04-16 Thread Kamal Dasu
Rajeev, Thanks for the review. Answers inline. Kamal On Wed, Apr 15, 2015 at 3:21 AM, rajeev kumar rajeevkumar.li...@gmail.com wrote: On Fri, Apr 3, 2015 at 1:31 AM, Kamal Dasu kdasu.k...@gmail.com wrote: Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off

[V2 1/2] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-04-02 Thread Kamal Dasu
Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off-by: Kamal Dasu kdasu.k...@gmail.com --- V2 changes - Separate commits for device tree bindings and initial i2c-brcmstb driver code --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile

[V2 2/2] dt-bindings: i2c: Add i2c-brcmstb dt bindings

2015-04-02 Thread Kamal Dasu
i2c Device tree binding documentation for brcmstb SoCs. Signed-off-by: Kamal Dasu kdasu.k...@gmail.com --- .../devicetree/bindings/i2c/i2c-brcmstb.txt| 28 ++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-brcmstb.txt

[PATCH] i2c: brcmstb: Add Broadcom settop SoC i2c controller driver

2015-03-18 Thread Kamal Dasu
Adding support for i2c controller driver for Broadcom settop SoCs. Signed-off-by: Kamal Dasu kdasu.k...@gmail.com --- .../devicetree/bindings/i2c/i2c-brcmstb.txt| 28 + drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile| 1