Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 26 April 2015 at 17:47, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: Hi, I've a feeling everyone in this thread is ignoring the raspberry pi use-case. Where the board is specifically designed for educational purposes

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Hans de Goede
Hi Mark, On 27-04-15 11:36, Mark Brown wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard No, you add a compatible for the device that is connected to the bus through that slot. There is no device connected in the slot by

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 11:36, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard No, you add a compatible for the device that is connected to the bus through that slot. There is no device connected in

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Maxime Ripard
On Mon, Apr 27, 2015 at 08:51:12AM +0200, Michal Suchanek wrote: On 26 April 2015 at 17:47, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: Hi, I've a feeling everyone in this thread is ignoring the raspberry pi

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Hans de Goede
Hi, On 27-04-15 12:04, Hans de Goede wrote: Hi Mark, On 27-04-15 11:36, Mark Brown wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard No, you add a compatible for the device that is connected to the bus through that slot.

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: Hi, Please always provide context in your replies so people know what you're talking about. I've a feeling everyone in this thread is ignoring the raspberry pi use-case. Where the board is specifically designed for educational

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Mon, Apr 27, 2015 at 11:39:50AM +0200, Michal Suchanek wrote: On 27 April 2015 at 11:36, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: There is no device connected in the slot by design. The slot is there for connecting random

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Maxime Ripard
On Sun, Apr 26, 2015 at 08:53:16PM +0200, Michal Suchanek wrote: Also for driver prototyping you need a compatible which makes the device accessible. If no spidev general compatible is available people will just use compatible for some random device which happens to bind to spidev and

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 12:04, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 08:53:16PM +0200, Michal Suchanek wrote: Also for driver prototyping you need a compatible which makes the device accessible. If no spidev general compatible is available people will

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard No, you add a compatible for the device that is connected to the bus through that slot. There is no device connected in the slot by design. The slot is there for connecting random

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Sun, Apr 26, 2015 at 02:51:13PM +0200, Maxime Ripard wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: I don't know if it's been suggested before, certainly nobody did the work to make it happen. I don't think I have a massive objection in principal.

Re: [linux-sunxi] Re: A20 DMA engine patch and GMAC

2015-04-27 Thread Irgendeiner
Am 27.04.2015, 04:07 Uhr, schrieb Stefan Monnier monn...@iro.umontreal.ca: I'm building kernel 3.19+ since it's reported to work fine with BananaPi I've read on the sunxi mainline kernel status that the DMA engine for A10/A20 is still in progress and a patch, so far at V4, exist. Has anyone

[linux-sunxi] Re: A20 DMA engine patch and GMAC

2015-04-27 Thread menion
Thank you for you clarification Now, it's only a matter to find time to build and setup everything ;) -- 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

[linux-sunxi] Re: A20 DMA engine patch and GMAC

2015-04-27 Thread Stefan Monnier
When SATA uses it's own DMA code this could explain why writing to SATA disk is up to 5 times slower than reading. I don't see why. The SATA code in mainline for Allwinner uses the same code (including DMA) as used on many other platforms, AFAIK. But yes, I'm also very curious why SATA write

[linux-sunxi] How to adjust bitrate of allwinner's encoder dynamically

2015-04-27 Thread lyc . achun
hi,all, How to adjust bitrate of allwinner's encoder dynamically,I tried to change, but did not seem to effect. BR, -- 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

[linux-sunxi] A20 NAND Issues

2015-04-27 Thread Ivan Kozic
Hi all, One more topic about NAND, just what everyone needs :) Seriously though, I've got into a seemingly stupid but not easily resolvable problem. I have custom boards with A20 and 2Gbit NAND. One version is with 1Gb RAM, while the other is with 256mb RAM. No matter what I do, none of the

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Mon, Apr 27, 2015 at 12:04:12PM +0200, Hans de Goede wrote: Have you seen my mail about the raspberry pi use-case? Using dt-overlays simply is not an acceptable answer there. There are legitimate use-cases for a generic spi bus concept with the bus only being accessible via spidev.

Re: [linux-sunxi] How to adjust bitrate of allwinner's encoder dynamically

2015-04-27 Thread jonsm...@gmail.com
On Mon, Apr 27, 2015 at 2:45 AM, lyc.ac...@gmail.com wrote: hi,all, How to adjust bitrate of allwinner's encoder dynamically,I tried to change, but did not seem to effect. I could not get it to work for lower bitrates. After about 1.5Mb/s it stopped doing anything. I needed 500Kb/s for my

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 12:10, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 04:40:50PM +0200, Hans de Goede wrote: Hi, Please always provide context in your replies so people know what you're talking about. I've a feeling everyone in this thread is ignoring the raspberry pi

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Martin Sperl
On 2015-04-27 13:25, Mark Brown wrote: On Mon, Apr 27, 2015 at 12:04:12PM +0200, Hans de Goede wrote: Have you seen my mail about the raspberry pi use-case? Using dt-overlays simply is not an acceptable answer there. There are legitimate use-cases for a generic spi bus concept with the bus

Re: [linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread Julian Calaby
Hi Mark, On Tue, Apr 28, 2015 at 8:29 AM, m...@markvdb.be wrote: No sources I guess :-( But maybe something useful to be gleaned from it? http://www.orangepi.org/downloaded/download.html Unless source code is provided, it's mostly useless to us. Thanks, -- Julian Calaby Email:

[linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread mark
No sources I guess :-( But maybe something useful to be gleaned from it? http://www.orangepi.org/downloaded/download.html Mark -- 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

Re: [linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread Julian Calaby
Hi All, On Tue, Apr 28, 2015 at 10:30 AM, Julian Calaby julian.cal...@gmail.com wrote: Hi Mark, On Tue, Apr 28, 2015 at 8:29 AM, m...@markvdb.be wrote: No sources I guess :-( But maybe something useful to be gleaned from it? http://www.orangepi.org/downloaded/download.html Unless source

Re: [linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread Code Kipper
On 28 April 2015 at 02:54, Julian Calaby julian.cal...@gmail.com wrote: Hi All, On Tue, Apr 28, 2015 at 10:30 AM, Julian Calaby julian.cal...@gmail.com wrote: Hi Mark, On Tue, Apr 28, 2015 at 8:29 AM, m...@markvdb.be wrote: No sources I guess :-( But maybe something useful to be gleaned

Re: [linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread Code Kipper
On 28 April 2015 at 07:11, Code Kipper codekip...@gmail.com wrote: On 28 April 2015 at 02:54, Julian Calaby julian.cal...@gmail.com wrote: Hi All, On Tue, Apr 28, 2015 at 10:30 AM, Julian Calaby julian.cal...@gmail.com wrote: Hi Mark, On Tue, Apr 28, 2015 at 8:29 AM, m...@markvdb.be

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Mon, Apr 27, 2015 at 04:14:31PM +0200, Martin Sperl wrote: On 2015-04-27 13:25, Mark Brown wrote: I don't think you've fully considered your use case here. As I said in my reply to your earlier e-mail I think what you're looking for here is something like better UI around overlays.

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Michal Suchanek
On 27 April 2015 at 17:13, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Apr 27, 2015 at 4:28 PM, Michal Suchanek hramr...@gmail.com wrote: When you have a serial port and just connect serial device to it with no special requirement you just specify the serial port in DT and talk to

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Geert Uytterhoeven
On Mon, Apr 27, 2015 at 4:28 PM, Michal Suchanek hramr...@gmail.com wrote: When you have a serial port and just connect serial device to it with no special requirement you just specify the serial port in DT and talk to the device directly without any DT foo. When there is a BT module with

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Martin Sperl
On 27.04.2015, at 17:27, Mark Brown broo...@kernel.org wrote: OK, so that is just a default overlay which is abusing the fact that we will bind to spidev without a DT compatible and when the binding is undocumented (which also applies to other devices and buses sadly). Unfortunately

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Maxime Ripard
On Mon, Apr 27, 2015 at 11:16:01AM +0100, Mark Brown wrote: On Sun, Apr 26, 2015 at 02:51:13PM +0200, Maxime Ripard wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: I don't know if it's been suggested before, certainly nobody did the work to make it happen. I

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-27 Thread Mark Brown
On Mon, Apr 27, 2015 at 07:30:36PM +0200, Maxime Ripard wrote: On Mon, Apr 27, 2015 at 11:16:01AM +0100, Mark Brown wrote: lkml.org is being terrible as usual so I can't see half the thread (or at least got fed up trying to get it to load) A part of it is also here: