[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Maxime Ripard
Hi Kevin, On Thu, Jan 30, 2014 at 03:52:16PM -0800, Kevin Hilman wrote: > On Wed, Jan 29, 2014 at 5:32 AM, Maxime Ripard > wrote: > > On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: > >> On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote: > >> > >> > +config SPI_SUN6I > >>

Re: [linux-sunxi] Re: How to port ubuntu in my A20 board.

2014-01-31 Thread Puneet B
HI , I used some previous rootfs which is used for my A10 board. Now UBUNTU is booting fine. But Once i play 720p video , the video is not playing smoothly(playing like slow motion). i tried with installing mali.ko and ump.ko. But not yet worked. kindly suggest me what will be issue. Regard

[linux-sunxi] Olimex A13-OLinuXino-WIFI MOD-RS232 setup

2014-01-31 Thread Bilal TAŞ
Hello, I have A13-OLinuXino-WIFI board with uext mod -rs232 interface. My problem is MOD-RS232. How to use MOD-RS232 ? Thanks. -- 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

[linux-sunxi] [PATCH v3 1/5] clk: sunxi: Add support for PLL6 on the A31

2014-01-31 Thread Maxime Ripard
The A31 has a slightly different PLL6 clock. Add support for this new clock in our driver. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sunxi.c | 45 +++ 2 files changed, 46 insertions(+)

[linux-sunxi] [PATCH v3 2/5] ARM: sun6i: dt: Add PLL6 and SPI module clocks

2014-01-31 Thread Maxime Ripard
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 SPI controllers. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 46 1 file changed

[linux-sunxi] [PATCH v3 4/5] ARM: sun6i: dt: Add SPI controllers to the A31 DTSI

2014-01-31 Thread Maxime Ripard
The A31 has 4 SPI controllers. Add them in the DTSI. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 0eea325..

[linux-sunxi] [PATCH v3 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Maxime Ripard
The Allwinner A31 has a new SPI controller IP compared to the older Allwinner SoCs. It supports DMA, but the driver only does PIO for now, and DMA will be supported eventually. Signed-off-by: Maxime Ripard --- .../devicetree/bindings/spi/spi-sun6i.txt | 24 ++ drivers/spi/Kconfig

[linux-sunxi] [PATCH v3 0/5] Add Allwinner A31 SPI controller support

2014-01-31 Thread Maxime Ripard
Hi everyone, This patchset brings support for the SPI controller found in the Allwinner A31 SoC. Even though the controller supports DMA, the driver only supports PIO mode for now. This driver will be used to bring up and test DMA on the SoC, so support for the DMA will come eventually. It doesn

[linux-sunxi] [PATCH v3 5/5] ARM: sunxi: Enable A31 SPI and SID in the defconfig

2014-01-31 Thread Maxime Ripard
Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 3e2259b..b5df4a5 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig

[linux-sunxi] Re: [PATCH v3 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Mark Brown
On Fri, Jan 31, 2014 at 11:55:50AM +0100, Maxime Ripard wrote: > + master = devm_spi_alloc_master(&pdev->dev, sizeof(struct sun6i_spi)); > + if (!master) { > + dev_err(&pdev->dev, "Unable to allocate SPI Master\n"); > + return -ENOMEM; > + } This now depends on

[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Kevin Hilman
On Thu, Jan 30, 2014 at 6:29 PM, Felipe Balbi wrote: > Hi, > > On Thu, Jan 30, 2014 at 03:52:16PM -0800, Kevin Hilman wrote: >> On Wed, Jan 29, 2014 at 5:32 AM, Maxime Ripard >> wrote: >> > On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: >> >> On Wed, Jan 29, 2014 at 12:10:48PM +0100,

[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Kevin Hilman
On Wed, Jan 29, 2014 at 5:32 AM, Maxime Ripard wrote: > On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: >> On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote: >> >> > +config SPI_SUN6I >> > + tristate "Allwinner A31 SPI controller" >> > + depends on ARCH_SUNXI || COMPILE

[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Felipe Balbi
Hi, On Thu, Jan 30, 2014 at 03:52:16PM -0800, Kevin Hilman wrote: > On Wed, Jan 29, 2014 at 5:32 AM, Maxime Ripard > wrote: > > On Wed, Jan 29, 2014 at 12:25:20PM +, Mark Brown wrote: > >> On Wed, Jan 29, 2014 at 12:10:48PM +0100, Maxime Ripard wrote: > >> > >> > +config SPI_SUN6I > >> > +

[linux-sunxi] Missing DVB symbols version

2014-01-31 Thread Oscar C
Hi, I'm trying to compile the vtunerc (http://code.google.com/p/vtuner/) kernel module for my cubieboard2 (sunxi-kernel 3.4.75). Although it's built ok, when I try to load it with "modprobe vtunerc" I get unkown symbols errors: [117972.229485] vtunerc: no symbol version for dvb_dmxdev_init [

[linux-sunxi] Re: [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Mark Brown
On Fri, Jan 31, 2014 at 09:11:47AM +0100, Maxime Ripard wrote: > Wouldn't it be better if it was suspended by default, and just waken > up whenever the framework needs it? The aim should be to come out of probe in that state if runtime PM is enabled but don't do it with these hacks, do it by idli

[linux-sunxi] [PATCH u-boot] sunxi: correct CLK_DLY configuration loop

2014-01-31 Thread Ian Campbell
It seems that the intention was to index the dqs_dly array with dqs_i and not clk_i. Using clk_i means that dqs_i is unused in the loop and also causes us to run off the end of the dqs_dly array resulting in: In file included from dram.c:34:0: dram.c: In function ‘dramc_init’: dram.c:314:15: warni

[linux-sunxi] [PATCH u-boot] cmd_gpio: fix warning with GPIO_OSCILLATE

2014-01-31 Thread Ian Campbell
In do_gpio value is not initialised in the GPIO_OSCILLATE case: cmd_gpio.c: In function ‘do_gpio’: cmd_gpio.c:92:2: warning: ‘value’ may be used uninitialized in this function [-Wmaybe-uninitialized] return value; ^ Returning 0 in this case seems fairly logical. Signed-off-by: Ian Campbell

Re: [linux-sunxi] [PATCH] tools: correct proftool build rule

2014-01-31 Thread Ian Campbell
On Fri, 2014-01-31 at 17:07 +, Ian Campbell wrote: > The incorrect substitution made it rebuild every time. I sent this to linux-sunxi@ instead of the u-boot list by mistake. Sorry! Will resend to the correct place shortly... -- You received this message because you are subscribed to the Go

[linux-sunxi] [PATCH] tools: correct proftool build rule

2014-01-31 Thread Ian Campbell
The incorrect substitution made it rebuild every time. Signed-off-by: Ian Campbell Cc: Tom Rini Cc: Simon Glass --- tools/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 323d408..602b2e5 100644 --- a/tools/Makefile +++ b/to

[linux-sunxi] Re: [RFC PATCH v2 00/11] mtd: nand: add sunxi NAND Flash Controller support

2014-01-31 Thread Boris BREZILLON
Hi all, Some feedback based on my tests of the HW randomizer available in the NFC controller (you might already know what I found :-)): - the HW randomizer uses a Fibonacci LFSR with the x^15 + x^14 + 1 feedback polynomial (see http://en.wikipedia.org/wiki/Linear_feedback_shift_register for

[linux-sunxi] Re: [PATCH v5 14/14] ARM: sun7i: dts: Add ahci / sata support

2014-01-31 Thread Maxime Ripard
On Wed, Jan 22, 2014 at 08:04:49PM +0100, Hans de Goede wrote: > This patch adds sunxi sata support to A20 boards that have such a connector. > Some boards also feature a regulator via a GPIO and support for this is also > added. > > Signed-off-by: Olliver Schinagl > Signed-off-by: Hans de Goede

[linux-sunxi] Re: [PATCH v5 13/14] ARM: sun4i: dts: Add ahci / sata support

2014-01-31 Thread Maxime Ripard
Hi Hans, On Wed, Jan 22, 2014 at 08:04:48PM +0100, Hans de Goede wrote: > From: Oliver Schinagl > > This patch adds sunxi sata support to A10 boards that have such a connector. > Some boards also feature a regulator via a GPIO and support for this is also > added. > > Signed-off-by: Olliver Sch

[linux-sunxi] Re: [PATCH v3 3/5] spi: sunxi: Add Allwinner A31 SPI controller driver

2014-01-31 Thread Maxime Ripard
On Fri, Jan 31, 2014 at 12:48:09PM +, Mark Brown wrote: > On Fri, Jan 31, 2014 at 11:55:50AM +0100, Maxime Ripard wrote: > > > + master = devm_spi_alloc_master(&pdev->dev, sizeof(struct sun6i_spi)); > > + if (!master) { > > + dev_err(&pdev->dev, "Unable to allocate SPI Master\n")

[linux-sunxi] Mainline and Headless devices

2014-01-31 Thread Rosimildo DaSilva
Is mainline "workable" as a headless device ? I don't need any GUI, as long as I have SSH to login. :-) Thanks, R -- 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

Re: [linux-sunxi] Mainline and Headless devices

2014-01-31 Thread Maxime Ripard
Hi, On Fri, Jan 31, 2014 at 02:51:21PM -0800, Rosimildo DaSilva wrote: > Is mainline "workable" as a headless device ? > I don't need any GUI, as long as I have SSH to login. :-) Yes and no. It depends on which SoC you use, and what features you expect. If you want to use either an A10, A10s, A

Re: [linux-sunxi] Mainline and Headless devices

2014-01-31 Thread Rosimildo DaSilva
Thanks Maxime. I'd like to run on Mele/CB1/Cubietruck. A CT would be my first choice. All I need is: Network, wired and/or wi-fi. RootFS from SD card or Nand, whatever it is easier. And finally USB functionality. This I need to plug some cheap camera, and use ffmpeg to send a stream out. N

[linux-sunxi] new version of TabletWM

2014-01-31 Thread Sergio Costas
Hi all: Today I released a new version of TabletWM, the minimalistic window manager oriented to tablets (I developed it to be used with my A13-based tablet). It can be found at my git repository: https://github.com/rastersoft/tabletwm -- Nos leemos RASTER(Linux u