Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-17 Thread Maxime Ripard
Hi Sam, On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > Independent bindings can be SPI slaves which for example is > the case for several panel bindings. > > Move SPI slave properties to spi-slave.yaml so the independent > SPI slave bindings can include spi-slave.yaml rather than

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-17 Thread Maxime Ripard
Hi, On Mon, Mar 16, 2020 at 10:43:46PM +0100, Sam Ravnborg wrote: > On Mon, Mar 16, 2020 at 09:48:50PM +0100, Maxime Ripard wrote: > > Hi Sam, > > > > On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > > > Independent bindings can be SPI slaves which for example is > > > the case for

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-17 Thread Mark Brown
On Mon, Mar 16, 2020 at 10:43:46PM +0100, Sam Ravnborg wrote: > On Mon, Mar 16, 2020 at 09:48:50PM +0100, Maxime Ripard wrote: > > All the SPI devices will be declared under a spi controller node that > > will validate its child nodes (and thus the devices) already. > This was the missing piece -

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-16 Thread Sam Ravnborg
Hi Maxime. On Mon, Mar 16, 2020 at 09:48:50PM +0100, Maxime Ripard wrote: > Hi Sam, > > On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > > Independent bindings can be SPI slaves which for example is > > the case for several panel bindings. > > > > Move SPI slave properties to spi-s

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-16 Thread Mark Brown
On Mon, Mar 16, 2020 at 07:57:33PM +0100, Sam Ravnborg wrote: > It was the best I could come up with - and this patch was called out > for review in the hope there is a better way than this patch. It definitely seems like a useful thing, just a bit surprised it's not already there and if this is

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-16 Thread Sam Ravnborg
Hi Mark. On Mon, Mar 16, 2020 at 04:35:38PM +, Mark Brown wrote: > On Mon, Mar 16, 2020 at 02:28:44PM +0100, Sam Ravnborg wrote: > > On Mon, Mar 16, 2020 at 12:02:41PM +, Mark Brown wrote: > > > On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > > > > > Independent bindings c

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-16 Thread Mark Brown
On Mon, Mar 16, 2020 at 02:28:44PM +0100, Sam Ravnborg wrote: > On Mon, Mar 16, 2020 at 12:02:41PM +, Mark Brown wrote: > > On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > > > Independent bindings can be SPI slaves which for example is > > > the case for several panel bindings.

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-16 Thread Sam Ravnborg
Hi Mark. On Mon, Mar 16, 2020 at 12:02:41PM +, Mark Brown wrote: > On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > > > Independent bindings can be SPI slaves which for example is > > the case for several panel bindings. > > What is an "independent binding"? For several panel

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-16 Thread Mark Brown
On Sun, Mar 15, 2020 at 02:43:42PM +0100, Sam Ravnborg wrote: > Independent bindings can be SPI slaves which for example is > the case for several panel bindings. What is an "independent binding"? Please submit patches using subject lines reflecting the style for the subsystem, this makes it eas

Re: [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-15 Thread Linus Walleij
On Sun, Mar 15, 2020 at 2:44 PM Sam Ravnborg wrote: > Independent bindings can be SPI slaves which for example is > the case for several panel bindings. > > Move SPI slave properties to spi-slave.yaml so the independent > SPI slave bindings can include spi-slave.yaml rather than > duplicating the

[PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves

2020-03-15 Thread Sam Ravnborg
Independent bindings can be SPI slaves which for example is the case for several panel bindings. Move SPI slave properties to spi-slave.yaml so the independent SPI slave bindings can include spi-slave.yaml rather than duplicating the properties. Signed-off-by: Sam Ravnborg Cc: Maxime Ripard Cc: