Re: [linux-sunxi] [PATCH 3.4] Revert usb:sunxi:Fix device not recognized problem during android boot (3.4)

2014-02-10 Thread Michal Suchanek
On 9 February 2014 22:07, Jari Helaakoski tekk...@gmail.com wrote: 2014-02-09 Michal Suchanek hramr...@gmail.com: ping? On 27 January 2014 21:10, Michal Suchanek hramr...@gmail.com wrote: From c35e54a6500e3b99fa90544d123df306d11f Mon Sep 17 00:00:00 2001 This reverts commit

[linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
http://linux-sunxi.org/Cedrus Is this link will allow to play the hd video from Gui. or this will also work in only command prompt. Regards Punith -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop

[linux-sunxi] [PATCH v4 4/8] ARM: dts: sun7i: Add pin muxing options for the GMAC

2014-02-10 Thread Chen-Yu Tsai
The A20 has EMAC and GMAC muxed on the same pins. Add pin sets with gmac function for MII and RGMII mode to the DTSI. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun7i-a20.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git

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

2014-02-10 Thread Chen-Yu Tsai
All Allwinner A20 boards we support can only use either EMAC or GMAC, as they share the same pins. As we have switched all supported to GMAC, we should alias GMAC (the active controller) as ethernet0, so u-boot will insert the MAC address for the correct controller. Signed-off-by: Chen-Yu Tsai

[linux-sunxi] [PATCH v4 5/8] ARM: dts: sun7i: cubietruck: Enable the GMAC

2014-02-10 Thread Chen-Yu Tsai
The CubieTruck uses the GMAC with an RGMII phy. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts

[linux-sunxi] [PATCH v4 6/8] ARM: dts: sun7i: cubieboard2: Enable GMAC instead of EMAC

2014-02-10 Thread Chen-Yu Tsai
GMAC has better performance and fewer hardware issues. Use the GMAC in MII mode for ethernet instead of the EMAC. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff

[linux-sunxi] [PATCH v4 7/8] ARM: dts: sun7i: a20-olinuxino-micro: Enable GMAC instead of EMAC

2014-02-10 Thread Chen-Yu Tsai
GMAC has better performance and fewer hardware issues. Use the GMAC in MII mode for ethernet instead of the EMAC. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 27 +++-- 1 file changed, 12 insertions(+), 15 deletions(-) diff

[linux-sunxi] [PATCH v4 3/8] ARM: dts: sun7i: Add GMAC controller node to sun7i DTSI

2014-02-10 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun7i-a20.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index dd567ea..8eb4d54 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++

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

2014-02-10 Thread Chen-Yu Tsai
Hi, This is the v4 of the remaining Allwinner A20 GMAC glue layer patches. The stmmac driver changes have been merged through net-next. The remaining bits are clock and DT patches. The patches should be applied over my clock renaming patches. The Allwinner A20 SoC integrates an early version of

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

2014-02-10 Thread Chen-Yu Tsai
The Allwinner A20/A31 clock module controls the transmit clock source and interface type of the GMAC ethernet controller. Model this as a single clock for GMAC drivers to use. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/clock/sunxi.txt | 30 +++

Re: [linux-sunxi] [PATCH 0/3] uboot sata support

2014-02-10 Thread Ian Campbell
On Fri, 2014-02-07 at 17:36 +0100, Hans de Goede wrote: Hi, On 02/07/2014 05:14 PM, Ian Campbell wrote: This is the result of my afternoons hacking at the urlab hacklab in Brussels before FOSDEM, thanks for hosting us guys! This uses the existing ahci platform support in u-boot. Most

Re: [linux-sunxi] [PATCH 2/3] ahci: wait longer for link.

2014-02-10 Thread Ian Campbell
On Sun, 2014-02-09 at 13:50 +0100, Oliver Schinagl wrote: On 02/07/14 17:15, Ian Campbell wrote: -#define WAIT_MS_LINKUP 4 +#define WAIT_MS_LINKUP 40 wont this affect every platform? Yes. I figured that since this was a timeout it was pretty harmless to increase it, the only

[linux-sunxi] Re: [PATCH v4 4/7] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-02-10 Thread David Lanzendörfer
Hi +(cmd-opcode == 5 || cmd-opcode == 52)) Aren't these the ones defined in linux/mmc/sdio.h: 5 - SD_IO_SEND_OP_COND 52 - SD_IO_RW_DIRECT Yes. They are... Changed that. Also I removed the camel cases and the defines within the struct definition. +struct sunxi_mmc_clk_dly { +

[linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi I am not able to play hd videos smoothly from this link. http://linux-sunxi.org/Cedrus Here is my Procedure what i have done: 1setenv sunxi_ve_mem_reserve '128' 2git clone https://github.com/linux-sunxi/libvdpau-sunxi 3cd libvdpau-sunxi 4make 5make install Then i have libvdpau_sunxi.so.1

Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Olliver Schinagl
Puneet, On 10-02-14 13:28, Puneet B wrote: Hi I am not able to play hd videos smoothly from this link. http://linux-sunxi.org/Cedrus Here is my Procedure what i have done: 1setenv sunxi_ve_mem_reserve '128' 2git clone https://github.com/linux-sunxi/libvdpau-sunxi 3cd libvdpau-sunxi 4make

Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi Oliver. sorry i changed permission to cedar_dev (typo error). Try the big buck buney h264 or sintel h264 demo's. Can you explain this , as i am not getting. Regards Punith -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe

Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Olliver Schinagl
On 10-02-14 14:36, Puneet B wrote: Hi Oliver. sorry i changed permission to cedar_dev (typo error). Try the big buck buney h264 or sintel h264 demo's. Can you explain this , as i am not getting. http://samplemedia.linaro.org/H264/big_buck_bunny_1080p_H264_AAC_25fps_7200K.MP4 if that

Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi Oliver, As i played you video also , has the same issue. Video is not playing smoothly. Here is log: MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote

Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Olliver Schinagl
On 10-02-14 15:27, Puneet B wrote: Hi Oliver, As i played you video also , has the same issue. Video is not playing smoothly. Here is log: MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will

Re: [linux-sunxi] [PATCH 3.4] Revert usb:sunxi:Fix device not recognized problem during android boot (3.4)

2014-02-10 Thread Jari Helaakoski
Is there even an android tree that builds with 3.4? I have been using this: https://github.com/allwinner-dev-team 4months ago I got ICS working with 3.4 kernel and a13_mid board. I don't know current status. Does it even build. I built android long ago and I can't tell if it had this patch

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

2014-02-10 Thread Maxime Ripard
On Mon, Feb 10, 2014 at 06:35:47PM +0800, Chen-Yu Tsai wrote: The Allwinner A20/A31 clock module controls the transmit clock source and interface type of the GMAC ethernet controller. Model this as a single clock for GMAC drivers to use. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by:

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

2014-02-10 Thread Maxime Ripard
Hi Chen-Yu, On Mon, Feb 10, 2014 at 06:35:46PM +0800, Chen-Yu Tsai wrote: Hi, This is the v4 of the remaining Allwinner A20 GMAC glue layer patches. The stmmac driver changes have been merged through net-next. The remaining bits are clock and DT patches. The patches should be applied over

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

2014-02-10 Thread Maxime Ripard
Hi Carlo, On Sat, Feb 08, 2014 at 05:03:47PM +0100, Carlo Caione wrote: This patch adds a new dtsi for supporting axp20x. Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/axp20x.dtsi | 9 + 1 file changed, 9 insertions(+) create mode 100644

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

2014-02-10 Thread Lee Jones
Bindings documentation for the axp20x driver. In this file also two sub-nodes (PEK and regulators) are documented. Signed-off-by: Carlo Caione ca...@caione.org --- Documentation/devicetree/bindings/mfd/axp20x.txt | 87 You need to CC the Device Tree guys. --

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 9:08 PM, Lee Jones lee.jo...@linaro.org wrote: On Sat, 08 Feb 2014, Carlo Caione wrote: This patch adds a new dtsi for supporting axp20x. Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/axp20x.dtsi | 9 + 1 file changed, 9 insertions(+)

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 8:59 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Carlo, On Sat, Feb 08, 2014 at 05:03:47PM +0100, Carlo Caione wrote: This patch adds a new dtsi for supporting axp20x. Signed-off-by: Carlo Caione ca...@caione.org --- arch/arm/boot/dts/axp20x.dtsi |

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 9:02 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: +static struct resource axp20x_pek_resources[] = { + { + .name = PEK_DBR, + .start = AXP20X_IRQ_PEK_RIS_EDGE, + .end= AXP20X_IRQ_PEK_RIS_EDGE, +

Re: [linux-sunxi] Transport stream controller usage at A20-olinuxino

2014-02-10 Thread thomas schorpp
Am 10.02.2014 15:57, schrieb vladimir.a.ers...@gmail.com: Hello, Could you please point me out how to utilize TSC subsystem at the A20-Olinuxino? What driver should I use? Is the any samples? I'm using linux sunxi version 3.4.67+ Thanks in advance, Vladimir. Hi Vladimir, search the list

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 9:12 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Carlo, On Sat, Feb 08, 2014 at 05:03:48PM +0100, Carlo Caione wrote: Bindings documentation for the axp20x driver. In this file also two sub-nodes (PEK and regulators) are documented. Signed-off-by:

[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

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

2014-02-10 Thread Lee Jones
This patch introduces the preliminary support for PMICs X-Powers AXP202 and AXP209. The core contains support only for two sub-modules (PEK and regulators) that will be added with two different patch-sets. Signed-off-by: Carlo Caione ca...@caione.org --- drivers/mfd/Kconfig| 12

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

2014-02-10 Thread Maxime Ripard
On Mon, Feb 10, 2014 at 09:37:37PM +0100, Carlo Caione wrote: +Sub-nodes +* regulators : Contain the regulator nodes. The regulators are bound using +their name as listed here: dcdc2, dcdc3, ldo1, ldo2, ldo3, +ldo4, ldo5. +The bindings details of

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 10:19 PM, Lee Jones lee.jo...@linaro.org wrote: This patch introduces the preliminary support for PMICs X-Powers AXP202 and AXP209. The core contains support only for two sub-modules (PEK and regulators) that will be added with two different patch-sets. Signed-off-by:

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 11:01 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, Feb 10, 2014 at 09:37:37PM +0100, Carlo Caione wrote: +Sub-nodes +* regulators : Contain the regulator nodes. The regulators are bound using +their name as listed here: dcdc2,

[linux-sunxi] Re: Uart 6 + 7 Not working

2014-02-10 Thread Rosimildo DaSilva
I have finally received my CT, and I was able to test the UARTs. Remember this is really confusing. All devices are available, but you need to check the dmesg to really know what is what. For example, for Uart7, it is mapped as /dev/ttyS4. Hopefully this helps. Your FEX for UART7 is correct

Re: [linux-sunxi] Re: Unable to play 720p video in Ubuntu

2014-02-10 Thread Puneet B
Hi Oliver, Sorry for inconvenience , actually i upload wrong log. Because my logitech keyboard is not good. still Video is not playing smoothly. Here is actual log: MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team mplayer: could not connect to socket mplayer: No such file or directory Failed to

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

2014-02-10 Thread Carlo Caione
On Mon, Feb 10, 2014 at 11:34 PM, Carlo Caione ca...@caione.org wrote: +static struct axp20x_dev *axp20x_pm_power_off; This looks pretty unconventional. What's the point of it? On a single board we can have multiple AXPs so I track which one is in charge of powering off the board (and to