Re: [PATCH v2 1/2] DT: i2c: Deprecate adi,adxl34x compatible string

2015-03-02 Thread Laurent Pinchart
(CC'ing Dmitry) On Monday 02 March 2015 07:40:49 Wolfram Sang wrote: On Thu, Feb 26, 2015 at 04:27:49PM +0200, Laurent Pinchart wrote: On Monday 26 January 2015 13:09:47 Wolfram Sang wrote: If you drop adi,adxl346, checkpatch will start complaining if it encounters it in a .dts. Boah,

Re: [PATCH] i2c: tegra: match return type of wait_for_completion_timeout

2015-03-02 Thread Alexandre Courbot
On Sun, Mar 1, 2015 at 11:17 PM, Nicholas Mc Guire hof...@osadl.org wrote: return type of wait_for_completion_timeout is unsigned long not int. As ret was only used for wait_for_completion_timeout here it is renamed to time_left the type changed to unsigned long and references fixed up.

[PATCH 1/2] dt-bindings: i2c: Add dt binding documentation for ingenic jz4780 SoC

2015-03-02 Thread Zubair Lutfullah Kakakhel
Adds DT documentation for the the i2c controller for the JZ4780 SoC Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- .../devicetree/bindings/i2c/i2c-jz4780.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

[PATCH 2/2] i2c: jz4780: Add i2c bus controller driver for Ingenic JZ4780

2015-03-02 Thread Zubair Lutfullah Kakakhel
Adds the i2c bus controller driver for the Ingenic JZ4780 SoC. Signed-off-by: Zubair Lutfullah Kakakhel zubair.kakak...@imgtec.com --- drivers/i2c/busses/Kconfig | 9 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-jz4780.c | 820

[PATCH 0/2] i2c: jz4780: Add Ingenic JZ4780 i2c driver

2015-03-02 Thread Zubair Lutfullah Kakakhel
Hi, Here we have two patches that add support for the i2c controller present in the Ingenic JZ4780. Feedback welcome. Thank-you ZubairLK Zubair Lutfullah Kakakhel (2): dt-bindings: i2c: Add dt binding documentation for ingenic jz4780 SoC i2c: jz4780: Add i2c bus controller driver for

[PATCH v2 1/4] i2c: sunxi: Add Reduced Serial Bus (RSB) support

2015-03-02 Thread Chen-Yu Tsai
The RSB controller looks like an SMBus controller which only supports byte and word data transfers. It can also do double-word data transfers, but the I2C subsystem does not support this, nor have we seen devices using this. The RSB differs from standard SMBus protocol on several aspects: - it

[PATCH v2 3/4] ARM: dts: sun8i: Add Reduced Serial Bus controller device node to A23 dtsi

2015-03-02 Thread Chen-Yu Tsai
This patch adds a device node for the Reduced Serial Bus (RSB) controller and the defacto pinmux setting to the A23 dtsi. Since there is only one possible pinmux setting for RSB, just set it in the dtsi. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun8i-a23.dtsi | 21

[PATCH v2 0/4] i2c: sunxi: Add Reduced Serial Bus (RSB) support

2015-03-02 Thread Chen-Yu Tsai
Hi everyone, This is v2 of my Allwinner Reduced Serial Bus series. v2 addresses comments raised by Arnd: - #address-cells and #size-cells added to DT bindings - DT bindings commit message expanded to include explanation of hardware/runtime addresses and why the runtime address is

[PATCH v2 4/4] ARM: dts: sun8i: ippo-q8h-v5: Enable Reduced Serial Bus controller

2015-03-02 Thread Chen-Yu Tsai
The Reduced Serial Bus controller is used to talk to the onboard PMIC. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts

[PATCH v2 2/4] i2c: sunxi: Add Reduced Serial Bus (RSB) DT bindings documentation

2015-03-02 Thread Chen-Yu Tsai
Reduced Serial Bus (RSB) is an SMBus like bus used to communicate with some PMICs (like the AXP223) or other peripherals. The RSB DT bindings are pretty much the same as the one defined for the marvell's mv64xxx controller, with the additional RSB specific allwinner,rsb-hw-addr property for slave

Re: [PATCH v2 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-03-02 Thread Stephen Warren
On 02/27/2015 05:24 AM, Sebastian Hesselbarth wrote: I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available sub-busses to be rewritten. This patch