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

2014-01-17 Thread Carlo Caione
On Thu, Jan 16, 2014 at 1:39 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Carlo, On Sat, Jan 11, 2014 at 04:19:06PM +0100, Carlo Caione wrote: Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and

Re: [linux-sunxi] Re: How to test wifi in A20.

2014-01-17 Thread Olliver Schinagl
Hi Puneet, bcmdhd is currently not working in the sunxi-3.4 kernel; this is known. We will try to backport the 3.14 patches to see if that makes it work. The cubieboard kernel's patched some stuff in but I think there's a bug somewhere as you mention with the gpio's. I did see this document

Re: [linux-sunxi] Booting Android with uboot

2014-01-17 Thread Olliver Schinagl
On 15-01-14 13:15, jonsm...@gmail.com wrote: On Wed, Jan 15, 2014 at 12:44 AM, Henrik Nordström hen...@henriknordstrom.net wrote: tis 2014-01-14 klockan 22:44 -0500 skrev jonsm...@gmail.com: I can boot Linux using this procedure without problem, but I can't get my Android kernel to boot.

Re: [linux-sunxi] Sudden memory failure on an A20-OLinuXino-MICRO

2014-01-17 Thread Olliver Schinagl
On 14-01-14 19:52, Axel Theilmann wrote: You probably best contact olimex for custommer support Oliver moin, i know nothing about the specific problem, but have you checked your power supply? yes, the power supply should be ok. i have used it for months without problems. it works ok with

[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 by the

Re: [linux-sunxi] [PATCH u-boot-sunxi] ARM: sunxi: get script.bin file name from env

2014-01-17 Thread Olliver Schinagl
Pat, Thanks, Pushed this now. Yeah it doesn't hurt having it available as an env at all. I don't think it matters greatly for having it in mainline, if everything is cleaned up, passing script.bin or dtb is up to the user, so it may as well fly. Oliver On 09-01-14 06:49, Patrick Wood

Re: [linux-sunxi] Doing some sunxi hacking in Brussels the Friday before Fosdem ?

2014-01-17 Thread Olliver Schinagl
Just an FYI to the hacking session; while it sounds like a lot of fun and something really cool I could learn a lot from, I won't be able to schedule that in at all. To bad FOSDEM is so awesome and there are so many interesting talks! So sat/sun is out of the question. Oliver On 14-01-14

Re: [linux-sunxi] 24-bit Audio Isn't Working

2014-01-17 Thread Olliver Schinagl
I don't think anybody here has tested this yet either. So any findings are very welcome! Oliver On 13-01-14 05:29, George Ioakimedes wrote: We've been looking into supporting high resolution audio file playback, specifically 24-bit/96kHz and 24-bit/192kHz files. We've made some changes and

[linux-sunxi] Re: LCD output on A20 Android 4.2.2

2014-01-17 Thread zhang . tian-chao
You can use pure SDK 1.2 to build android os. Then you can control the video output to LCD. Download from : http://dl.linux-sunxi.org/users/tsvetan/A20-SDK-V1.2/A20-V1.2.tar.gz -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from

Re: [linux-sunxi] [PATCH] Fix K1001L1C LCD bug

2014-01-17 Thread Olliver Schinagl
On 13-01-14 00:51, Korneliusz Osmenda wrote: Fex file for tablet didn't specified pll3 setting which caused nonworking LCD. --- sys_config/a20/k1001l1c.fex | 1 + 1 file changed, 1 insertion(+) diff --git a/sys_config/a20/k1001l1c.fex b/sys_config/a20/k1001l1c.fex index 54ac2c7..b11d75e

[linux-sunxi] [PATCH net-next v3 6/8] net: stmmac: Deprecate snps,phy-addr and auto-detect PHY address

2014-01-17 Thread Chen-Yu Tsai
The snps,phy-addr device tree property is non-standard, and should be removed in favor of proper phy node support. Remove it from the binding documents and warn if the property is still used. Most PHYs respond to address 0, but a few don't, so auto-detect PHY address by default, to make up for

[linux-sunxi] [PATCH net-next v3 8/8] net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's

2014-01-17 Thread Chen-Yu Tsai
The Allwinner A20 has an ethernet controller that seems to be an early version of Synopsys DesignWare MAC 10/100/1000 Universal, which is supported by the stmmac driver. Allwinner's GMAC requires setting additional registers in the SoC's clock control unit. The exact version of the DWMAC IP that

[linux-sunxi] [PATCH net-next v3 1/8] net: stmmac: Enable stmmac main clock when probing hardware

2014-01-17 Thread Chen-Yu Tsai
The stmmac driver does not enable the main clock during the probe phase. If the clock was not enabled by the boot loader or was disabled by the kernel, hardware features and the MDIO bus would not be probed properly. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[linux-sunxi] [PATCH net-next v3 2/8] net: stmmac: Add support for optional reset control

2014-01-17 Thread Chen-Yu Tsai
The DWMAC has a reset assert line, which is used on some SoCs. Add an optional reset control to stmmac driver core. To support reset control deferred probing, this patch changes the driver probe function to return the actual error, instead of just -EINVAL. Signed-off-by: Chen-Yu Tsai

[linux-sunxi] [PATCH net-next v3 0/8] net: stmmac: Add Allwinner A20 GMAC ethernet

2014-01-17 Thread Chen-Yu Tsai
Hi, This is v3 of the Allwinner A20 GMAC glue layer for stmmac. I have split the series into stmmac driver changes for net-next, and clock and DT patches for their respective trees. The Allwinner A20 SoC integrates an early version of dwmac IP from Synopsys. On top of that is a hardware glue

[linux-sunxi] [PATCH net-next v3 3/8] net: stmmac: Allocate and pass soc/board specific data to callbacks

2014-01-17 Thread Chen-Yu Tsai
The current .init and .exit callbacks requires access to driver private data structures. This is not a good seperation and abstraction. Instead, we add a new .setup callback for allocating private data, and pass the returned pointer to the other callbacks. Signed-off-by: Chen-Yu Tsai

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

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Chen-Yu Tsai wrote: diff --git a/Documentation/devicetree/bindings/rfkill/rfkill-gpio.txt b/Documentation/devicetree/bindings/rfkill/rfkill-gpio.txt new file mode 100644 index 000..8a07ea4 --- /dev/null +++

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

2014-01-17 Thread Alan Stern
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 the 2 small bugs Alan found.

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

2014-01-17 Thread Arnd Bergmann
On Friday 17 January 2014, Chen-Yu Tsai wrote: On Sat, Jan 18, 2014 at 12:47 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 17 January 2014, Chen-Yu Tsai wrote: diff --git a/Documentation/devicetree/bindings/rfkill/rfkill-gpio.txt

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

2014-01-17 Thread Johannes Berg
On Fri, 2014-01-17 at 14:47 +0800, Chen-Yu Tsai wrote: This patch series adds device tree support to rfkill-gpio, and fixes some issues I ran into. This is so we can define and control RF devices through the device tree, such as the Broadcom BCM20710 UART-based Bluetooth device found on the

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

2014-01-17 Thread Linus Walleij
On Fri, Jan 17, 2014 at 6:43 PM, Chen-Yu Tsai w...@csie.org wrote: On Sat, Jan 18, 2014 at 12:47 AM, Arnd Bergmann a...@arndb.de wrote: +- NAME_shutdown-gpios : GPIO phandle to shutdown control + (phandle must be the second) +- NAME_reset-gpios : GPIO phandle to

Re: [linux-sunxi] Re: [PATCH] Add Full Duplex support to SPI (v2)

2014-01-17 Thread Henrik Nordström
fre 2014-01-17 klockan 04:23 -0800 skrev montesi...@gmail.com: On Wednesday, 8 January 2014 13:46:16 UTC+1, 郑志煜 wrote: I contacted the FAE engineer of Allwinner in monday, he said they had not verified the SPI driver code. So they don't know if the SPI FDX mode works.. It's very

Re: [linux-sunxi] [PATCH u-boot-sunxi] ARM: sunxi: get script.bin file name from env

2014-01-17 Thread Patrick Wood
Even in mainline, I see no reason to not to access the dtb file through an env variable (I haven't checked to see, perhaps it is). -- 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,

[linux-sunxi] Re: How to test wifi in A20.

2014-01-17 Thread Patrick Wood
On Friday, January 17, 2014 2:54:45 AM UTC-5, Puneet B wrote: Hi, While tracing problem i found below issue. i am getting error in log as: [4.780261] [dhd_module_init] get wl_host_wake gpio failed The code is from here:./ vim linux-sunxi/drivers/net/wireless/bcmdhd/dhd_linux.c

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

2014-01-17 Thread Chen-Yu Tsai
On Sat, Jan 18, 2014 at 7:11 AM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Jan 17, 2014 at 6:43 PM, Chen-Yu Tsai w...@csie.org wrote: On Sat, Jan 18, 2014 at 12:47 AM, Arnd Bergmann a...@arndb.de wrote: +- NAME_shutdown-gpios : GPIO phandle to shutdown control +