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

2015-04-26 Thread Hans de Goede
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 and used with lots of peripherals which are usually programmed from userspace using e.g. python bindings for i2c-dev or spidev, for such a setup we

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

2015-04-26 Thread Maxime Ripard
On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: > On 26 April 2015 at 14:51, Maxime Ripard > wrote: > > On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: > >> On 26 April 2015 at 13:56, Martin Sperl wrote: > >> > > >> >> On 26.04.2015, at 13:23, Hans de Goede

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 14:51, Maxime Ripard wrote: > On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: >> On 26 April 2015 at 13:56, Martin Sperl wrote: >> > >> >> On 26.04.2015, at 13:23, Hans de Goede wrote: >> >> I think there is actual a use for just binding spidev as spidev, >>

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

2015-04-26 Thread Maxime Ripard
On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: > On 26 April 2015 at 13:56, Martin Sperl wrote: > > > >> On 26.04.2015, at 13:23, Hans de Goede wrote: > >> I think there is actual a use for just binding spidev as spidev, > >> think e.g. the spi pins on the raspberry pi. > >> >

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 13:56, Martin Sperl wrote: > >> On 26.04.2015, at 13:23, Hans de Goede wrote: >> I think there is actual a use for just binding spidev as spidev, >> think e.g. the spi pins on the raspberry pi. >> >> How do you deal we suggest with such a situation ? > > I actually asked the

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

2015-04-26 Thread Martin Sperl
> On 26.04.2015, at 13:23, Hans de Goede wrote: > I think there is actual a use for just binding spidev as spidev, > think e.g. the spi pins on the raspberry pi. > > How do you deal we suggest with such a situation ? I actually asked the same question a few days ago on the spi list (in thread:

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 13:01, Mark Brown wrote: > On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: >> On 26 April 2015 at 12:32, Mark Brown wrote: > >> > No, this is broken - nothing should ever bind to spidev as spidev. The >> > fact that we have a binding document at all is a

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

2015-04-26 Thread Hans de Goede
Hi, On 26-04-15 13:01, Mark Brown wrote: On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 12:32, Mark Brown wrote: No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a binding document at all is a bug. And how do

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

2015-04-26 Thread Mark Brown
On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: > On 26 April 2015 at 12:32, Mark Brown wrote: > > No, this is broken - nothing should ever bind to spidev as spidev. The > > fact that we have a binding document at all is a bug. > And how do you get spidev if nothing binds to

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 12:32, Mark Brown wrote: > On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote: > >> +A spidev example for devicetree binding in a board dts file >> + { > > No, this is broken - nothing should ever bind to spidev as spidev. The > fact that we have a binding

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

2015-04-26 Thread Mark Brown
On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote: > +A spidev example for devicetree binding in a board dts file > + { No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a binding document at all is a bug. signature.asc Description: Digital

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 16:33, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote:

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

2015-04-26 Thread Maxime Ripard
On Sun, Apr 26, 2015 at 05:33:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 16:33, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard maxime.rip...@free-electrons.com

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 14:51, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: On 26 April 2015 at 13:56, Martin Sperl ker...@martin.sperl.org wrote: On 26.04.2015, at 13:23, Hans de Goede hdego...@redhat.com wrote: I think

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

2015-04-26 Thread Maxime Ripard
On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote: On 26 April 2015 at 14:51, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: On 26 April 2015 at 13:56, Martin Sperl ker...@martin.sperl.org wrote: On

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

2015-04-26 Thread Hans de Goede
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 and used with lots of peripherals which are usually programmed from userspace using e.g. python bindings for i2c-dev or spidev, for such a setup we

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

2015-04-26 Thread Maxime Ripard
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 and used with lots of peripherals which are usually programmed from userspace

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

2015-04-26 Thread Hans de Goede
Hi, On 26-04-15 13:01, Mark Brown wrote: On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 12:32, Mark Brown broo...@kernel.org wrote: No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a binding document at all is a

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

2015-04-26 Thread Maxime Ripard
On Sun, Apr 26, 2015 at 02:38:18PM +0200, Michal Suchanek wrote: On 26 April 2015 at 13:56, Martin Sperl ker...@martin.sperl.org wrote: On 26.04.2015, at 13:23, Hans de Goede hdego...@redhat.com wrote: I think there is actual a use for just binding spidev as spidev, think e.g. the spi

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

2015-04-26 Thread Mark Brown
On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote: +A spidev example for devicetree binding in a board dts file +spi2 { No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a binding document at all is a bug. signature.asc Description:

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 12:32, Mark Brown broo...@kernel.org wrote: On Tue, Mar 24, 2015 at 11:50:53AM +0100, Michal Suchanek wrote: +A spidev example for devicetree binding in a board dts file +spi2 { No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a

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

2015-04-26 Thread Mark Brown
On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 12:32, Mark Brown broo...@kernel.org wrote: No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a binding document at all is a bug. And how do you get spidev if

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 13:01, Mark Brown broo...@kernel.org wrote: On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 12:32, Mark Brown broo...@kernel.org wrote: No, this is broken - nothing should ever bind to spidev as spidev. The fact that we have a

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

2015-04-26 Thread Martin Sperl
On 26.04.2015, at 13:23, Hans de Goede hdego...@redhat.com wrote: I think there is actual a use for just binding spidev as spidev, think e.g. the spi pins on the raspberry pi. How do you deal we suggest with such a situation ? I actually asked the same question a few days ago on the spi

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 13:56, Martin Sperl ker...@martin.sperl.org wrote: On 26.04.2015, at 13:23, Hans de Goede hdego...@redhat.com wrote: I think there is actual a use for just binding spidev as spidev, think e.g. the spi pins on the raspberry pi. How do you deal we suggest with such a

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

2015-04-26 Thread Michal Suchanek
On 26 April 2015 at 17:54, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 05:33:36PM +0200, Michal Suchanek wrote: On 26 April 2015 at 16:33, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Sun, Apr 26, 2015 at 04:14:33PM +0200, Michal Suchanek wrote:

<    1   2