[linux-sunxi] Re: [PATCH] brcmfmac: Fix brcmf_chip_ai_coredisable not applying reset bits to BCMA_IOCTL

2014-04-22 Thread Arend van Spriel
On 20/04/14 10:48, Hans de Goede wrote: brcmfmac has been broken on my cubietruck with a BCM43362: brcmfmac: brcmf_chip_recognition: found AXI chip: BCM43362, rev=1 brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d

[linux-sunxi] [PATCH v8 00/17] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-04-22 Thread Hans de Goede
Hi All, Here is v8 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on. The first 2 patches are depenencies which should go in through the clk tree, Mike can you pick these 2 up please ? : clk: sunxi: factors: automatic reparenting support Is uncontroversial and has been

[linux-sunxi] [PATCH v8 04/17] ARM: dts: sun4i: Add mmc controller nodes

2014-04-22 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch Add nodes for the 4 mmc controllers found on A10 SoCs to arch/arm/boot/dts/sun4i-a10.dtsi. Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 36

[linux-sunxi] [PATCH v8 02/17] clk: sunxi: Implement MMC phase control

2014-04-22 Thread Hans de Goede
From: Emilio López emi...@elopez.com.ar HdG: add header exporting clk_sunxi_mmc_phase_control Signed-off-by: Emilio López emi...@elopez.com.ar Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/clk/sunxi/clk-sunxi.c | 35 +++ include/linux/clk/sunxi.h

[linux-sunxi] [PATCH v8 05/17] ARM: dts: sun4i: Add pin-muxing info for the mmc0 controller

2014-04-22 Thread Hans de Goede
mmc0 is the only controller actually being used on boards, so limit the pin-muxing options to that. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi

[linux-sunxi] [PATCH v8 03/17] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-04-22 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch The Allwinner sunxi mmc host uses dma in bus-master mode using a built-in designware idmac controller, which is identical to the one found in the mmc-dw hosts. However the rest of the host is not identical to mmc-dw, it deals with sending stop

[linux-sunxi] [PATCH v8 01/17] clk: sunxi: factors: automatic reparenting support

2014-04-22 Thread Hans de Goede
From: Emilio López emi...@elopez.com.ar This commit implements .determine_rate, so that our factor clocks can be reparented when needed. Signed-off-by: Emilio López emi...@elopez.com.ar Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/clk/sunxi/clk-factors.c | 36

[linux-sunxi] [PATCH v8 08/17] ARM: dts: sun5i: Add pin-muxing info for the mmc controllers

2014-04-22 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s.dtsi | 14 ++ arch/arm/boot/dts/sun5i-a13.dtsi | 7 +++ 2 files changed, 21

[linux-sunxi] [PATCH v8 09/17] ARM: dts: sun5i: Enable mmc controller on various A10s and A13 boards

2014-04-22 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 32

[linux-sunxi] [PATCH v8 15/17] ARM: dts: sun7i: Add mmc controller nodes

2014-04-22 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A20 SoCs to arch/arm/boot/dts/sun7i-a20.dtsi. Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 36 1 file changed,

[linux-sunxi] [PATCH v8 10/17] ARM: dts: sun6i: Add mmc clocks

2014-04-22 Thread Hans de Goede
Add clk-nodes for the mmc clocks. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index d45efa7..12bcc17

[linux-sunxi] [PATCH v8 06/17] ARM: dts: sun4i: Enable mmc controller on various A10 boards

2014-04-22 Thread Hans de Goede
Tested on a subset of these boards, for the others boards the settings match the ones of the tested boards according to the original firmware fex files. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun4i-a10-a1000.dts | 9 +

[linux-sunxi] [PATCH v8 17/17] ARM: dts: sun7i: Enable mmc controller on various A20 boards

2014-04-22 Thread Hans de Goede
The cd pin settings have been taken from the original firmware fex files, and have been confirmed to work on the actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 9 + arch/arm/boot/dts/sun7i-a20-cubietruck.dts |

[linux-sunxi] [PATCH v8 13/17] ARM: dts: sun6i: Add new sun6i-a31-m9 dts file for Mele M9

2014-04-22 Thread Hans de Goede
Add a new sun6i-a31-m9 dts file for the Mele M9 / Mele A1000G Quad. These HTPCs use the same board in a different case, for more details see: http://linux-sunxi.org/Mele_M9 Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/Makefile | 1 +

[linux-sunxi] [PATCH v8 16/17] ARM: dts: sun7i: Add pin-muxing info for the mmc controllers

2014-04-22 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun7i-a20.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git

[linux-sunxi] [PATCH v8 14/17] ARM: dts: sun6i: Enable the mmc controller on the m9

2014-04-22 Thread Hans de Goede
Tested on a Mele A1000G Quad. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31-m9.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-m9.dts b/arch/arm/boot/dts/sun6i-a31-m9.dts index c95ee77..a188721 100644 ---

[linux-sunxi] [PATCH v8 11/17] ARM: dts: sun6i: Add mmc controller nodes

2014-04-22 Thread Hans de Goede
Add nodes for the 4 mmc controllers found on A31 SoCs to arch/arm/boot/dts/sun6i-a31.dtsi. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 52 1 file changed, 52 insertions(+) diff --git

[linux-sunxi] [PATCH v8 12/17] ARM: dts: sun6i: Add pin-muxing info for the mmc controllers

2014-04-22 Thread Hans de Goede
This adds pin-muxing info for the mmc controller / port combinations which are known to be used on actual boards. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/boot/dts/sun6i-a31.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[linux-sunxi] [PATCH v8 07/17] ARM: dts: sun5i: Add mmc controller nodes

2014-04-22 Thread Hans de Goede
From: David Lanzendörfer david.lanzendoer...@o2s.ch Add nodes for the 3 mmc controllers found on A10s SoCs and for the 2 mmc controllers found on A13 SoCs. Signed-off-by: David Lanzendörfer david.lanzendoer...@o2s.ch Signed-off-by: Hans de Goede hdego...@redhat.com ---

[linux-sunxi] Re: [PATCH v3 1/7] pinctrl: sunxi: check clk_prepare_enable return value

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: Check the clk_prepare_enable return value to avoid false positive probe. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Patch applied with Maxime's ACK. Yours, Linus Walleij -- You

[linux-sunxi] Re: [PATCH v3 2/7] pinctrl: sunxi: disable clk when failing to probe pin controller

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: Disable the clk when failing to probe the pin controller device. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Patch applied with Maxime's ACK. Yours, Linus Walleij -- You

[linux-sunxi] Re: [PATCH v3 3/7] pinctrl: sunxi: add PL and PM pin definitions

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: Define PL and PM pin macros. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com Patch applied. Yours, Linus Walleij -- You

[linux-sunxi] Re: [PATCH v3 4/7] pinctrl: sunxi: support multiple pin controller

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: Add support for multiple pin controller instances. First remove the static definition of the sunxi gpio chip struct and fill the dynamically struct instead. Then define a new pin_base field in the

[linux-sunxi] Re: [PATCH v3 5/7] pinctrl: sunxi: define A31 R_PIO pin functions

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: The A31 SoC provides both PL and PM pio bank through the R_PIO block. These pins all support gpio function and can bbe assigned to system peripherals (like TWI, P2WI, JTAG, ...) Add new compatible

[linux-sunxi] Re: [PATCH v3 6/7] pinctrl: sunxi: add reset control support

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: The A31 SoC define a reset line for the R_PIO block which needs to be deasserted. Try to retrieve a reset control and deassert if one was found. Signed-off-by: Boris BREZILLON

[linux-sunxi] Re: [PATCH v3 7/7] ARM: sunxi: update the default ARCH_NR_GPIO for sunxi arch

2014-04-22 Thread Linus Walleij
On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: The A31 SoC has PL and PM banks and thus increase the default ARCH_NR_GPIO. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com

[linux-sunxi] Re: [PATCH v4] regmap: i2c: fallback to SMBus if the adapter does not support standard I2C

2014-04-22 Thread Mark Brown
On Mon, Apr 21, 2014 at 10:56:59PM +0200, Boris BREZILLON wrote: Some I2C adapters are only compatible with the SMBus protocol and do not support standard I2C transfers. Applied, thanks. signature.asc Description: Digital signature

[linux-sunxi] Re: [PATCH v8 00/17] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-04-22 Thread Emilio López
Hi Hans, El 22/04/14 08:01, Hans de Goede escribió: Hi All, Here is v8 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on. The first 2 patches are depenencies which should go in through the clk tree, Mike can you pick these 2 up please ? : clk: sunxi: factors:

[linux-sunxi] Re: [PATCH v8 00/17] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-04-22 Thread Hans de Goede
Hi, On 04/22/2014 02:07 PM, Emilio López wrote: Hi Hans, El 22/04/14 08:01, Hans de Goede escribió: Hi All, Here is v8 of the sunxi-mmc patch-set David Lanzendörfer and I have been working on. The first 2 patches are depenencies which should go in through the clk tree, Mike can you

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-22 Thread Dennis Kerrisk
Thanks this guide will help me. Dennis -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit

Re: [linux-sunxi] Re: A10 versus A20 versus A20 , gtkperf result.

2014-04-22 Thread Siarhei Siamashka
On Thu, 3 Apr 2014 03:15:06 +0530 Rajesh Mallah mallah.raj...@gmail.com wrote: On Thu, Mar 27, 2014 at 12:12 AM, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Tue, 25 Mar 2014 03:23:54 +0530 Rajesh Mallah mallah.raj...@gmail.com wrote: I also observed that a clone of the

[linux-sunxi] [pre-patch] Fixing display scaler for video/zooming

2014-04-22 Thread Ivan Kozic
Hi all, I just fixed the scaler issue, but don't really know how to make/publish a patch - I read a bit about it, but since even the tabs are important, I'd prefer that someone else does it. The problem itself - when using standard V4L2 loop for image acquisition from a camera and using

[linux-sunxi] Re: [PATCH v3 5/7] pinctrl: sunxi: define A31 R_PIO pin functions

2014-04-22 Thread Boris BREZILLON
On 22/04/2014 13:47, Linus Walleij wrote: On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: The A31 SoC provides both PL and PM pio bank through the R_PIO block. These pins all support gpio function and can bbe assigned to system peripherals (like

Re: [linux-sunxi] A10 versus A20 versus A20 , gtkperf result.

2014-04-22 Thread Koen Kooi
Op 22 apr. 2014, om 15:10 heeft Siarhei Siamashka siarhei.siamas...@gmail.com het volgende geschreven: On Thu, 3 Apr 2014 03:15:06 +0530 Rajesh Mallah mallah.raj...@gmail.com wrote: On Thu, Mar 27, 2014 at 12:12 AM, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Tue, 25 Mar

[linux-sunxi] Re: [PATCH v3 7/7] ARM: sunxi: update the default ARCH_NR_GPIO for sunxi arch

2014-04-22 Thread Arnd Bergmann
On Tuesday 22 April 2014, Linus Walleij wrote: On Thu, Apr 10, 2014 at 3:52 PM, Boris BREZILLON boris.brezil...@free-electrons.com wrote: The A31 SoC has PL and PM banks and thus increase the default ARCH_NR_GPIO. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com

Re: [linux-sunxi] A10 versus A20 versus A20 , gtkperf result.

2014-04-22 Thread Siarhei Siamashka
On Tue, 22 Apr 2014 15:45:23 +0200 Koen Kooi k...@dominion.thruhere.net wrote: Op 22 apr. 2014, om 15:10 heeft Siarhei Siamashka siarhei.siamas...@gmail.com het volgende geschreven: BTW, forgot to mention that I also have tried the BFS scheduler just for fun. And pushed the patches to this

[linux-sunxi] Re: [PATCH 2/7] gpiolib: Support purely name based gpiod lookup in device trees

2014-04-22 Thread Linus Walleij
On Tue, Apr 15, 2014 at 8:41 AM, Chen-Yu Tsai w...@csie.org wrote: This patch enables gpio-names based gpiod lookup in device tree usage, which ignores the index passed to gpiod_get_index. If this fails, fall back to the original function-index (con_id-gpios) based lookup scheme, for backward

[linux-sunxi] Re: [PATCH 1/7] gpiolib: gpiolib-of: Implement device tree gpio-names based lookup

2014-04-22 Thread Linus Walleij
On Tue, Apr 15, 2014 at 8:41 AM, Chen-Yu Tsai w...@csie.org wrote: This patch provides of_get_gpiod_flags_by_name(), which looks up GPIO phandles by name only, through gpios/gpio-names, and not by index. Signed-off-by: Chen-Yu Tsai w...@csie.org Like Alexandre I have no strong opinion on

[linux-sunxi] Re: [PATCH 2/7] gpiolib: Support purely name based gpiod lookup in device trees

2014-04-22 Thread Maxime Ripard
Hi Linus, On Tue, Apr 22, 2014 at 05:00:17PM +0200, Linus Walleij wrote: On Tue, Apr 15, 2014 at 8:41 AM, Chen-Yu Tsai w...@csie.org wrote: This patch enables gpio-names based gpiod lookup in device tree usage, which ignores the index passed to gpiod_get_index. If this fails, fall back

Re: [linux-sunxi] [pre-patch] Fixing display scaler for video/zooming

2014-04-22 Thread Ivan Kozic
Maybe this wiki page could be extended to provide some super simplistic explanation of the minimal actions that are needed to be taken. Anyway, without having your fix presented as a patch, it is rather cumbersome to correctly apply your changes to the kernel sources and test them.

[linux-sunxi] Re: [PATCH] i2c-sunxi: use standard mode I2C speed of 100 kbit/s for I2C[1-4]

2014-04-22 Thread Jonathan Liu
On 20 March 2014 23:53, Jonathan Liu net...@gmail.com wrote: Standard mode I2C speed is 100 kbit/s and should be used instead of 200 kbit/s which is non-standard. Signed-off-by: Jonathan Liu net...@gmail.com --- arch/arm/plat-sunxi/include/plat/i2c.h | 8 1 file changed, 4