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

2013-12-29 Thread Maxime Ripard
Hi Hans, On Sat, Dec 21, 2013 at 01:15:07PM +0100, Hans de Goede wrote: I think that adding a new factors calculation function for sun5i's PLL6, that would limit the factors returned to whatever frequency is adequate would work. Emilio? The problem is that the clk framework will first try

[linux-sunxi] Re: [PATCH 1/4] clk: sunxi: Allwinner A20 output clock support

2013-12-29 Thread Mike Turquette
Quoting Chen-Yu Tsai (2013-12-24 05:26:17) This patch adds support for the external clock outputs on the Allwinner A20 SoC. The clock outputs are similar to module 0 type clocks, with different offsets and widths for clock factors. Signed-off-by: Chen-Yu Tsai w...@csie.org Looks good to me.

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

2013-12-29 Thread Siarhei Siamashka
These macros are used to convert between physical addresses (as seen by the CPU) and bus addresses (as seen by various peripherals such as the display controller, cedar, g2d, mali, ...). The difference between physical and bus addresses is 0x4000, because that's the physical address of SDRAM

Re: [linux-sunxi] Re: X11+GLES broken (possibly in kernel) with 2GiB boards (Cubietruck)

2013-12-29 Thread Siarhei Siamashka
On Fri, 27 Dec 2013 08:04:49 -0800 (PST) pmsc...@gmail.com wrote: Same problem for me :-( Thanks for reminding. This issue can be fixed by something like this: http://thread.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/5480 I guess now the ball is more or less on the application

[linux-sunxi] [PATCH v2 3/4] pinctrl: sunxi: Add Allwinner A20 clock output pin functions

2013-12-29 Thread Chen-Yu Tsai
This patch adds the clock output pin functions on the A20. The 2 pins can output a configurable clock to be used by external modules. This is used on the CubieTruck, to supply a 32768 Hz low power clock to the onboard Wifi+BT module. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[linux-sunxi] [PATCH v2 2/4] ARM: dts: sun7i: external clock outputs

2013-12-29 Thread Chen-Yu Tsai
This commit adds the two external clock outputs available on A20 to its device tree. A dummy fixed factor clock is also added to serve as the first input of the clock outputs, which according to AW's A20 user manual, is the 24MHz oscillator divided by 750. Signed-off-by: Chen-Yu Tsai