Skip to contentSkip to conversation

spi: pxa2xx: Move PXA SSP bindings to the correct folder

PATCH In review Andy Shevchenko 3 participants 7 messages May 17, 2024 – May 21, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: pxa2xx: Move PXA SSP bindings to the correct folder

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

---
 .../devicetree/bindings/{serial => spi}/mrvl,pxa-ssp.txt          | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/devicetree/bindings/{serial => spi}/mrvl,pxa-ssp.txt (100%)
Documentation/devicetree/bindings/spi/mrvl,pxa-ssp.txt renamed from Documentation/devicetree/bindings/serial/mrvl,pxa-ssp.txt +0 -0
similarity index 100%
rename from Documentation/devicetree/bindings/serial/mrvl,pxa-ssp.txt
rename to Documentation/devicetree/bindings/spi/mrvl,pxa-ssp.txt
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
maintainer
#1 lore raw
Quoted 4 lines · Andy Shevchenko

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

It's a serial device which is also used for other applications (the other one upstream being audio) so I can see where the current binding comes from and it's not super obvious that spi is especially better here.

#2 lore raw
Quoted 10 lines · Mark Brown
Quoted 4 lines · Andy Shevchenko

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

It's a serial device which is also used for other applications (the other one upstream being audio) so I can see where the current binding comes from and it's not super obvious that spi is especially better here.

Hmm... okay. Then it's question to DT people. Consider this as a report. Because UART (aka serial) is definitely not the place for SPI/SSP bindings either.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#3 lore raw
Quoted 8 lines · Andy Shevchenko
Quoted 6 lines · Mark Brown
Quoted 4 lines · Andy Shevchenko

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

Quoted 8 lines
Quoted 4 lines

It's a serial device which is also used for other applications (the other one upstream being audio) so I can see where the current binding comes from and it's not super obvious that spi is especially better here.

Hmm... okay. Then it's question to DT people. Consider this as a report. Because UART (aka serial) is definitely not the place for SPI/SSP bindings either.

Move it when it is converted. Until then, I don't care too much. SPI seems better than serial at least. The sound part is its own binding/node (something we wouldn't do today).

Rob

#4 lore raw
Quoted 4 lines · Rob Herring
Quoted 2 lines · Andy Shevchenko
Quoted 1 line · Mark Brown

On Fri, May 17, 2024 at 08:11:03PM +0300, Andy Shevchenko wrote:

...

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

It's a serial device which is also used for other applications (the other one upstream being audio) so I can see where the current binding comes from and it's not super obvious that spi is especially better here.

Quoted 5 lines
Quoted 3 lines

Hmm... okay. Then it's question to DT people. Consider this as a report. Because UART (aka serial) is definitely not the place for SPI/SSP bindings either.

Move it when it is converted.

The problem is that somebody added a binding (in YAML) for SPI PXA2xx in the spi/ folder while this one kept unconverted.

If it dangles more, it might be that we will have two asynchronous bindings for the co-existed drivers.

Quoted 2 lines

Until then, I don't care too much. SPI seems better than serial at least. The sound part is its own binding/node (something we wouldn't do today).

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#5 lore raw
Quoted 18 lines · Andy Shevchenko
Quoted 4 lines · Rob Herring
Quoted 2 lines · Andy Shevchenko
Quoted 1 line · Mark Brown

On Fri, May 17, 2024 at 08:11:03PM +0300, Andy Shevchenko wrote:

...

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

It's a serial device which is also used for other applications (the other one upstream being audio) so I can see where the current binding comes from and it's not super obvious that spi is especially better here.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Hmm... okay. Then it's question to DT people. Consider this as a report. Because UART (aka serial) is definitely not the place for SPI/SSP bindings either.

Move it when it is converted.

The problem is that somebody added a binding (in YAML) for SPI PXA2xx in the spi/ folder while this one kept unconverted.

Ah, well that detail was missed.

Quoted 3 lines

If it dangles more, it might be that we will have two asynchronous bindings for the co-existed drivers.

Looks like all that is needed is adding the compatible strings and 'dmas' property to spi/marvell,mmp2-ssp.yaml. The examples in the old binding have other stuff, but looks like that's garbage.

Rob

#6 lore raw
Quoted 6 lines · Rob Herring
Quoted 5 lines · Andy Shevchenko
Quoted 4 lines · Rob Herring
Quoted 2 lines · Andy Shevchenko
Quoted 1 line · Mark Brown

On Fri, May 17, 2024 at 08:11:03PM +0300, Andy Shevchenko wrote:

...

Quoted 22 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 4 lines

SSP stands for Serial Synchronous Protocol and has nothing to do with UART, also known as USART, where 'A' stands for Asynchronous.

Move the SSP bindings to where it belongs.

It's a serial device which is also used for other applications (the other one upstream being audio) so I can see where the current binding comes from and it's not super obvious that spi is especially better here.

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Hmm... okay. Then it's question to DT people. Consider this as a report. Because UART (aka serial) is definitely not the place for SPI/SSP bindings either.

Move it when it is converted.

The problem is that somebody added a binding (in YAML) for SPI PXA2xx in the spi/ folder while this one kept unconverted.

Ah, well that detail was missed.

Quoted 1 line
Quoted 6 lines
Quoted 2 lines

If it dangles more, it might be that we will have two asynchronous bindings for the co-existed drivers.

Looks like all that is needed is adding the compatible strings and 'dmas' property to spi/marvell,mmp2-ssp.yaml. The examples in the old binding have other stuff, but looks like that's garbage.

I'm not an expert in DT, anybody to join them in a nicest possible way?

Signature · 2 lines
With Best Regards,
Andy Shevchenko