Re: [linux-sunxi] Re: [PATCH v3 1/4] dt: bindings: add bindings for Broadcom bcm43xx sdio devices

2014-07-07 Thread Hans de Goede
Hi, On 07/07/2014 08:23 PM, John W. Linville wrote: > Any word from the devicetree folks? We changed the compatible string from brcm,bcm43xx-fmac to brcm,bcm4329-fmac at their request, that is the only feedback we've gotten from them AFAIK. Regards, Hans > > On Sun, Jun 29, 2014 at 04:16:58PM

Re: [linux-sunxi] XBMC - Compiling issues and startup problems

2014-07-07 Thread Andreas Baierl
Am 07.07.2014 17:47, schrieb Simo Xefil: Hi Andreas, Was only asking how choose which sunxi-mali version is to choose based on a given board or hardware, to understand how it works. I'll ask the vendor as well, but I would like to understant which HW is supported by sunxi-mai and how to choo

Re: [linux-sunxi] A20: SPI Drivers

2014-07-07 Thread bruce bushby
Thanks Koen! I think I'm starting to understand a little more now at least enough to have a go learning how to do it. MPU6050 is interesting led me to "iio" which is also interesting. Main issue is that it's i2c and doesn't offer all 9 axis.then agaain I could be talking about my a!ss

[linux-sunxi] Re: [PATCH v3 1/4] dt: bindings: add bindings for Broadcom bcm43xx sdio devices

2014-07-07 Thread John W. Linville
Any word from the devicetree folks? On Sun, Jun 29, 2014 at 04:16:58PM +0200, Hans de Goede wrote: > From: Arend van Spriel > > The Broadcom bcm43xx sdio devices are fullmac devices that may be > integrated in ARM platforms. Currently, the brcmfmac driver for > these devices support use of platf

Re: [linux-sunxi] XBMC - Compiling issues and startup problems

2014-07-07 Thread Simo Xefil
Hi Andreas, Was only asking how choose which sunxi-mali version is to choose based on a given board or hardware, to understand how it works. I'll ask the vendor as well, but I would like to understant which HW is supported by sunxi-mai and how to choose the right version, independently from th

Re: [linux-sunxi] XBMC - Compiling issues and startup problems

2014-07-07 Thread Andreas Baierl
Ask your vendor for the kernel sources! linux-sunxi mailing list is not the right place for doing user support for board manufacturers, that don't provide kernel sources. Regards Am 07.07.2014 16:59, schrieb Simo Xefil: Hallo Andrea, How can I understand which version (you said r3p0 mali) is

Re: [linux-sunxi] XBMC - Compiling issues and startup problems

2014-07-07 Thread Simo Xefil
Hallo Andrea, How can I understand which version (you said r3p0 mali) is to be used with my board? Is there a reference page? In addiction, based on the installed kernel, could in compile only the mali driver and add it as external module? Do I need to recompile the whole kernel? Thank you for

Re: [linux-sunxi] [PATCH] sunxi: g2d: don't skip mutex_unlock on invalid ioctl

2014-07-07 Thread Andreas Baierl
Seems very reasonable. Regards Am 07.07.2014 16:45, schrieb Jens Kuske: Signed-off-by: Jens Kuske --- drivers/char/sunxi_g2d/g2d_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/sunxi_g2d/g2d_driver.c b/drivers/char/sunxi_g2d/g2d_driver.c index 0ff

[linux-sunxi] [PATCH] sunxi: g2d: don't skip mutex_unlock on invalid ioctl

2014-07-07 Thread Jens Kuske
Signed-off-by: Jens Kuske --- drivers/char/sunxi_g2d/g2d_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/sunxi_g2d/g2d_driver.c b/drivers/char/sunxi_g2d/g2d_driver.c index 0ff1beb..0066867 100644 --- a/drivers/char/sunxi_g2d/g2d_driver.c +++ b/drivers/

[linux-sunxi] Re: [PATCH v2 15/20] pinctrl: sunxi: Add A23 R_PIO controller support

2014-07-07 Thread Linus Walleij
On Tue, Jun 17, 2014 at 4:52 PM, Chen-Yu Tsai wrote: > The A23 has a R_PIO pin controller, similar to the one found on the A31 SoC. > Add support for the pins controlled by the R_PIO controller. > > Signed-off-by: Chen-Yu Tsai > Acked-by: Maxime Ripard Patch applied. Yours, Linus Walleij --

[linux-sunxi] Re: [PATCH v2 14/20] pinctrl: sunxi: Add A23 PIO controller support

2014-07-07 Thread Linus Walleij
On Tue, Jun 17, 2014 at 4:52 PM, Chen-Yu Tsai wrote: > The A23 uses the same pin controller as previous SoC's from Allwinner. > Add support for the pins controlled by the main PIO controller. > > Signed-off-by: Chen-Yu Tsai > Acked-by: Maxime Ripard Patch applied, thanks! Yours, Linus Walleij

[linux-sunxi] Re: [PATCH v10 2/2] dmaengine: sun6i: Add driver for the Allwinner A31 DMA controller

2014-07-07 Thread Maxime Ripard
On Sun, Jul 06, 2014 at 05:22:00PM +0200, Arnd Bergmann wrote: > On Friday 04 July 2014, Maxime Ripard wrote: > > > > > It feels a little fragile to rely on the organisation of the clock > > > > > tree > > > > > and the naming thereof. If the IP block is ever reused on an SoC with > > > > > a > >

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: Remove gpio_out function from sun5i-a13 PG0/1/2 pins

2014-07-07 Thread Linus Walleij
On Tue, Jul 1, 2014 at 5:25 PM, Chen-Yu Tsai wrote: > The A13 user manual states pins PG0/1/2 only have GPIO input and > interrupt functions. Remove the gpio_out functions for these pins. > > Signed-off-by: Chen-Yu Tsai Patch applied with Maxime's ACK. Yours, Linus Walleij -- You received th

[linux-sunxi] Re: [PATCH v3 8/9] ARM: sun8i: Add PRCM clock and reset controller nodes to the DTSI

2014-07-07 Thread Chen-Yu Tsai
Hi, On Mon, Jul 7, 2014 at 4:58 PM, Maxime Ripard wrote: > Hi Chen-Yu, > > It looks mostly fine but... > > On Thu, Jul 03, 2014 at 10:55:48PM +0800, Chen-Yu Tsai wrote: >> With sun8i PRCM support available, we can add the PRCM clock and >> reset controller nodes to the DTSI. Also update R_UART's

[linux-sunxi] Re: [PATCH v10 2/2] dmaengine: sun6i: Add driver for the Allwinner A31 DMA controller

2014-07-07 Thread Arnd Bergmann
On Friday 04 July 2014, Maxime Ripard wrote: > > > > It feels a little fragile to rely on the organisation of the clock tree > > > > and the naming thereof. If the IP block is ever reused on an SoC with a > > > > different clock tree layout then we have to handle things differently. > > > > > > Wh

[linux-sunxi] Re: [PATCH v3 7/9] ARM: sunxi: select MFD_SUN6I_PRCM when sun8i arch support is enabled

2014-07-07 Thread Maxime Ripard
On Thu, Jul 03, 2014 at 10:55:47PM +0800, Chen-Yu Tsai wrote: > Select the MFD_SUN6I_PRCM option when sun8i arch is enabled in order to > get the PRCM (Power/Reset/Clock Management) related drivers compiled. > > Also select ARCH_HAS_RESET_CONTROLLER and RESET_CONTROLLER to make sure > the reset co

[linux-sunxi] Re: [PATCH v3 9/9] ARM: sun8i: Add reset controller nodes to the DTSI

2014-07-07 Thread Maxime Ripard
On Thu, Jul 03, 2014 at 10:55:49PM +0800, Chen-Yu Tsai wrote: > The A23 has the same MMIO reset controllers matching the clocks gates, > just like in the A31. This patch adds the reset controller nodes and > the reset control phandles for the peripherals needing them to the > DTSI. > > Unlike the

[linux-sunxi] Re: [PATCH v3 4/9] mfd: sun6i-prcm: Add support for Allwinner A23 PRCM

2014-07-07 Thread Maxime Ripard
On Thu, Jul 03, 2014 at 10:55:44PM +0800, Chen-Yu Tsai wrote: > The Allwinner A23 SoC has a PRCM unit like the previous A31 SoC. > The differences are the AR100 clock can no longer be modified, > the APB0 clock has different divisors, and some clock gates are > gone. > > This patch adds a compatib

[linux-sunxi] Re: [PATCH v3 8/9] ARM: sun8i: Add PRCM clock and reset controller nodes to the DTSI

2014-07-07 Thread Maxime Ripard
Hi Chen-Yu, It looks mostly fine but... On Thu, Jul 03, 2014 at 10:55:48PM +0800, Chen-Yu Tsai wrote: > With sun8i PRCM support available, we can add the PRCM clock and > reset controller nodes to the DTSI. Also update R_UART's clock > phandle and add it's reset control phandle. > > Signed-off-b

[linux-sunxi] Re: [PATCH v3 2/9] clk: sunxi: Fix gate indexing for sun6i-a31-apb0-gates

2014-07-07 Thread Maxime Ripard
On Thu, Jul 03, 2014 at 10:55:42PM +0800, Chen-Yu Tsai wrote: > sun6i-a31-apb0-gates supports using clock-indices for holes between > individual gates. However, the driver passes the number of gates > registered in clk_data->clk_num, which of_clk_src_onecell_get uses > to recognize the range of val

[linux-sunxi] Re: [PATCH v3 1/9] clk: sunxi: Add A23 APB0 divider clock support

2014-07-07 Thread Maxime Ripard
On Thu, Jul 03, 2014 at 10:55:41PM +0800, Chen-Yu Tsai wrote: > The A23 has an almost identical PRCM clock tree. The difference in > the APB0 clock is the smallest divisor is 1, instead of 2. > > This patch adds a separate sun8i-a23-apb0-clk driver to support it. > > Signed-off-by: Chen-Yu Tsai