[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 --- arch/arm/boot/dts/sun8i-a23.dtsi | 21

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

2015-03-02 Thread Chen-Yu Tsai
XP809 PMICs and the AC100 codec/RTC). However the RSB protocol is an extension of P2WI, which was close enough to SMBus to be integrated into the I2C subsystem in commit 3e833490fae5 ("i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support"). Signed-off-by: Chen-Yu Tsai -

[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 --- 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 b/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
nded to follow whatever conventions the hardware vendor uses. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/i2c/i2c-sunxi-rsb.txt | 54 ++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-sunxi-rsb.txt diff --git a/Do

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

2015-03-02 Thread Chen-Yu Tsai
moment. The A80 uses the same IP block with no differences, but the related clock/reset/pinctrl drivers are still WIP. Regards, ChenYu Chen-Yu Tsai (4): i2c: sunxi: Add Reduced Serial Bus (RSB) support i2c: sunxi: Add Reduced Serial Bus (RSB) DT bindings documentation ARM: dts: sun8i: Add Red

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

2015-02-24 Thread Chen-Yu Tsai
On Tue, Feb 24, 2015 at 10:17 PM, Arnd Bergmann wrote: > On Tuesday 24 February 2015 22:01:26 Chen-Yu Tsai wrote: >> On Tue, Feb 24, 2015 at 6:37 PM, Arnd Bergmann wrote: >> > On Tuesday 24 February 2015 18:29:02 Chen-Yu Tsai wrote: >> >&

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

2015-02-24 Thread Chen-Yu Tsai
On Tue, Feb 24, 2015 at 6:37 PM, Arnd Bergmann wrote: > On Tuesday 24 February 2015 18:29:02 Chen-Yu Tsai wrote: >> >> + rsb@01f03400 { >> + compatible = "allwinner,sun8i-a23-rsb"; >> + reg = <0x01f03400 0x400&g

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

2015-02-24 Thread Chen-Yu Tsai
The Reduced Serial Bus controller is used to talk to the onboard PMIC. Signed-off-by: Chen-Yu Tsai --- 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 b/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts

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

2015-02-24 Thread Chen-Yu Tsai
t; property for slave device nodes. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/i2c/i2c-sunxi-rsb.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-sunxi-rsb.txt diff --git a/Documentation/devicetree/b

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

2015-02-24 Thread Chen-Yu Tsai
differences, but the related clock/reset/pinctrl drivers are still WIP. Regards, ChenYu Chen-Yu Tsai (4): i2c: sunxi: Add Reduced Serial Bus (RSB) support i2c: sunxi: Add Reduced Serial Bus (RSB) DT bindings documentation ARM: dts: sun8i: Add Reduced Serial Bus controller device node to

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

2015-02-24 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 --- arch/arm/boot/dts/sun8i-a23.dtsi | 21

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

2015-02-24 Thread Chen-Yu Tsai
XP809 PMICs and the AC100 codec/RTC). However the RSB protocol is an extension of P2WI, which was close enough to SMBus to be integrated into the I2C subsystem in commit 3e833490fae5 ("i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support"). Signed-off-by: Chen-Yu Tsai -

[PATCH v2] i2c: mv64xxx: continue probe when clock-frequency is missing

2014-09-01 Thread Chen-Yu Tsai
ved from all sunxi DTs. Fixes: 4c730a06c19bb ("i2c: mv64xxx: Set bus frequency to 100kHz if clock-frequency is not provided") Signed-off-by: Chen-Yu Tsai Cc: sta...@vger.kernel.org Acked-by: Andrew Lunn Acked-by: Maxime Ripard --- Changes in v2: - Added Fixes tag, and Acked-bys from Andre

[PATCH] i2c: mv64xxx: continue probe when clock-frequency is missing

2014-08-25 Thread Chen-Yu Tsai
all sunxi DTs. Signed-off-by: Chen-Yu Tsai Cc: sta...@vger.kernel.org --- drivers/i2c/busses/i2c-mv64xxx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c index 6dc5ded..2f64273 100644 --- a/drivers/i2c/buss

Re: [linux-sunxi] Re: [PATCH v3 1/5] i2c: mv64xxx: Add reset deassert call

2014-03-07 Thread Chen-Yu Tsai
On Fri, Mar 7, 2014 at 6:34 PM, Russell King - ARM Linux wrote: > On Fri, Mar 07, 2014 at 11:07:51AM +0100, Maxime Ripard wrote: >> Hi Russell, >> >> On Fri, Mar 07, 2014 at 09:52:23AM +, Russell King - ARM Linux wrote: >> > On Tue, Mar 04, 2014 at 05:28:37PM +0100, Maxime Ripard wrote: >> > >

Re: [linux-sunxi] [PATCH 1/5] i2c: mv64xxx: Add reset deassert call

2014-01-09 Thread Chen-Yu Tsai
Hi, On Fri, Jan 10, 2014 at 1:19 AM, Maxime Ripard wrote: > The Allwinner A31 SoC using that IP has a reset controller maintaining > it reset unless told otherwise. > > Add some optional reset support to the driver. > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/i2c/