All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/16] Canaan devicetree fixes
@ 2022-06-27 19:39 ` Conor Dooley
  0 siblings, 0 replies; 78+ messages in thread
From: Conor Dooley @ 2022-06-27 19:39 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Rob Herring, Krzysztof Kozlowski,
	Thierry Reding, Sam Ravnborg, Eugeniy Paltsev, Vinod Koul,
	Liam Girdwood, Mark Brown, Serge Semin, Daniel Lezcano,
	Palmer Dabbelt, Palmer Dabbelt
  Cc: Thomas Gleixner, Paul Walmsley, Albert Ou, Conor Dooley,
	Masahiro Yamada, Damien Le Moal, Geert Uytterhoeven,
	Niklas Cassel, Dillon Min, Heng Sia, Jose Abreu, dri-devel,
	devicetree, linux-kernel, dmaengine, alsa-devel, linux-spi,
	linux-riscv

From: Conor Dooley <conor.dooley@microchip.com>

Hey all,
This series should rid us of dtbs_check errors for the RISC-V Canaan k210
based boards. To make keeping it that way a little easier, I changed the
Canaan devicetree Makefile so that it would build all of the devicetrees
in the directory if SOC_CANAAN.

I *DO NOT* have any Canaan hardware so I have not tested any of this in
action. Since I sent v1, I tried to buy some since it's cheap - but could
out of the limited stockists none seemed to want to deliver to Ireland :(
I based the series on next-20220617.

For the bindings, I am never sure about which of {unevaluated,additional}
Properties is correct to use, but the if statements in the binding didn't
work with additional so I used unevaluated...

@Mark, for your ASoC binding I was not sure about the properties that I
made depend on the compatible, but I looked in tree and was not able to
find other users to contradict what's in the Canaan devicetrees nor did
I get that much help from their docs.

@Serge, I dropped your R-b since I changed the enum.

@Rob, <N days ago>'s removal of ilitek,ili9341.txt is moved to ths series
since I was editing the dt-schema binding anyway.

Thanks,
Conor.

Changes since v1:
- I added a new dt node & compatible for the SRAM memory controller due
  Damien's wish to preserve the inter-op with U-Boot.
- The dw-apb-ssi binding now uses the default rx/tx widths
- A new patch fixes bus {ranges,reg} warnings
- Rearranged the patches in a slightly more logical order

Conor Dooley (16):
  dt-bindings: display: convert ilitek,ili9341.txt to dt-schema
  dt-bindings: display: panel: allow ilitek,ili9341 in isolation
  ASoC: dt-bindings: convert designware-i2s to dt-schema
  spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width
  dt-bindings: dma: add Canaan k210 to Synopsys DesignWare DMA
  dt-bindings: timer: add Canaan k210 to Synopsys DesignWare timer
  dt-bindings: memory-controllers: add canaan k210 sram controller
  riscv: dts: canaan: fix the k210's memory node.
  riscv: dts: canaan: add a specific compatible for k210's dma
  riscv: dts: canaan: add a specific compatible for k210's timers
  riscv: dts: canaan: fix mmc node names
  riscv: dts: canaan: fix kd233 display spi frequency
  riscv: dts: canaan: use custom compatible for k210 i2s
  riscv: dts: canaan: remove spi-max-frequency from controllers
  riscv: dts: canaan: fix bus {ranges,reg} warnings
  riscv: dts: canaan: build all devicetress if SOC_CANAAN

 .../bindings/display/ilitek,ili9341.txt       | 27 ------
 .../display/panel/ilitek,ili9341.yaml         | 60 ++++++++----
 .../bindings/dma/snps,dw-axi-dmac.yaml        | 35 +++++--
 .../memory-controllers/canaan,k210-sram.yaml  | 53 +++++++++++
 .../bindings/sound/designware-i2s.txt         | 35 -------
 .../bindings/sound/snps,designware-i2s.yaml   | 93 +++++++++++++++++++
 .../bindings/spi/snps,dw-apb-ssi.yaml         |  6 --
 .../bindings/timer/snps,dw-apb-timer.yaml     | 28 ++++--
 arch/riscv/boot/dts/canaan/Makefile           | 10 +-
 arch/riscv/boot/dts/canaan/canaan_kd233.dts   |  4 +-
 arch/riscv/boot/dts/canaan/k210.dtsi          | 38 ++++----
 .../riscv/boot/dts/canaan/sipeed_maix_bit.dts |  2 +-
 .../boot/dts/canaan/sipeed_maix_dock.dts      |  2 +-
 arch/riscv/boot/dts/canaan/sipeed_maix_go.dts |  2 +-
 .../boot/dts/canaan/sipeed_maixduino.dts      |  2 +-
 15 files changed, 269 insertions(+), 128 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/ilitek,ili9341.txt
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/canaan,k210-sram.yaml
 delete mode 100644 Documentation/devicetree/bindings/sound/designware-i2s.txt
 create mode 100644 Documentation/devicetree/bindings/sound/snps,designware-i2s.yaml

-- 
2.36.1


^ permalink raw reply	[flat|nested] 78+ messages in thread

end of thread, other threads:[~2022-06-28 16:51 UTC | newest]

Thread overview: 78+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-27 19:39 [PATCH v2 00/16] Canaan devicetree fixes Conor Dooley
2022-06-27 19:39 ` Conor Dooley
2022-06-27 19:39 ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 01/16] dt-bindings: display: convert ilitek,ili9341.txt to dt-schema Conor Dooley
2022-06-27 19:39   ` [PATCH v2 01/16] dt-bindings: display: convert ilitek, ili9341.txt " Conor Dooley
2022-06-27 19:39   ` [PATCH v2 01/16] dt-bindings: display: convert ilitek,ili9341.txt " Conor Dooley
2022-06-28 15:00   ` Heiko Stübner
2022-06-28 15:00     ` Heiko Stübner
2022-06-28 15:00     ` [PATCH v2 01/16] dt-bindings: display: convert ilitek, ili9341.txt " Heiko Stübner
2022-06-28 15:04     ` [PATCH v2 01/16] dt-bindings: display: convert ilitek,ili9341.txt " Heiko Stübner
2022-06-28 15:04       ` Heiko Stübner
2022-06-28 15:04       ` [PATCH v2 01/16] dt-bindings: display: convert ilitek, ili9341.txt " Heiko Stübner
2022-06-28 16:49       ` [PATCH v2 01/16] dt-bindings: display: convert ilitek,ili9341.txt " Conor.Dooley
2022-06-28 16:49         ` Conor.Dooley
2022-06-28 16:49         ` [PATCH v2 01/16] dt-bindings: display: convert ilitek, ili9341.txt " Conor.Dooley
2022-06-27 19:39 ` [PATCH v2 02/16] dt-bindings: display: panel: allow ilitek,ili9341 in isolation Conor Dooley
2022-06-27 19:39   ` [PATCH v2 02/16] dt-bindings: display: panel: allow ilitek, ili9341 " Conor Dooley
2022-06-27 19:39   ` [PATCH v2 02/16] dt-bindings: display: panel: allow ilitek,ili9341 " Conor Dooley
2022-06-27 19:39 ` [PATCH v2 03/16] ASoC: dt-bindings: convert designware-i2s to dt-schema Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 04/16] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width Conor Dooley
2022-06-27 19:39   ` [PATCH v2 04/16] spi: dt-bindings: dw-apb-ssi: update spi-{r, t}x-bus-width Conor Dooley
2022-06-27 19:39   ` [PATCH v2 04/16] spi: dt-bindings: dw-apb-ssi: update spi-{r,t}x-bus-width Conor Dooley
2022-06-27 20:21   ` Serge Semin
2022-06-27 20:21     ` Serge Semin
2022-06-27 20:21     ` Serge Semin
2022-06-28 15:26     ` Rob Herring
2022-06-28 15:26       ` Rob Herring
2022-06-28 15:26       ` Rob Herring
2022-06-27 19:39 ` [PATCH v2 05/16] dt-bindings: dma: add Canaan k210 to Synopsys DesignWare DMA Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 21:34   ` Serge Semin
2022-06-27 21:34     ` Serge Semin
2022-06-27 21:34     ` Serge Semin
2022-06-27 22:23     ` Conor.Dooley
2022-06-27 22:23       ` Conor.Dooley
2022-06-27 22:23       ` Conor.Dooley
2022-06-27 19:39 ` [PATCH v2 06/16] dt-bindings: timer: add Canaan k210 to Synopsys DesignWare timer Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 21:13   ` Serge Semin
2022-06-27 21:13     ` Serge Semin
2022-06-27 21:13     ` Serge Semin
2022-06-27 21:18     ` Conor Dooley
2022-06-27 21:18       ` Conor Dooley
2022-06-27 21:18       ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 07/16] dt-bindings: memory-controllers: add canaan k210 sram controller Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 08/16] riscv: dts: canaan: fix the k210's memory node Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 09/16] riscv: dts: canaan: add a specific compatible for k210's dma Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 10/16] riscv: dts: canaan: add a specific compatible for k210's timers Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39 ` [PATCH v2 11/16] riscv: dts: canaan: fix mmc node names Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:39   ` Conor Dooley
2022-06-27 19:40 ` [PATCH v2 12/16] riscv: dts: canaan: fix kd233 display spi frequency Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40 ` [PATCH v2 13/16] riscv: dts: canaan: use custom compatible for k210 i2s Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40 ` [PATCH v2 14/16] riscv: dts: canaan: remove spi-max-frequency from controllers Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40 ` [PATCH v2 15/16] riscv: dts: canaan: fix bus {ranges,reg} warnings Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40 ` [PATCH v2 16/16] riscv: dts: canaan: build all devicetress if SOC_CANAAN Conor Dooley
2022-06-27 19:40   ` Conor Dooley
2022-06-27 19:40   ` Conor Dooley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.