Re: [linux-sunxi] Re: Upstreaming sunxi mmc support

2013-12-29 Thread Maxime Ripard
come from the DT as well. I guess Emilio has some work :) Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH 0/4] clk: sunxi: add A20 external output clock support

2013-12-30 Thread Maxime Ripard
Hi Mike, On Sun, Dec 29, 2013 at 01:56:33PM -0800, Mike Turquette wrote: Quoting Maxime Ripard (2013-12-29 12:59:27) Hi Chen-Yu, On Mon, Dec 23, 2013 at 04:37:02PM +0800, Chen-Yu Tsai wrote: Hi everyone, This patch series adds support for the Allwinner A20's 2 external clock

[linux-sunxi] Re: [PATCH v2 2/5] input: sun4i-ts: Add support for temperature sensor

2013-12-31 Thread Maxime Ripard
to the controller. Custom properties are also supposed to be prefixed by the vendor prefix. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH] sunxi: select RESET_CONTROLLER as needed to build

2014-01-01 Thread Maxime Ripard
/sunxi-bsp/linux-sunxi/arch/arm/mach-sunxi/sunxi.c:143: undefined reference to `sun6i_reset_init' The dependency on the reset controller from sunxi code seems to have been introduced in the following commits: commit ad1d38d0c5b96bb2ad3dee0123e89dd22836ad26 Author: Maxime Ripard maxime.rip

[linux-sunxi] Re: [PATCH v3 3/5] ARM: dts: sun4i: Add rtp controller node

2014-01-01 Thread Maxime Ripard
On Tue, Dec 31, 2013 at 05:20:50PM +0100, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Applied, together with the patch 4/5 and 5/5, in my sunxi/dt-for-3.14 branch. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http

[linux-sunxi] Re: [PATCHv2 1/1] ARM: sunxi: select ARM_PSCI

2014-01-01 Thread Maxime Ripard
the additionnal cores. Signed-off-by: Signed-off-by: Zalan Blenessy zalan.blene...@gmail.com Thanks! Applied in sunxi/core-for-3.14. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 5/5] ARM: dts: sun7i: Add pin muxing options for clock outputs

2014-01-01 Thread Maxime Ripard
Wifi+BT module. Signed-off-by: Chen-Yu Tsai w...@csie.org Applied to sunxi/dt-for-3.14. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 2/5] ARM: dts: sun7i: Change 32768 Hz oscillator node name to clk@N style

2014-01-01 Thread Maxime Ripard
On Wed, Jan 01, 2014 at 10:30:47AM +0800, Chen-Yu Tsai wrote: Device tree naming conventions state that node names should match the nodes function. Change external low speed oscillator node name to match. Signed-off-by: Chen-Yu Tsai w...@csie.org Applied, thanks! Maxime -- Maxime Ripard

[linux-sunxi] Re: [PATCH v2 2/4] ARM: dts: sun7i: external clock outputs

2014-01-01 Thread Maxime Ripard
Hi, On Tue, Dec 31, 2013 at 10:12:50AM +0800, Chen-Yu Tsai wrote: Mind if I add a patch enabling i2c0 on CubieTruck? I noticed it was missing when I helped Carlo with AXP209 stuff. Feel free to submit anything you think is relevant :) Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded

[linux-sunxi] Re: [PATCH v3 3/5] ARM: dts: sun7i: external clock outputs

2014-01-01 Thread Maxime Ripard
, is the 24MHz oscillator divided by 750. Signed-off-by: Chen-Yu Tsai w...@csie.org I'm ok with this patch, but I'll let Emilio and Mike give their opinion on the driver before merging it. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

[linux-sunxi] Re: [PATCH 1/4] input: Add new sun4i-lradc-keys drivers

2014-01-02 Thread Maxime Ripard
as the button voltage, to get rid of both the chan0-step property, and those big fat arrays in the driver. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH 1/4] input: Add new sun4i-lradc-keys drivers

2014-01-03 Thread Maxime Ripard
On Thu, Jan 02, 2014 at 12:38:31PM -0800, Dmitry Torokhov wrote: On Thu, Jan 02, 2014 at 09:20:22PM +0100, Maxime Ripard wrote: On Thu, Jan 02, 2014 at 02:45:29PM +0100, Hans de Goede wrote: Also, instead of inventing yet another vendor-specific property, why not re-use a button

[linux-sunxi] Re: [PATCH 1/4] input: Add new sun4i-lradc-keys drivers

2014-01-03 Thread Maxime Ripard
On Thu, Jan 02, 2014 at 11:36:33PM +0100, Hans de Goede wrote: Hi, On 01/02/2014 09:20 PM, Maxime Ripard wrote: On Thu, Jan 02, 2014 at 02:45:29PM +0100, Hans de Goede wrote: Also, instead of inventing yet another vendor-specific property, why not re-use a button binding similar to gpio

[linux-sunxi] Re: [lm-sensors] [PATCH v3 2/5] input: sun4i-ts: Add support for temperature sensor

2014-01-06 Thread Maxime Ripard
of the binding. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2 3/8] clk: sunxi: get divs parent clock name from parent factor clock

2014-01-07 Thread Maxime Ripard
...@csie.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2 4/8] arm: dts: sun4i: rename clock node names to clk@N

2014-01-07 Thread Maxime Ripard
- or use strchr to take anyhing until '_' and use that as a name -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH 1/3] reset: Add of_reset_control_get

2014-01-08 Thread Maxime Ripard
On Wed, Jan 08, 2014 at 12:11:34PM +0100, Philipp Zabel wrote: Am Mittwoch, den 08.01.2014, 11:38 +0100 schrieb Maxime Ripard: On Mon, Jan 06, 2014 at 06:42:51PM +0100, Philipp Zabel wrote: Am Samstag, den 21.12.2013, 09:42 +0100 schrieb Thomas Petazzoni: Maxime, Philipp, On Fri

Re: [linux-sunxi] [ANNOUNCE] sunxi-babelfish (FEX-to-DT translator)

2014-01-08 Thread Maxime Ripard
On Wed, Jan 08, 2014 at 04:55:37PM +, Ian Campbell wrote: On Tue, 2014-01-07 at 23:03 +0100, Maxime Ripard wrote: Another nice thing about it is that a FEX-to-DT compiler comes at no cost afterwards. Since dtc is able to generate a DTS from /proc/device-tree, you can easily generate

[linux-sunxi] [PATCH 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-01-09 Thread Maxime Ripard
Maxime Ripard (5): i2c: mv64xxx: Add reset deassert call i2c: mv64xxx: Add support for the Allwinner A31 I2C driver ARM: sun6i: Enable the I2C controllers ARM: sun6i: Enable the I2C muxing options ARM: sun6i: colombus: Enable the I2C controllers .../devicetree/bindings/i2c/i2c-mv64xxx.txt

[linux-sunxi] [PATCH 4/5] ARM: sun6i: Enable the I2C muxing options

2014-01-09 Thread Maxime Ripard
The i2c controllers have a few muxing options on the A31. Enable the ones found in the A31 Colombus board. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot

[linux-sunxi] [PATCH 2/5] i2c: mv64xxx: Add support for the Allwinner A31 I2C driver

2014-01-09 Thread Maxime Ripard
The Allwinner A31 I2C controller is almost identical to the one used in the other Allwinner SoCs, except for the fact that it needs to clear the interrupt by setting the INT_FLAGS bit in the control register, instead of clearing it. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] [PATCH 5/5] ARM: sun6i: colombus: Enable the I2C controllers

2014-01-09 Thread Maxime Ripard
-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31-colombus.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-colombus.dts b/arch/arm/boot/dts/sun6i-a31-colombus.dts index e5adae3..3898a7b 100644 --- a/arch

[linux-sunxi] [PATCH 3/5] ARM: sun6i: Enable the I2C controllers

2014-01-09 Thread Maxime Ripard
The A31 has 4 I2C controllers that are the same than the one in the other Allwinner SoCs, except for the fact that they are asserted in reset by the reset unit. Add these i2c controllers to the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31

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

2014-01-09 Thread Maxime Ripard
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 maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt | 1 + drivers/i2c/busses

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

2014-01-10 Thread Maxime Ripard
Hi, On Fri, Jan 10, 2014 at 01:48:41PM +0800, Chen-Yu Tsai wrote: On Fri, Jan 10, 2014 at 1:19 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The Allwinner A31 SoC using that IP has a reset controller maintaining it reset unless told otherwise. Add some optional reset support

[linux-sunxi] Re: [PATCH] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-13 Thread Maxime Ripard
, it should be the prefix in the compatible. Otherwise, it looks very good, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] [PATCH v2 2/5] i2c: mv64xxx: Add support for the Allwinner A31 I2C driver

2014-01-13 Thread Maxime Ripard
The Allwinner A31 I2C controller is almost identical to the one used in the other Allwinner SoCs, except for the fact that it needs to clear the interrupt by setting the INT_FLAGS bit in the control register, instead of clearing it. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] [PATCH v2 3/5] ARM: sun6i: Enable the I2C controllers

2014-01-13 Thread Maxime Ripard
The A31 has 4 I2C controllers that are the same than the one in the other Allwinner SoCs, except for the fact that they are asserted in reset by the reset unit. Add these i2c controllers to the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31

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

2014-01-13 Thread Maxime Ripard
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 maxime.rip...@free-electrons.com --- .../devicetree/bindings/i2c/i2c-mv64xxx.txt | 1 + drivers/i2c/busses

[linux-sunxi] [PATCH v2 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-01-13 Thread Maxime Ripard
Changes from v1: - Handle EPROBE_DEFER from the reset framework - Put the device back in reset at remove/failed probe - Document the newly introduced compatible string Maxime Ripard (5): i2c: mv64xxx: Add reset deassert call i2c: mv64xxx: Add support for the Allwinner A31 I2C driver ARM

[linux-sunxi] Re: [PATCH v3 3/8] clk: sunxi: add names for pll5, pll6 parent clocks to factors_data

2014-01-14 Thread Maxime Ripard
Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 1/8] clk: sunxi: add clock-output-names dt property support

2014-01-14 Thread Maxime Ripard
...@csie.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 2/8] clk: sunxi: update clock-output-names dt binding documentation

2014-01-15 Thread Maxime Ripard
-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-15 Thread Maxime Ripard
pcDuino This patch will add a basic board support DT for the LinkSprite pcDuino board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu Queued in sunxi/dt-for-3.15 Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

[linux-sunxi] Re: [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-15 Thread Maxime Ripard
This patch will add a basic board support DT for the LinkSprite pcDuino board. Signed-off-by: Zoltan HERPAI wigy...@uid0.hu Just a minor comment though, please use git send-email in the future to send your patches. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

Re: [linux-sunxi] [PATCH] pinctrl: sunxi: Honor GPIO output initial vaules

2014-01-15 Thread Maxime Ripard
suggested. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH] ARM: dts: sun7i: add pin muxing options for UART2

2014-01-15 Thread Maxime Ripard
On Tue, Jan 14, 2014 at 10:49:50PM +0800, Chen-Yu Tsai wrote: UART2 is used on CubieTruck to connect to the Bluetooth module. Add the pin set used in this case. Signed-off-by: Chen-Yu Tsai w...@csie.org Queued for 3.15, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

[linux-sunxi] Re: [PATCH] ARM: sunxi: Add driver for sunxi usb phy

2014-01-15 Thread Maxime Ripard
() here instead of having an ever-growing list of if-else statements? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2] pinctrl: sunxi: Honor GPIO output initial vaules

2014-01-16 Thread Maxime Ripard
On Thu, Jan 16, 2014 at 02:34:23PM +0800, Chen-Yu Tsai wrote: Some GPIO users, such as fixed-regulator, request GPIO output with initial value of 1. This was ignored by sunxi driver. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Could you

[linux-sunxi] [PATCH 4/4] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI

2014-01-16 Thread Maxime Ripard
The A31 has 4 SPI controllers. Add them in the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot

[linux-sunxi] [PATCH 3/4] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-16 Thread Maxime Ripard
The Allwinner A31 has a new SPI controller IP compared to the older Allwinner SoCs. It supports DMA, but the driver only does PIO for now, and DMA will be supported eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/spi/spi-sun6i.txt

[linux-sunxi] [PATCH 2/4] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-16 Thread Maxime Ripard
The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use by the SPI controllers. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 48

[linux-sunxi] Re: [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-17 Thread Maxime Ripard
Hi Arnd, On Wed, Jan 15, 2014 at 10:40:56AM +0100, Arnd Bergmann wrote: On Wednesday 15 January 2014 10:10:06 Maxime Ripard wrote: On Thu, Jan 09, 2014 at 04:34:04PM +0100, Gerardo Di Iorio wrote: Change the AllWinner A1X SOCs to Allwinner Sunxi SOCs Signed-off-by: Gerardo Di Iorio

[linux-sunxi] Re: [PATCH 2/4] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-17 Thread Maxime Ripard
Hi Josh, On Thu, Jan 16, 2014 at 12:15:28PM -0600, Josh Cartwright wrote: On Thu, Jan 16, 2014 at 06:11:23PM +0100, Maxime Ripard wrote: The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use

[linux-sunxi] Re: [PATCH] sunxi: dts: add a note that memory size is adjusted by boot loader.

2014-01-27 Thread Maxime Ripard
have DT-enabled u-boot for now. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-01-27 Thread Maxime Ripard
Hi Wolfram, On Mon, Jan 13, 2014 at 11:34:48AM +0100, Maxime Ripard wrote: Hi everyone, This patchset adds support the A31 i2c controller. This is mostly the same controller as the one found in the other Allwinner SoCs, except for the interrupts acking. On the other SoCs using

[linux-sunxi] Re: [PATCH v2 0/5] clk: sunxi: Add support for USB clocks and reset bits

2014-01-27 Thread Maxime Ripard
for Mike for 3.15 ? Maxime, can you add patch 3-5 which add the dt bindings for this to your tree please ? Apart from the comments I had on patch 2, it looks good for me. Once we agree on something, you have my Acked-by. Thanks for working on this! Maxime -- Maxime Ripard, Free Electrons

[linux-sunxi] Re: [PATCH RFC 4/6] net: rfkill: gpio: add device tree support

2014-01-27 Thread Maxime Ripard
+- NAME_shutdown-gpios: GPIO phandle to shutdown control + (phandle must be the second) Can't it be handled by a regulator? +- NAME_reset-gpios : GPIO phandle to reset control And this one using the reset framework? Maxime -- Maxime Ripard, Free Electrons Embedded Linux

[linux-sunxi] Re: [PATCH 1/4] clk: sunxi: Add support for PLL6 on the A31

2014-01-27 Thread Maxime Ripard
Hi Mike, On Fri, Jan 17, 2014 at 02:14:02PM -0800, Mike Turquette wrote: Quoting Maxime Ripard (2014-01-16 09:11:22) The A31 has a slightly different PLL6 clock. Add support for this new clock in our driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com This looks

[linux-sunxi] Re: [PATCH v2 2/5] clk: sunxi: Add USB clock register defintions

2014-01-28 Thread Maxime Ripard
clocks are a bit more than that. - the other gates' gating bits thus all start at bit 0, while here, since it's kind of a mixed clock, the gating bits start at bit 6 (on the A20 at least) -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free

[linux-sunxi] Re: [PATCH v3 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-01-28 Thread Maxime Ripard
but is there any other way to manage the NMI without the driver of the device connected to NMI having to worry about acking/masking/unmasking/ etc..? Yes, just declare a raw irqchip. Pretty much like we do on irq-sun4i for example. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux

[linux-sunxi] Re: [PATCH v3 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-01-28 Thread Maxime Ripard
Hi, On Tue, Jan 28, 2014 at 12:02:23PM +0100, Hans de Goede wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 01/28/2014 11:40 AM, Maxime Ripard wrote: Jumping in here to try and clarify things, or so I hope at least :) Sure :) No, the IRQ from the PMIC is a level

[linux-sunxi] [PATCH v2 2/5] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-29 Thread Maxime Ripard
The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use by the SPI controllers. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 46

[linux-sunxi] [PATCH v2 4/5] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI

2014-01-29 Thread Maxime Ripard
The A31 has 4 SPI controllers. Add them in the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot

[linux-sunxi] [PATCH v2 1/5] clk: sunxi: Add support for PLL6 on the A31

2014-01-29 Thread Maxime Ripard
The A31 has a slightly different PLL6 clock. Add support for this new clock in our driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sunxi.c | 45 +++ 2

[linux-sunxi] [PATCH v2 5/5] ARM: sunxi: Enable A31 SPI and SID in the defconfig

2014-01-29 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/configs/sunxi_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 3e2259b..b5df4a5 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b

[linux-sunxi] [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-29 Thread Maxime Ripard
The Allwinner A31 has a new SPI controller IP compared to the older Allwinner SoCs. It supports DMA, but the driver only does PIO for now, and DMA will be supported eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/spi/spi-sun6i.txt

[linux-sunxi] Re: [PATCH v3 1/3] ARM: sun7i/sun6i: irqchip: Add irqchip driver for NMI controller

2014-01-29 Thread Maxime Ripard
On Tue, Jan 28, 2014 at 10:02:46PM +0100, Carlo Caione wrote: Hi, On Tue, Jan 28, 2014 at 5:41 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Tue, Jan 28, 2014 at 12:02:23PM +0100, Hans de Goede wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi

[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-29 Thread Maxime Ripard
On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote: +config SPI_SUN6I + tristate Allwinner A31 SPI controller + depends on ARCH_SUNXI || COMPILE_TEST + select PM_RUNTIME + help + This enables using

[linux-sunxi] Re: [PATCH v3 2/8] clk: sunxi: update clock-output-names dt binding documentation

2014-01-30 Thread Maxime Ripard
on clock-output-names (with it being the module name if it only has one output). Maxime, could we get your input on this? I didn't get it was a question for me. But I'm fine with both. If making clock-output-names mandatory makes our life easier, let's do it. Maxime -- Maxime Ripard, Free

[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Maxime Ripard
Hi Kevin, On Thu, Jan 30, 2014 at 03:52:16PM -0800, Kevin Hilman wrote: On Wed, Jan 29, 2014 at 5:32 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote

[linux-sunxi] [PATCH v3 1/5] clk: sunxi: Add support for PLL6 on the A31

2014-01-31 Thread Maxime Ripard
The A31 has a slightly different PLL6 clock. Add support for this new clock in our driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sunxi.c | 45 +++ 2

[linux-sunxi] [PATCH v3 4/5] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI

2014-01-31 Thread Maxime Ripard
The A31 has 4 SPI controllers. Add them in the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot

[linux-sunxi] Re: [PATCH v5 14/14] ARM: sun7i: dts: Add ahci / sata support

2014-01-31 Thread Maxime Ripard
; + reg = 0x01c18000 0x1000; + interrupts = 0 56 1; This is supposed to be a level triggered interrupt, not an edge triggered one. Thanks for your work! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free

[linux-sunxi] Re: [PATCH v5 13/14] ARM: sun4i: dts: Add ahci / sata support

2014-01-31 Thread Maxime Ripard
; + allwinner,pull = 0; + }; This should be under the pinctrl node. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Maxime Ripard
On Fri, Jan 31, 2014 at 12:48:09PM +, Mark Brown wrote: On Fri, Jan 31, 2014 at 11:55:50AM +0100, Maxime Ripard wrote: + master = devm_spi_alloc_master(pdev-dev, sizeof(struct sun6i_spi)); + if (!master) { + dev_err(pdev-dev, Unable to allocate SPI Master\n

Re: [linux-sunxi] Mainline and Headless devices

2014-01-31 Thread Maxime Ripard
or A20, network will work, some other features might not. Could you provide a bit more informations here? Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

Re: [linux-sunxi] Mainline and Headless devices

2014-02-03 Thread Maxime Ripard
shape now though, so it expect it to be merged in 3.15. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-03 Thread Maxime Ripard
, + sun7i_a20_gmac_clk_setup); + + + +/** * sunxi_factors_clk_setup() - Setup function for factor clocks */ -- 1.9.rc1 It looks fine otherwise. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc

[linux-sunxi] Re: [PATCH v3 2/8] ARM: dts: sun7i: Add GMAC clock node to sun7i DTSI

2014-02-03 Thread Maxime Ripard
. + */ If it depends on the external PHY, I guess that means it also depends on the board, right? Or is the GMAC supposed to always have that clock running at 25MHz, no matter what PHY is connected to it? Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http

[linux-sunxi] Re: [PATCH v3 8/8] ARM: dts: sun7i: Add ethernet alias for GMAC

2014-02-03 Thread Maxime Ripard
to the emac, and not the gmac. Since u-boot is totally able to deal with several ethernet addresses, please add it as ethernet1. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v3 2/8] ARM: dts: sun7i: Add GMAC clock node to sun7i DTSI

2014-02-04 Thread Maxime Ripard
On Tue, Feb 04, 2014 at 11:06:24AM +0800, Chen-Yu Tsai wrote: On Tue, Feb 4, 2014 at 3:34 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, Feb 03, 2014 at 11:32:20AM +0800, Chen-Yu Tsai wrote: The GMAC uses 1 of 2 sources for its transmit clock, depending on the PHY

[linux-sunxi] Re: [PATCH v3 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-04 Thread Maxime Ripard
On Tue, Feb 04, 2014 at 10:43:33AM +0800, Chen-Yu Tsai wrote: Hi, On Tue, Feb 4, 2014 at 3:31 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Mon, Feb 03, 2014 at 11:32:19AM +0800, Chen-Yu Tsai wrote: The Allwinner A20/A31 clock module controls the transmit clock

[linux-sunxi] Re: [PATCH v2 2/5] clk: sunxi: Add USB clock register defintions

2014-02-04 Thread Maxime Ripard
Hi Hans, On Tue, Jan 28, 2014 at 11:00:45AM +0100, Hans de Goede wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 01/28/2014 10:44 AM, Maxime Ripard wrote: On Mon, Jan 27, 2014 at 03:54:14PM +0100, Hans de Goede wrote: allwinner,sun5i-a13-usb-gates-clk - for usb gates

[linux-sunxi] Re: [PATCH v5 13/14] ARM: sun4i: dts: Add ahci / sata support

2014-02-04 Thread Maxime Ripard
On Mon, Feb 03, 2014 at 11:35:14AM +0100, Hans de Goede wrote: Hi, On 01/31/2014 02:45 PM, Maxime Ripard wrote: Hi Hans, On Wed, Jan 22, 2014 at 08:04:48PM +0100, Hans de Goede wrote: From: Oliver Schinagl oli...@schinagl.nl This patch adds sunxi sata support to A10 boards that have

[linux-sunxi] [PATCH v4 4/5] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI

2014-02-05 Thread Maxime Ripard
The A31 has 4 SPI controllers. Add them in the DTSI. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot

[linux-sunxi] [PATCH v4 2/5] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-02-05 Thread Maxime Ripard
The module clocks in the A31 are still compatible with the A10 one. Add the SPI module clocks and the PLL6 in the device tree to allow their use by the SPI controllers. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 46

[linux-sunxi] [PATCH v4 1/5] clk: sunxi: Add support for PLL6 on the A31

2014-02-05 Thread Maxime Ripard
The A31 has a slightly different PLL6 clock. Add support for this new clock in our driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sunxi.c | 45 +++ 2

[linux-sunxi] [PATCH v4 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-02-05 Thread Maxime Ripard
The Allwinner A31 has a new SPI controller IP compared to the older Allwinner SoCs. It supports DMA, but the driver only does PIO for now, and DMA will be supported eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/spi/spi-sun6i.txt

[linux-sunxi] Re: [PATCH v2 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-02-06 Thread Maxime Ripard
On Mon, Jan 27, 2014 at 04:03:12PM +0100, Maxime Ripard wrote: Hi Wolfram, On Mon, Jan 13, 2014 at 11:34:48AM +0100, Maxime Ripard wrote: Hi everyone, This patchset adds support the A31 i2c controller. This is mostly the same controller as the one found in the other Allwinner SoCs

[linux-sunxi] Re: [PATCH v2 2/5] clk: sunxi: Add USB clock register defintions

2014-02-07 Thread Maxime Ripard
On Tue, Feb 04, 2014 at 11:14:44AM +0100, Hans de Goede wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 02/04/2014 10:40 AM, Maxime Ripard wrote: Hi Hans, On Tue, Jan 28, 2014 at 11:00:45AM +0100, Hans de Goede wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

[linux-sunxi] Re: [PATCH v3 2/5] clk: sunxi: Add USB clock register defintions

2014-02-07 Thread Maxime Ripard
= sun4i_usb_gates_data,}, + {.compatible = allwinner,sun5i-a13-usb-clk, .data = sun5i_a13_usb_gates_data,}, {} }; -- 1.8.4.2 -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v4 0/8] ARM: sunxi: rename DT clock node names to clk@N

2014-02-07 Thread Maxime Ripard
sharing registers are not renamed. Renamed clock nodes have clock-output-names properties added to desginate their names. Support for this is added in the first patch. Applied the last 4 patches to sunxi/dt-for-3.15. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

[linux-sunxi] Re: [PATCH v4 0/5] Add Allwinner A31 SPI controller support

2014-02-07 Thread Maxime Ripard
On Wed, Feb 05, 2014 at 02:05:02PM +0100, Maxime Ripard wrote: Hi everyone, This patchset brings support for the SPI controller found in the Allwinner A31 SoC. Even though the controller supports DMA, the driver only supports PIO mode for now. This driver will be used to bring up and test

[linux-sunxi] Re: [PATCH v4 1/5] clk: sunxi: Add support for USB clock-register reset bits

2014-02-07 Thread Maxime Ripard
-by: Hans de Goede hdego...@redhat.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v4 2/5] clk: sunxi: Add USB clock register defintions

2014-02-07 Thread Maxime Ripard
-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v4 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-10 Thread Maxime Ripard
-by: Maxime Ripard maxime.rip...@free-electrons.com Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v4 0/8] Add Allwinner A20 GMAC ethernet support

2014-02-10 Thread Maxime Ripard
of the TX clock used by GMAC. Just merged patches 2-8. Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH 2/3] mfd: axp20x: Add dtsi for axp20x

2014-02-10 Thread Maxime Ripard
,axp20x; + interrupt-controller; + #interrupt-cells = 1; +}; Hmmm, this refers to an undefined node, I can't see this DTSI used anywhere, and why do you need a DTSI of its own in the first place? Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android

[linux-sunxi] Re: [PATCH 1/3] mfd: axp20x: Add mfd driver for axp20x PMIC

2014-02-10 Thread Maxime Ripard
i2c_client *i2c_client; + struct regmap *regmap; + struct regmap_irq_chip_data *regmap_irqc; + int variant; + int irq; +}; + +#endif /* __LINUX_MFD_AXP20X_H */ -- 1.8.5.3 -- Maxime

[linux-sunxi] Re: [PATCH 3/3] mfd: axp20x: Add bindings documentation

2014-02-10 Thread Maxime Ripard
; + regulator-max-microvolt = 330; + }; + }; +}; -- 1.8.5.3 Thanks for working on this! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2] ARM: sunxi: Add driver for sunxi usb phy

2014-02-10 Thread Maxime Ripard
Hi, On Sat, Feb 08, 2014 at 12:27:42AM +0100, Hans de Goede wrote: Hi, On 02/07/2014 11:36 PM, Maxime Ripard wrote: Hi Hans, It looks very nice, I just have a few comments below though. On Fri, Feb 07, 2014 at 05:33:21PM +0100, Hans de Goede wrote: The Allwinner A1x / A2x SoCs have 2

Re: [linux-sunxi] Re: [PATCH 3/3] mfd: axp20x: Add bindings documentation

2014-02-10 Thread Maxime Ripard
(with the same constrains) Ok. What's the difference between the two then? Thanks, -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH 2/2] ehci-platform: Change compatible string from usb-ehci to ehci-platform

2014-02-12 Thread Maxime Ripard
to work looks very fragile. I'd be in favour of removing it from the OMAP DTs, and every affected DTs. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

Re: [linux-sunxi] UART1 on A13-olinuxino not working through GPIO

2014-02-14 Thread Maxime Ripard
a way of debugging it? Please tell what you're trying to do exactly, what issues are you facing, and paste your custom device tree. Thanks! -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v2 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-02-17 Thread Maxime Ripard
Hi Wolfram, On Mon, Jan 13, 2014 at 11:34:48AM +0100, Maxime Ripard wrote: Hi everyone, This patchset adds support the A31 i2c controller. This is mostly the same controller as the one found in the other Allwinner SoCs, except for the interrupts acking. On the other SoCs using

[linux-sunxi] Re: [PATCH v2 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-02-17 Thread Maxime Ripard
On Mon, Feb 17, 2014 at 03:26:12PM +0100, Wolfram Sang wrote: It's been over a month now, and no sign of life from you on this patch so far... Should I just take this patchset through my tree? :) Nope. Then please review those 40 lines of code. -- Maxime Ripard, Free Electrons Embedded

[linux-sunxi] Re: [PATCH 3/4] pinctrl-sunxi: Fix masking when setting irq type

2014-02-17 Thread Maxime Ripard
Hi, On Mon, Feb 17, 2014 at 10:19:43PM +0100, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

[linux-sunxi] Re: [PATCH 4/4] pinctrl-sunxi: Fix interrupt register offset calculation

2014-02-18 Thread Maxime Ripard
On Mon, Feb 17, 2014 at 10:19:44PM +0100, Hans de Goede wrote: This fixing setting the interrupt type for eints = 8. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android

[linux-sunxi] Re: [PATCH v7 1/8] clk: sunxi: factors: automatic reparenting support

2014-02-18 Thread Maxime Ripard
. Once you added it, you can add my Acked-by Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

  1   2   3   4   5   6   7   8   9   10   >