Re: [linux-sunxi] Fosdem sunxi developers dinner Saturday Feb 2nd, Brussels

2013-12-19 Thread Hans de Goede
Hi, On 12/19/2013 09:18 AM, Carlo Caione wrote: On Wed, Dec 11, 2013 at 9:27 AM, Hans de Goede hdego...@redhat.com wrote: Hi All, Together with Oliver and Tsvetan I'm organizing a Fosdem dinner for sunxi developers on Saturday evening. in the subject s/2nd/1st/ :) Oh yes, you're

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

2013-12-19 Thread Hans de Goede
Hi, On 12/19/2013 10:49 PM, Юрий Пухальский wrote: Good UTC night! Got somewhat further, yet still there are problems. Is there anything i should change in kernel cmdline maybe? Is this a sun5i device, iow A10s or A13 SOC based ? If so you need to build and boot with my sunxi-next u-boot

Re: [linux-sunxi] mmc errors

2013-12-20 Thread Hans de Goede
Hi, On 12/20/2013 04:30 PM, Jonathan Aquilina wrote: Hey guys I am getting these errors 3[mmc-err] smc 0 err, cmd 52, RTO [4.099702] [mmc-err] smc 0 err, cmd 52, RTO 3[mmc-err] smc 0 err, cmd 52, RTO [4.108190] [mmc-err] smc 0 err, cmd 52, RTO 6[mmc-msg] sdc0 set ios: clk 40Hz

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

2013-12-23 Thread Hans de Goede
Hi, On 12/23/2013 08:28 AM, Olliver Schinagl wrote: On 21-12-13 13:15, Hans de Goede wrote: Hi, On 12/20/2013 11:52 PM, Maxime Ripard wrote: Hi Hans, On Fri, Dec 20, 2013 at 08:22:56PM +0100, Hans de Goede wrote: Hi, On 12/20/2013 09:33 AM, Maxime Ripard wrote: Hi Hans, On Fri, Dec 20

Re: [linux-sunxi] [PATCH] gpio: sunxi: Add interrupt (eint) definitions for A10s SoC

2013-12-26 Thread Hans de Goede
Hi, On 12/26/2013 06:37 PM, Tomas Novotny wrote: Interrupt definitions are taken from the A10s datasheet. Tested on A10s-OLinuXino-MICRO. Signed-off-by: Tomas Novotny novo...@rehivetech.com Looks good: Acked-by: Hans de Goede hdego...@redhat.com Regards, Hans --- drivers/gpio/gpio

[linux-sunxi] [PATCH v2 1/5] input: Add new sun4i-ts driver for Allwinner sunxi SoC's rtp controller

2013-12-27 Thread Hans de Goede
straight forward, reliable single touch functionality only. Signed-off-by: Hans de Goede hdego...@redhat.com --- .../bindings/input/touchscreen/sun4i.txt | 15 ++ drivers/input/touchscreen/Kconfig | 10 + drivers/input/touchscreen/Makefile | 1 + drivers

[linux-sunxi] [PATCH v2 0/5] input: Add new sun4i-ts driver for Allwinner sunxi

2013-12-27 Thread Hans de Goede
Hi Dimitri et al, Here is v2 of my sun4i-ts patch-set. Changes since v1: -Use devm_kzalloc and devm_hwmon_device_register_with_groups as suggested by Guenter Roeck -Various small cleanups suggested by Thomas Petazzoni -Add open/close methods and enable/disable the input related interrupts from

Re: [linux-sunxi] [PATCH 3.4] sunxi: Simplify and unify the __phys_to_bus/__bus_to_phys macros

2013-12-30 Thread Hans de Goede
: Acked-by: Hans de Goede hdego...@redhat.com Regards, Hans --- arch/arm/plat-sunxi/include/plat/memory.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm/plat-sunxi/include/plat/memory.h b/arch/arm/plat-sunxi/include/plat/memory.h index 20c27bd..42a4afa

Re: [linux-sunxi] Re: New sunxi-next tree with usb (ehci only), hs timers, and other stuff.

2013-12-31 Thread Hans de Goede
Hi, On 12/31/2013 12:11 PM, Tim Fletcher wrote: On 31/12/13 09:39, Hans de Goede wrote: Hi, On 12/30/2013 07:51 PM, Tim Fletcher wrote: On 22/12/13 12:57, Hans de Goede wrote: Hi, On 12/22/2013 12:21 AM, Michal Suchanek wrote: Actually sun7i smp conflicts badly with the sun6i smp .. so

Re: [linux-sunxi] Re: New sunxi-next tree with usb (ehci only), hs timers, and other stuff.

2013-12-31 Thread Hans de Goede
Hi, On 12/31/2013 12:51 PM, Tim Fletcher wrote: On 31/12/13 11:36, Hans de Goede wrote: Hi, On 12/31/2013 12:11 PM, Tim Fletcher wrote: On 31/12/13 09:39, Hans de Goede wrote: Hi, On 12/30/2013 07:51 PM, Tim Fletcher wrote: On 22/12/13 12:57, Hans de Goede wrote: Hi, On 12/22/2013 12:21

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

2013-12-31 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 3231789..68e825a 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm

[linux-sunxi] [PATCH 2/4] ARM: dts: sun4i: Add lradc node

2014-01-01 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 502f3e2..88f119a 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm

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

2014-01-01 Thread Hans de Goede
there are no boards known to use chan1. The devicetree properties are already prefixed with chan0 as preparation for chan1 support in the future. This has been tested on an olimex a10s-olinuxino-micro, a13-olinuxino, and a20-olinuxino-micro. Signed-off-by: Hans de Goede hdego...@redhat.com

[linux-sunxi] [PATCH 3/4] ARM: dts: sun5i: Add lradc node

2014-01-01 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 7 +++ arch/arm/boot/dts/sun5i-a10s.dtsi| 7 +++ arch/arm/boot/dts/sun5i-a13-olinuxino.dts| 7 +++ arch/arm/boot/dts/sun5i-a13.dtsi | 7

[linux-sunxi] [PATCH 4/4] ARM: dts: sun7i: Add lradc node

2014-01-01 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 7 +++ arch/arm/boot/dts/sun7i-a20.dtsi| 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts/sun7i

Re: [linux-sunxi] [PATCH 3.4] sunxi: Enable ZONE_DMA for sun4i and sun5i (dma_zone_size=256MB)

2014-01-02 Thread Hans de Goede
Hi, On 01/02/2014 12:57 AM, Siarhei Siamashka wrote: snip Maybe just send a mail to the relevant upstream list explaining we've an ip block which (seems) to be limited to dma below 256MB and needs cma, so we want a cma block below 256MB, but we don't want to set the DMA_ZONE for the entire

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

2014-01-02 Thread Hans de Goede
Hi, On 01/01/2014 09:56 PM, Dmitry Torokhov wrote: Hi Hans, On Wed, Jan 01, 2014 at 08:30:07PM +0100, Hans de Goede wrote: +Required properties: + - compatible: allwinner,sun4i-lradc-keys + - reg: mmio address range of the chip + - interrupts: interrupt to which the chip is connected

[linux-sunxi] [PATCH v2 0/4] input: Add new sun4i-lradc-keys driver

2014-01-02 Thread Hans de Goede
Hi Dimitri et al, Here is v2 of the sun4i-lradc-keys driver, changes since v1: - Use include/dt-bindings/input/input.h - Rename the keycodes property to linux,chan0-keycodes Regards, Hans -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To

[linux-sunxi] [PATCH v2 3/4] ARM: dts: sun5i: Add lradc node

2014-01-02 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 8 arch/arm/boot/dts/sun5i-a10s.dtsi| 7 +++ arch/arm/boot/dts/sun5i-a13-olinuxino.dts| 8 arch/arm/boot/dts/sun5i-a13.dtsi | 7

[linux-sunxi] [PATCH v2 4/4] ARM: dts: sun7i: Add lradc node

2014-01-02 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 9 + arch/arm/boot/dts/sun7i-a20.dtsi| 7 +++ 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts b/arch/arm/boot/dts

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

2014-01-02 Thread Hans de Goede
there are no boards known to use chan1. The devicetree properties are already prefixed with chan0 as preparation for chan1 support in the future. This has been tested on an olimex a10s-olinuxino-micro, a13-olinuxino, and a20-olinuxino-micro. Signed-off-by: Hans de Goede hdego...@redhat.com

Re: [linux-sunxi] ARM: PSCI: fix PSCI DT nodes generation failure

2014-01-02 Thread Hans de Goede
Hi, On 01/02/2014 06:42 AM, Ma Haijun wrote: Hi, This patch fix non-boot CPU bringing up failure due to lack of PSCI node, which is reported by Tim Fletcher. It is patched against the sunxi-next branch of https://github.com/jwrdegoede/u-boot-sunxi.git Thanks, added to my sunxi-next branch

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

2014-01-02 Thread Hans de Goede
Hi, On 01/02/2014 12:59 PM, Heiko Stübner wrote: Hi Hans, Dmitry, Am Donnerstag, 2. Januar 2014, 10:37:47 schrieb Hans de Goede: Hi, On 01/01/2014 09:56 PM, Dmitry Torokhov wrote: Hi Hans, On Wed, Jan 01, 2014 at 08:30:07PM +0100, Hans de Goede wrote: +Required properties: + - compatible

[linux-sunxi] Re: Upstreaming sunxi mmc support

2014-01-02 Thread Hans de Goede
Hi, On 01/02/2014 02:09 AM, David Lanzendörfer wrote: Hi Hans, Maxime et al, I've made a first approach to incorporate the changes we've disscussed. I'm not quite done yet. You can have a look at it under: http://git.o2s.ch/?p=linux-next.git;a=shortlog;h=refs/heads/20131224 My recent issue: I

[linux-sunxi] sunxi-devel branch updated to 3.13-rc6

2014-01-02 Thread Hans de Goede
Hi All, I've just updated: https://github.com/linux-sunxi/linux-sunxi/commits/sunxi-devel to 3.13-rc6. Also new is an updated version of the mmc driver (mostly cosmetic fixes to get it ready for upstream) and a sun4i-lradc-keys driver The sunxi-devel branch now contains 3.13-rc6 + the

Re: [linux-sunxi] [PATCH] sunxi: Add Inet K70HC device

2014-01-02 Thread Hans de Goede
Hi, On 01/02/2014 12:37 PM, Luc Verhaegen wrote: Signed-off-by: Luc Verhaegen l...@skynet.be Thanks, added to the u-boot-sunxi git repo sunxi branch. Regards, Hans --- board/sunxi/Makefile |1 + board/sunxi/dram_inet_k70hc.c | 31 +++

Re: [linux-sunxi] FOSDEM 2014, what do we want

2014-01-02 Thread Hans de Goede
Hi, On 01/01/2014 10:55 PM, Oliver Schinagl wrote: On 01/01/14 14:13, Tim Fletcher wrote: On 01/01/14 13:06, Oliver Schinagl wrote: Hey list, as you should remember, I applied for FOSDEM and got accepted. As I'm working on the presentation, I am curious what you guys think others would be

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

2014-01-02 Thread Hans de Goede
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-keys like: lradc: lradc@01c22800

Re: [linux-sunxi] [PATCH] a20: fix up inet_k70hc wifi

2014-01-03 Thread Hans de Goede
Hi, On 01/03/2014 02:05 AM, Luc Verhaegen wrote: On Fri, Jan 03, 2014 at 02:01:54AM +0100, Luc Verhaegen wrote: Signed-off-by: Luc Verhaegen l...@skynet.be --- sys_config/a20/inet_k70hc.fex |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) With this patch on top, i think

[linux-sunxi] [PATCH v2 3/4] ARM: sun4i: dts: Add ahci / sata support

2014-01-04 Thread Hans de Goede
From: Oliver Schinagl oli...@schinagl.nl This patch adds sunxi sata support to A10 boards that have such a connector. Some boards also feature a regulator via a GPIO and support for this is also added. Signed-off-by: Olliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego

[linux-sunxi] [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-04 Thread Hans de Goede
by Hans de Goede. Signed-off-by: Olliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego...@redhat.com --- .../devicetree/bindings/ata/ahci-sunxi.txt | 24 ++ drivers/ata/Kconfig| 9 + drivers/ata/Makefile | 1

[linux-sunxi] [PATCH v2 4/4] ARM: sun7i: dts: Add ahci / sata support

2014-01-04 Thread Hans de Goede
This patch adds sunxi sata support to A20 boards that have such a connector. Some boards also feature a regulator via a GPIO and support for this is also added. Signed-off-by: Olliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20

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

2014-01-04 Thread Hans de Goede
Hi, On 01/03/2014 10:51 PM, David Lanzendörfer wrote: Hi Hi David, in the patch Hans noted, it seems you missed mmc3 when renaming compatibles for sun7i-a20.dtsi. Looking forward to this getting into mainline. Need it for WiFi. :) I've uploaded the changes you've requested:

[linux-sunxi] Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-04 Thread Hans de Goede
Hi, On 01/04/2014 10:39 PM, Arnd Bergmann wrote: On Saturday 04 January 2014 10:14:36 Hans de Goede wrote: diff --git a/Documentation/devicetree/bindings/ata/ahci-sunxi.txt b/Documentation/devicetree/bindings/ata/ahci-sunxi.txt new file mode 100644 index 000..0792fa5 --- /dev/null +++ b

[linux-sunxi] Experimental sunxi-devel branch with updated ehci driver using a separate phy driver.

2014-01-04 Thread Hans de Goede
Hi Arokux et al, So I've been working on cleaning up the sunxi-ehci support by writing a separate phy driver for the usbphy part of the SoC. This is turning out quite nicely, for those interested you can find my wip here: Note only tested on sun7i sofar, and the sun4i / sun5i dt bits aren't

[linux-sunxi] Re: Experimental sunxi-devel branch with updated ehci driver using a separate phy driver.

2014-01-05 Thread Hans de Goede
Hi, On 01/05/2014 11:56 AM, Arokux X wrote: Hello Hans, On Sun, Jan 5, 2014 at 12:48 AM, Hans de Goede hdego...@redhat.com wrote: Hi Arokux et al, So I've been working on cleaning up the sunxi-ehci support by writing a separate phy driver for the usbphy part of the SoC. This is turning out

[linux-sunxi] Re: [PATCH v2 2/4] ARM: sunxi: Add ahci-sunxi driver for the Allwinner SUNXi SoCs sata

2014-01-05 Thread Hans de Goede
Hi, On 01/05/2014 01:42 PM, Olliver Schinagl wrote: On 01/04/14 22:47, Arnd Bergmann wrote: On Saturday 04 January 2014 22:39:50 Arnd Bergmann wrote: +Required properties: +- compatible : compatible list, contains allwinner,sun4i-a10-ahci +- reg: registers mapping +-

[linux-sunxi] Re: [PATCH 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-05 Thread Hans de Goede
Hi, On 01/06/2014 08:16 AM, Arnd Bergmann wrote: On Monday 06 January 2014, Hans de Goede wrote: +Required properties: + - compatible: Should be platform-ohci + - reg: Address range of the ohci registers. + - interrupts: Should contain the ohci interrupt. + +Optional properties: + - clocks

Re: [linux-sunxi] Re: [PATCH 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-08 Thread Hans de Goede
Hi, On 01/08/2014 02:19 AM, Ma Haijun wrote: Hi, I think there is no much reason to use dummy clock names. It is better to access them by index, and use clock-names for documentation only. Then it can support arbitrary number of clocks easily. num_clks = of_count_phandle_with_args(np, clocks,

[linux-sunxi] Re: [PATCH v2 3/3] ARM: sun7i: irqchip: Update the documentation

2014-01-08 Thread Hans de Goede
Hi, On 01/08/2014 12:49 PM, Carlo Caione wrote: On Wed, Jan 8, 2014 at 12:29 PM, Arnd Bergmann a...@arndb.de wrote: On Monday 06 January 2014, Carlo Caione wrote: +Allwinner Sunxi NMI Controller +== + +Required properties: + +- compatible : should be

Re: [linux-sunxi] [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-08 Thread Hans de Goede
Hi, On 01/08/2014 03:21 PM, Boris BREZILLON wrote: Hello, This series add the sunxi NFC support with up to 8 NAND chip connected. I'm still in the early stages drivers development and some key features are missing, but it's usable (I tested it on the cubietruck board). Here's what's missing:

[linux-sunxi] [PATCH v2 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-08 Thread Hans de Goede
Hi All, Here is v2 of my ohci and ehci-platform clks, phy and dt support patch-set. Changes since v1: -Various improvements to dt-bindings as suggested by various people -Support up-to 3 clocks Regards, Hans -- You received this message because you are subscribed to the Google Groups

[linux-sunxi] [PATCH v2 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-08 Thread Hans de Goede
for the ehci controller on Allwinner sunxi SoCs. Somehow we've ended up with 2 device-bindings documents for ehci-platform.c, this patch renames and updates one to platform-ehci.txt to reflect that this is a generic platform driver, and removes the other. Signed-off-by: Hans de Goede hdego

[linux-sunxi] [PATCH v3 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-09 Thread Hans de Goede
Hi All, Here is v3 of my ohci and ehci-platform clks, phy and dt support patch-set. This version is mostly the result of some discussions on irc with Maxime to improve the dt-bindings. This has resulted in 2 changes: 1) Drop the clock-names from the dt-bindings, instead get clocks by index.

[linux-sunxi] [PATCH v3 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-09 Thread Hans de Goede
for the ohci controller found on Allwinner sunxi SoCs. Signed-off-by: Hans de Goede hdego...@redhat.com --- .../devicetree/bindings/usb/mmio-ohci.txt | 22 +++ drivers/usb/host/ohci-platform.c | 150 ++--- 2 files changed, 152 insertions(+), 20 deletions

[linux-sunxi] [PATCH v3 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-09 Thread Hans de Goede
for the ehci controller on Allwinner sunxi SoCs. Somehow we've ended up with 2 device-bindings documents for ehci-platform.c, this patch renames and updates one to mmio-ehci.txt to reflect that this is a generic ehci driver, and removes the other. Signed-off-by: Hans de Goede hdego...@redhat.com

[linux-sunxi] Re: [PATCH v3 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-10 Thread Hans de Goede
Hi, On 01/09/2014 09:36 PM, Alan Stern wrote: On Thu, 9 Jan 2014, Hans de Goede wrote: Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci

Re: [linux-sunxi] Fedora 19 from SATA

2014-01-10 Thread Hans de Goede
Hi, On 01/09/2014 11:28 PM, Oliver Schinagl wrote: Hey Hans, mind helping me find my fault please? I can boot your Fedora r3 image fine from MMC, whilst running that I can mount /dev/sda3 just fine and modify/copy files. Rebooting after editing uEnv.txt to say root=/dev/sda3 instead of

[linux-sunxi] [PATCH v4 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-10 Thread Hans de Goede
for the ohci controller found on Allwinner sunxi SoCs. Signed-off-by: Hans de Goede hdego...@redhat.com --- .../devicetree/bindings/usb/mmio-ohci.txt | 22 +++ drivers/usb/host/ohci-platform.c | 164 ++--- 2 files changed, 162 insertions(+), 24 deletions

[linux-sunxi] [PATCH v4 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-10 Thread Hans de Goede
for the ehci controller on Allwinner sunxi SoCs. Somehow we've ended up with 2 device-bindings documents for ehci-platform.c, this patch renames and updates one to mmio-ehci.txt to reflect that this is a generic ehci driver, and removes the other. Signed-off-by: Hans de Goede hdego...@redhat.com

[linux-sunxi] Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-10 Thread Hans de Goede
Hi, On 01/11/2014 12:50 AM, Sergei Shtylyov wrote: Hello. On 01/11/2014 01:46 AM, Hans de Goede wrote: Here is v4 of my ohci and ehci-platform clks, phy and dt support patch-set, this version should be 100% ready for merging upstream. I see you've decided to completely ignore my

[linux-sunxi] Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-10 Thread Hans de Goede
Hi, On 01/11/2014 01:10 AM, Sergei Shtylyov wrote: On 01/11/2014 01:52 AM, Hans de Goede wrote: Here is v4 of my ohci and ehci-platform clks, phy and dt support patch-set, this version should be 100% ready for merging upstream. I see you've decided to completely ignore my opinion. NAK

[linux-sunxi] [PATCH 4/5] ARM: sun5i: dt: Add bindings for USB clocks

2014-01-10 Thread Hans de Goede
From: arokux aro...@gmail.com Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s.dtsi | 9 + arch/arm/boot/dts/sun5i-a13.dtsi | 9 + 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i

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

2014-01-10 Thread Hans de Goede
Hi Emilio, Here is a patch-set adding support for USB clocks and reset bits, can you please review this and add it to your sunxi-clk branch for 3.15 ? Thanks Regards, Hans -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from

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

2014-01-10 Thread Hans de Goede
The usb-clk register is special in that it not only contains clk gate bits, but also has a few reset bits. This commit adds support for this by allowing gates type sunxi clks to also register a reset controller. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/clk/sunxi/clk-sunxi.c

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

2014-01-10 Thread Hans de Goede
From: arokux aro...@gmail.com Add register definitions for the usb-clk register found on sun4i, sun5i and sun7i SoCs. Signed-off-by: Hans de Goede hdego...@redhat.com --- Documentation/devicetree/bindings/clock/sunxi.txt | 5 + drivers/clk/sunxi/clk-sunxi.c | 12

[linux-sunxi] [PATCH 5/5] ARM: sun7i: dt: Add bindings for USB clocks

2014-01-10 Thread Hans de Goede
From: arokux aro...@gmail.com Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 6f0f12c..620f482 100644 --- a/arch/arm/boot

[linux-sunxi] [PATCH 3/5] ARM: sun4i: dt: Add bindings for USB clocks

2014-01-10 Thread Hans de Goede
From: arokux aro...@gmail.com Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index ba416f8..003968f 100644 --- a/arch/arm/boot

[linux-sunxi] Re: [PATCH v4 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-12 Thread Hans de Goede
Hi, Thanks for the review. Note I did my best to ensure my patches would not break vt8500 support, but if you could run some tests with them that would be great. On 01/11/2014 09:37 AM, Tony Prisk wrote: On 11/01/14 11:46, Hans de Goede wrote: Add support for ohci-platform instantiation from

[linux-sunxi] Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Hans de Goede
Hi, On 01/12/2014 02:04 PM, Tomasz Figa wrote: Hi, [Cc'ing DT maintainers directly] snip Alan Stern Wrote: I prefer the -generic option, although generic- is equally fine - Having said that, I don't really care if it's called mmio either (although this does seem less 'descriptive'). I

[linux-sunxi] [PATCH v5 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Hans de Goede
Hi all, And here is v5 of my ohci and ehci-platform clks, phy and dt support patch-set. New since the last version is that the compatibility strings now are usb-ohci and usb-ehci, which should make everyone happy I hope. Other then that there are no changes compared to v4. Regards, Hans --

Re: [linux-sunxi] Re: A good SD card image for A10-OLinuXino-Lime?

2014-01-15 Thread Hans de Goede
Hi, On 01/15/2014 09:08 AM, TsvetanUsunov wrote: I was not going to sugar-coat anything here. And I understand that using the 16-bit memory bus width was a side effect of extreme cost reduction. The primary LIME competitors are likely not high end ARM devices, but Raspberry Pi

[linux-sunxi] Re: [PATCH v5 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-15 Thread Hans de Goede
Hi, On 01/14/2014 08:08 PM, Alan Stern wrote: On Mon, 13 Jan 2014, Hans de Goede wrote: Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci

[linux-sunxi] [PATCH v6 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-15 Thread Hans de Goede
, even though it mostly is ibm,usb-ehci-440epx specific. ehci-platform.c is not needed on ppc platforms, so add a !PPC_OF dependency to it to avoid 2 drivers claiming the same compatibility string getting build on ppc. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Alan Stern st

[linux-sunxi] [PATCH v6 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-15 Thread Hans de Goede
for the ohci controller found on Allwinner sunxi SoCs. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Alan Stern st...@rowland.harvard.edu --- Documentation/devicetree/bindings/usb/usb-ohci.txt | 22 +++ drivers/usb/host/ohci-platform.c | 164 ++--- 2 files

[linux-sunxi] Re: [PATCH v6 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-15 Thread Hans de Goede
Hi, On 01/15/2014 05:30 PM, Alan Stern wrote: On Wed, 15 Jan 2014, Hans de Goede wrote: +static int ohci_platform_power_on(struct platform_device *dev) +{ + struct usb_hcd *hcd = platform_get_drvdata(dev); + struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd); + int clk

[linux-sunxi] [PATCH v7 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-15 Thread Hans de Goede
for the ohci controller found on Allwinner sunxi SoCs. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Alan Stern st...@rowland.harvard.edu --- Documentation/devicetree/bindings/usb/usb-ohci.txt | 22 +++ drivers/usb/host/ohci-platform.c | 164 ++--- 2 files

[linux-sunxi] [PATCH v7 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-15 Thread Hans de Goede
Hi All, This version of my ohci and ehci-platform clks, phy and dt support patch-set, really fixes the 2 small bugs Alan found. Regards, Hans -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving

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

2014-01-16 Thread Hans de Goede
Hi, On 01/16/2014 08:07 AM, Chen-Yu Tsai wrote: Hi Hans, On Wed, Jan 15, 2014 at 11:48 PM, Hans de Goede hdego...@redhat.com wrote: Hi, On 01/15/2014 04:00 PM, Kishon Vijay Abraham I wrote: On Wednesday 15 January 2014 04:28 AM, Hans de Goede wrote: [...] +static int sun4i_usb_phy_init

[linux-sunxi] Re: [PATCH v7 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-18 Thread Hans de Goede
Hi, On 01/17/2014 06:12 PM, Alan Stern wrote: On Thu, 16 Jan 2014, Florian Fainelli wrote: Le mercredi 15 janvier 2014, 15:26:21 Alan Stern a �crit : On Wed, 15 Jan 2014, Hans de Goede wrote: Hi All, This version of my ohci and ehci-platform clks, phy and dt support patch-set, really fixes

[linux-sunxi] [RFC v3 02/13] sata-highbank: Remove unnecessary ahci_platform.h include

2014-01-18 Thread Hans de Goede
The sata-highbank driver is a complete standalone sata driver, which does not use ahci_platform.c / ahci_platform_data in any way. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/sata_highbank.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ata/sata_highbank.c b

[linux-sunxi] [RFC v3 03/13] ahci-platform: Fix clk enable/disable unbalance on suspend/resume

2014-01-18 Thread Hans de Goede
it is ok to disable / enable the clock at of-node index 0 as well, I've ordered a wandboard to be able to test these changes. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/mach-spear/spear1340.c | 6 ++ drivers/ata/ahci_imx.c | 4 +--- drivers/ata/ahci_platform.c | 2

[linux-sunxi] [RFC v3 07/13] ahci-platform: Add support for an optional regulator for sata-target power

2014-01-18 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- .../devicetree/bindings/ata/ahci-platform.txt | 1 + drivers/ata/ahci.h | 2 ++ drivers/ata/ahci_platform.c| 39 +++--- 3 files changed, 38 insertions(+), 4

[linux-sunxi] [RFC v3 00/13] ahci: add sunxi driver and cleanup imx driver

2014-01-18 Thread Hans de Goede
of having a platform device which probe method creates a new child platform device which gets driven by ahci_platform.c, as done by ahci_imx.c . v2, by Hans de Goede: Stand-alone platform driver based on Olliver's work v3, by Hans de Goede: patch-series, with 4 different parts a) Make ahci_platform.c

[linux-sunxi] [RFC v3 11/13] ahci-imx: Don't create a nested platform device from probe

2014-01-18 Thread Hans de Goede
Instead only provide platform_data through of_device_id, like the ahci-sunxi driver does. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/Kconfig | 4 +- drivers/ata/Makefile | 3 +- drivers/ata/ahci_imx.c| 118

[linux-sunxi] [RFC v3 13/13] ARM: sun7i: dts: Add ahci / sata support

2014-01-18 Thread Hans de Goede
This patch adds sunxi sata support to A20 boards that have such a connector. Some boards also feature a regulator via a GPIO and support for this is also added. Signed-off-by: Olliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20

[linux-sunxi] [RFC v3 10/13] ahci_imx: Adjust for ahci_platform managing the clocks

2014-01-18 Thread Hans de Goede
ahci_platform manages all 3 clocks now, so enabling / disabling them from ahci_imx just results in the sata_ref clock getting enabled / disabled twice. Note untested, I've ordered a wandboard to be able to test these changes. Signed-off-by: Hans de Goede hdego...@redhat.com --- .../devicetree

[linux-sunxi] Re: [RFC v3 03/13] ahci-platform: Fix clk enable/disable unbalance on suspend/resume

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 12:14 PM, Tejun Heo wrote: On Sun, Jan 19, 2014 at 12:48:45AM +0100, Hans de Goede wrote: For devices where ahci_platform_data provides suspend() there is an unbalance in clk enable/disable calls. The suspend path does not disable the clk, but the resume path enables

[linux-sunxi] Re: [RFC v3 01/13] libahci: Allow drivers to override start_engine

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 05:46 AM, Tejun Heo wrote: Hello, Hans. On Sun, Jan 19, 2014 at 12:48:43AM +0100, Hans de Goede wrote: void ahci_start_engine(struct ata_port *ap) { void __iomem *port_mmio = ahci_port_base(ap); + struct ahci_host_priv *hpriv = ap-host-private_data

[linux-sunxi] Re: [RFC v3 05/13] ahci-platform: Pass ahci_host_priv ptr to ahci_platform_data init method

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 12:30 PM, Tejun Heo wrote: On Sun, Jan 19, 2014 at 12:48:47AM +0100, Hans de Goede wrote: Some ahci_platform_data-init methods need access to the ahci_host_priv data. Note: When calling ahci_platform_data-init the ata_host has not been allocated yet, so access

[linux-sunxi] Re: [RFC v3 09/13] ARM: sunxi: Add support for Allwinner SUNXi SoCs sata to ahci_platform

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 01:22 PM, Russell King - ARM Linux wrote: On Sun, Jan 19, 2014 at 12:48:51AM +0100, Hans de Goede wrote: + timeout = 0x10; + do { + reg_val = sunxi_getbits(reg_base + AHCI_PHYCS0R, 0x7, 28); + } while (--timeout (reg_val != 0x2

[linux-sunxi] Re: [RFC v3 11/13] ahci-imx: Don't create a nested platform device from probe

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 01:25 PM, Russell King - ARM Linux wrote: On Sun, Jan 19, 2014 at 12:48:53AM +0100, Hans de Goede wrote: Instead only provide platform_data through of_device_id, like the ahci-sunxi driver does. It looks like the whole of ahci_imx.c (apart from the inclues) is enclosed

Re: [linux-sunxi] Re: [PATCH v5 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-19 Thread Hans de Goede
Hi, On 01/16/2014 01:58 AM, Ma Haijun wrote: Hi -Original Message- From: linux-sunxi@googlegroups.com [mailto:linux-sunxi@googlegroups.com] On Behalf Of Alan Stern Sent: Wednesday, January 15, 2014 3:18 AM To: Hans de Goede Cc: Tony Prisk; linux-arm-ker...@lists.infradead.org

[linux-sunxi] Re: [RFC v3 10/13] ahci_imx: Adjust for ahci_platform managing the clocks

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 08:32 PM, Russell King - ARM Linux wrote: On Sun, Jan 19, 2014 at 08:30:37PM +0100, Hans de Goede wrote: Hi, On 01/19/2014 01:41 PM, Russell King - ARM Linux wrote: On Sun, Jan 19, 2014 at 12:48:52AM +0100, Hans de Goede wrote: +enum { + CLK_SATA

[linux-sunxi] Re: [RFC v3 03/13] ahci-platform: Fix clk enable/disable unbalance on suspend/resume

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 08:15 PM, Tejun Heo wrote: Hey, On Sun, Jan 19, 2014 at 07:47:06PM +0100, Hans de Goede wrote: As I see it either doing clks, regulator and sata-core things in a common place makes sense, and then it goes for suspend and resume too, or we opt for always following

[linux-sunxi] Re: [RFC v3 04/13] ahci-platform: Undo pdata-resume on resume failure

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 08:42 PM, Tejun Heo wrote: On Sun, Jan 19, 2014 at 08:34:51PM +0100, Hans de Goede wrote: Well the current error handling still re-disables the clks on resume failure, if you want to proceed with resume as far as possible, rather then return to Let's put it as put

[linux-sunxi] Re: [RFC v3 05/13] ahci-platform: Pass ahci_host_priv ptr to ahci_platform_data init method

2014-01-19 Thread Hans de Goede
Hi, On 01/19/2014 08:17 PM, Tejun Heo wrote: On Sun, Jan 19, 2014 at 07:51:48PM +0100, Hans de Goede wrote: Yes, but they are part of arch/arm/mach-foo, so moving them is non trivial, and I don't want to go make these kinda changes without hardware to test. Please keep in mind that I'm

[linux-sunxi] Re: [RFC v3 08/13] ahci-platform: Allow specifying platform_data through of_device_id

2014-01-20 Thread Hans de Goede
Hi, On 01/20/2014 09:24 AM, Sascha Hauer wrote: On Sun, Jan 19, 2014 at 12:48:50AM +0100, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/ahci_platform.c | 41 + 1 file changed, 29 insertions(+), 12 deletions

Re: [linux-sunxi] [PATCH v2 00/16] net: stmmac: Add Allwinner A20 GMAC ethernet controller glue layer

2014-01-20 Thread Hans de Goede
Hi, On 01/20/2014 04:45 PM, selsin...@gmail.com wrote: On 10/01/14 07:00, Chen-Yu Tsai wrote: Hi, This is v2 of the Allwinner A20 GMAC glue layer for stmmac. The clock and DT patches should be applied after my clock rename[1] series. Using Hans sunxi-devel branch and patched u-boot I have

Re: [linux-sunxi] [PATCH v2 00/16] net: stmmac: Add Allwinner A20 GMAC ethernet controller glue layer

2014-01-20 Thread Hans de Goede
Hi, On 01/20/2014 05:32 PM, selsin...@gmail.com wrote: On 20/01/14 15:52, Hans de Goede wrote: This is a known issue, with the current sunxi-devel branch you need to have u-boot configured for GMAC for things to work. This is fixed in a later version of Chen's patches but I still need

[linux-sunxi] [PATCH RFC v4 01/10] libahci: Allow drivers to override start_engine

2014-01-20 Thread Hans de Goede
to override ahci_start_engine behavior for use by the Allwinner AHCI driver (and potentially other drivers in the future). Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/ahci.c | 6 -- drivers/ata/ahci.h | 3 ++- drivers/ata/libahci.c | 27

[linux-sunxi] [PATCH RFC v4 08/10] ahci-platform: Library-ise suspend / resume functionality

2014-01-20 Thread Hans de Goede
Split suspend / resume code into host suspend / resume functionality and resource enable / disabling phases, and export the new suspend_ / resume_host functions. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/ahci_platform.c | 55

[linux-sunxi] [PATCH RFC v4 05/10] ahci-platform: Add support for an optional regulator for sata-target power

2014-01-20 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- .../devicetree/bindings/ata/ahci-platform.txt | 1 + drivers/ata/ahci_platform.c| 35 -- include/linux/ahci.h | 2 ++ 3 files changed, 36 insertions(+), 2

[linux-sunxi] [PATCH RFC v4 07/10] ahci-platform: Library-ise ahci_probe functionality

2014-01-20 Thread Hans de Goede
, the idea is that drivers using the new exported utility functions will not use ahci_platform_data at all, and hopefully in the future ahci_platform_data can go away entirely. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/ahci_platform.c | 158

[linux-sunxi] [PATCH RFC v4 03/10] ahci-platform: Pass ahci_host_priv ptr to ahci_platform_data init method

2014-01-20 Thread Hans de Goede
Some ahci_platform_data-init methods need access to the ahci_host_priv data. When calling ahci_platform_data-init the ata_host has not been allocated yet, so access to ahci_host_priv through the dev argument is not possible. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/mach

[linux-sunxi] [PATCH RFC v4 09/10] ARM: sunxi: Add support for Allwinner SUNXi SoCs sata to ahci_platform

2014-01-20 Thread Hans de Goede
device which gets driven by ahci_platform.c, as done by ahci_imx.c . Refactored by Hans de Goede to add most of the non sunxi specific functionality to ahci_platform.c and use a platform_data pointer from of_device_id for the sunxi specific bits. Signed-off-by: Olliver Schinagl oli...@schinagl.nl

[linux-sunxi] [PATCH RFC v4 00/10] ahci: library-ise ahci_platform, add sunxi driver and cleanup imx driver

2014-01-20 Thread Hans de Goede
of having a platform device which probe method creates a new child platform device which gets driven by ahci_platform.c, as done by ahci_imx.c . v2, by Hans de Goede: Stand-alone platform driver based on Olliver's work v3, by Hans de Goede: patch-series, with 4 different parts a) Make ahci_platform.c

Re: [linux-sunxi] [PATCH RFC v4 10/10] ahci_imx: Port to library-ised ahci_platform

2014-01-21 Thread Hans de Goede
Hi, On 01/21/2014 02:42 AM, Ma Haijun wrote: Hi -Original Message- From: linux-sunxi@googlegroups.com [mailto:linux-sunxi@googlegroups.com] On Behalf Of Hans de Goede Sent: Tuesday, January 21, 2014 12:45 AM To: Tejun Heo Cc: Oliver Schinagl; Maxime Ripard; Richard Zhu; Roger Quadros

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

2014-01-22 Thread Hans de Goede
From: Oliver Schinagl oli...@schinagl.nl This patch adds sunxi sata support to A10 boards that have such a connector. Some boards also feature a regulator via a GPIO and support for this is also added. Signed-off-by: Olliver Schinagl oli...@schinagl.nl Signed-off-by: Hans de Goede hdego

[linux-sunxi] [PATCH v5 07/14] ahci-platform: Library-ise ahci_probe functionality

2014-01-22 Thread Hans de Goede
, the idea is that drivers using the new exported utility functions will not use ahci_platform_data at all, and hopefully in the future ahci_platform_data can go away entirely. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/ata/ahci_platform.c | 158

  1   2   3   4   5   6   7   8   9   10   >