[linux-sunxi] [PATCH v3 1/1] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-19 Thread Alexandru Gagniuc
SPI transfers were limited to one FIFO depth, which is 64 bytes. This was an artificial limitation, however, as the hardware can handle much larger bursts. To accommodate this, we enable the interrupt when the Rx FIFO is 3/4 full, and drain the FIFO within the interrupt handler. The 3/4 ratio was c

[linux-sunxi] [PATCH v2 1/1] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-19 Thread Alexandru Gagniuc
SPI transfers were limited to one FIFO depth, which is 64 bytes. This was an artificial limitation, however, as the hardware can handle much larger bursts. To accommodate this, we enable the interrupt when the Rx FIFO is 3/4 full, and drain the FIFO within the interrupt handler. The 3/4 ratio was c

[linux-sunxi] [PATCH v2 0/1] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-19 Thread Alexandru Gagniuc
This is the second iteration of the patches sent yesterday. Per Maxime's request, I have squashed them into one single patch, and applied most of the suggestion he made. As far as only clearing the interrupt _after_ draining the FIFO, I found that we usually get one extra Rx interrupt per burst if

[linux-sunxi] [PATCH v2 0/1] ARM: sun4i: spi: Allow transfers larger than FIFO size

2014-03-19 Thread Alexandru Gagniuc
This is the second iteration of the patches sent yesterday. Per Maxime's request, I have squashed them into one single patch, and applied most of the suggestion he made. As far as only clearing the interrupt _after_ draining the FIFO, I found that we usually get one extra Rx interrupt per burst if

[linux-sunxi] Re: [PATCH 2/2] v1 ARM: sun4i: spi: Allow Tx transfers larger than FIFO size

2014-03-19 Thread Maxime Ripard
On Tue, Mar 18, 2014 at 05:04:36PM -0500, Alexandru Gagniuc wrote: > Enable and use the Tx FIFO 3/4 interrupt to replenish the FIFO on > large SPI bursts. This requires more care in when the interrupt is > left enabled, as this interrupt will continually trigger when the FIFO > is less than 1/4 ful

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 09:48:59AM -0700, Daniel Mosquera wrote: > > The wiki page for the device is filled. > > Daniel Smashing! Even UART :) I made a few minor changes, but now it looks real good. Question: isn't the u-boot button the same as the FEL button? Could you make some pictures of

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

2014-03-19 Thread Carlo Caione
Allwinner A20/A31 SoCs have special registers to control / (un)mask / acknowledge NMI. This NMI controller is separated and independent from GIC. This patch adds a new irqchip to manage NMI. Signed-off-by: Carlo Caione Acked-by: Maxime Ripard --- drivers/irqchip/Makefile| 1 + drivers

[linux-sunxi] [PATCH v7 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-19 Thread Carlo Caione
Allwinner A20/A31 SoCs have a special interrupt controller for managing NMI. Three register are present to (un)mask, control and acknowledge NMI. These two patches add a new irqchip driver in cascade with GIC. Changes since v1: - added binding document Changes since v2: - fixed tr

[linux-sunxi] [PATCH v7 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support

2014-03-19 Thread Carlo Caione
This patch adds DTS entries for NMI controller as child of GIC. Signed-off-by: Carlo Caione --- arch/arm/boot/dts/sun6i-a31.dtsi | 8 arch/arm/boot/dts/sun7i-a20.dtsi | 8 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i

[linux-sunxi] [PATCH v7 3/3] ARM: sun7i/sun6i: irqchip: Update the documentation

2014-03-19 Thread Carlo Caione
Added documentation for NMI irqchip. Signed-off-by: Carlo Caione --- .../allwinner,sun67i-sc-nmi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/allwinner,sun67i-sc-nmi.txt diff --gi

Re: [linux-sunxi] Re: Auxtek-004 booting problems

2014-03-19 Thread Emilio López
Hi there, El 19/03/14 14:14, Daniel Mosquera escribió: Hi, I have built the kernel directly using sun5i_defconfig, but it refuses to boot. I have tested with the last uboot and with the Fedora R18 uboot provided by Hans de Goede, and in both cases Hans' image boots but the one built with sun5i_

Re: [linux-sunxi] Re: Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 10:14:51AM -0700, Daniel Mosquera wrote: > Hi, > > I have built the kernel directly using sun5i_defconfig, but it refuses to > boot. > I have tested with the last uboot and with the Fedora R18 uboot provided by > Hans de Goede, > and in both cases Hans' image boots but th

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 08:11:56AM -0700, Daniel Mosquera wrote: > El miércoles, 19 de marzo de 2014 15:46:49 UTC+1, Luc Verhaegen escribió: > > > > On Tue, Mar 18, 2014 at 03:12:13PM -0700, Daniel Mosquera wrote: > > > Hi, > > > > > > I'm trying to boot the 3.4.79 kernel in an A10s TV Box devic

[linux-sunxi] Re: [PATCH 2/2] v1 ARM: sun4i: spi: Allow Tx transfers larger than FIFO size

2014-03-19 Thread mrnuke
On Wednesday, March 19, 2014 06:02:51 PM Maxime Ripard wrote: > > +static inline int sun4i_spi_get_tx_fifo_count(struct sun4i_spi *sspi) > > return an u32 here > > > +static inline void sun4i_spi_disable_interrupt(struct sun4i_spi *sspi, > > u32 > > intm) > > Please rename the variable "mask" h

[linux-sunxi] Re: [PATCH 1/2] v1 ARM: sun4i: spi: Allow Rx transfers larger than FIFO size

2014-03-19 Thread mrnuke
On Wednesday, March 19, 2014 05:55:07 PM Maxime Ripard wrote: > Hi, > > Thanks for working on this. > > I have a few general comments first: > - Use a decent mailer for your patches. [...] > - The vX should be between the brackets, [...] OOPS > - Those two patches should be merged together

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Daniel Mosquera
El miércoles, 19 de marzo de 2014 18:05:36 UTC+1, Luc Verhaegen escribió: > > On Wed, Mar 19, 2014 at 09:48:59AM -0700, Daniel Mosquera wrote: > > > > The wiki page for the device is filled. > > > > Daniel > > Smashing! Even UART :) > > I made a few minor changes, but now it looks real good

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

2014-03-19 Thread Code Kipper
This may be an issue with the audio/hdmi drivers so could be relevant to this mailing list. Is anybody using HD video + audio?, I've not plugged my box into my TV for months so can't really comment on the current status. I may be able to take a look but I will need the following: upload the proble

[linux-sunxi] Re: Auxtek-004 booting problems

2014-03-19 Thread Daniel Mosquera
Hi, I have built the kernel directly using sun5i_defconfig, but it refuses to boot. I have tested with the last uboot and with the Fedora R18 uboot provided by Hans de Goede, and in both cases Hans' image boots but the one built with sun5i_defconfig doesn't boot. Also I provide two Boot dumps,

[linux-sunxi] Re: [PATCH 1/2] v1 ARM: sun4i: spi: Allow Rx transfers larger than FIFO size

2014-03-19 Thread Maxime Ripard
Hi, Thanks for working on this. I have a few general comments first: - Use a decent mailer for your patches. git send-email is perfect for that, use it. Otherwise, your patches will be wrapped, like it happened here, and they won't be applyable anymore. - The vX should be between the

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Daniel Mosquera
El miércoles, 19 de marzo de 2014 16:21:35 UTC+1, Luc Verhaegen escribió: > > On Wed, Mar 19, 2014 at 03:40:19PM +0100, Luc Verhaegen wrote: > > On Wed, Mar 19, 2014 at 07:37:10AM -0700, Daniel Mosquera wrote: > > > Hi Luc, > > > > > > No problem to document this board. > > > My user is iso9

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 03:40:19PM +0100, Luc Verhaegen wrote: > On Wed, Mar 19, 2014 at 07:37:10AM -0700, Daniel Mosquera wrote: > > Hi Luc, > > > > No problem to document this board. > > My user is iso9660, but I cannot see any way I can add a new wiki page when > > reading the wiki with my us

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Daniel Mosquera
El miércoles, 19 de marzo de 2014 15:46:49 UTC+1, Luc Verhaegen escribió: > > On Tue, Mar 18, 2014 at 03:12:13PM -0700, Daniel Mosquera wrote: > > Hi, > > > > I'm trying to boot the 3.4.79 kernel in an A10s TV Box device with the > last > > uboot, > > but it hangs trying to boot the kernel. P

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Tue, Mar 18, 2014 at 03:12:13PM -0700, Daniel Mosquera wrote: > Hi, > > I'm trying to boot the 3.4.79 kernel in an A10s TV Box device with the last > uboot, > but it hangs trying to boot the kernel. Please, can anybody help me? What happens if you enable early printk? Luc Verhaegen. -- Y

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 07:37:10AM -0700, Daniel Mosquera wrote: > Hi Luc, > > No problem to document this board. > My user is iso9660, but I cannot see any way I can add a new wiki page when > reading the wiki with my user. > Could be related with my user account's permissions? > > Kind regard

Re: [linux-sunxi] Auxtek-004 booting problems

2014-03-19 Thread Daniel Mosquera
Hi Luc, No problem to document this board. My user is iso9660, but I cannot see any way I can add a new wiki page when reading the wiki with my user. Could be related with my user account's permissions? Kind regards El miércoles, 19 de marzo de 2014 00:04:49 UTC+1, Luc Verhaegen escribió: > >

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

2014-03-19 Thread Puneet B
Hi, i fallow this link http://linux-sunxi.org/Cedrus In my ubuntu for mpv player i install from this repository. https://github.com/mpv-player/mpv To get audio through hdmi output, i just compile hdmi as driver and sunxi-codec as module. so now card 0 is hdmi. so audio is playing through hd

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

2014-03-19 Thread Simon Kenyon
are you doing this just to learn or are you doing this for your job? i've asked before and i'll ask again. how has this anything to do with the topic of this mailing list? On 19 Mar 2014, at 14:26, Puneet B wrote: > Hi, > > i fallow this link > > http://linux-sunxi.org/Cedrus > > In my ubun

[linux-sunxi] Re: [PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-19 Thread Carlo Caione
On Wed, Mar 19, 2014 at 1:41 PM, Thomas Gleixner wrote: > On Wed, 19 Mar 2014, Maxime Ripard wrote: > >> On Wed, Mar 19, 2014 at 12:13:56PM +0100, Thomas Gleixner wrote: >> > On Sat, 15 Mar 2014, Carlo Caione wrote: >> > >> > > Allwinner A20/A31 SoCs have a special interrupt controller for managin

[linux-sunxi] Re: [PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-19 Thread Thomas Gleixner
On Wed, 19 Mar 2014, Maxime Ripard wrote: > On Wed, Mar 19, 2014 at 12:13:56PM +0100, Thomas Gleixner wrote: > > On Sat, 15 Mar 2014, Carlo Caione wrote: > > > > > Allwinner A20/A31 SoCs have a special interrupt controller for managing > > > NMI. > > > Three register are present to (un)mask, con

[linux-sunxi] Re: [PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-19 Thread Maxime Ripard
On Wed, Mar 19, 2014 at 12:13:56PM +0100, Thomas Gleixner wrote: > On Sat, 15 Mar 2014, Carlo Caione wrote: > > > Allwinner A20/A31 SoCs have a special interrupt controller for managing NMI. > > Three register are present to (un)mask, control and acknowledge NMI. > > These two patches add a new ir

[linux-sunxi] Re: [PATCH v6 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI controller

2014-03-19 Thread Thomas Gleixner
On Sat, 15 Mar 2014, Carlo Caione wrote: > Allwinner A20/A31 SoCs have a special interrupt controller for managing NMI. > Three register are present to (un)mask, control and acknowledge NMI. > These two patches add a new irqchip driver in cascade with GIC. If I get an ack for the DT parts, I'll p

[linux-sunxi] Re: A31 and power_start?

2014-03-19 Thread Jani Aaltonen
I should probably start with clarification that yes my tabs are also "alive" in some way, ie they do show charging animation for few seconds in the screen when I plug the charger in. Also found that the images used for charging animation are on the nanda -partition in os_show folder. Thanks for