public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v3 00/35] Device Tree support for SH7751 based board
@ 2023-10-14 14:53 Yoshinori Sato
  2023-10-14 14:53 ` [RFC PATCH v3 01/35] arch/sh/boot/compressed/head_32.S: passing FDT address to initialize function Yoshinori Sato
                   ` (35 more replies)
  0 siblings, 36 replies; 88+ messages in thread
From: Yoshinori Sato @ 2023-10-14 14:53 UTC (permalink / raw)
  To: linux-sh; +Cc: Yoshinori Sato, glaubitz

This is an updated version of something I wrote about 7 years ago.
Minimum support for R2D-plus and LANDISK.
I think R2D-1 will work if you add AX88796 to dts.
And board-specific functions and SCI's SPI functions are not supported.

v3 changes.
- Rewrite clk drivers.
- Added sh_tmu to OF support.
- Cleanup PCI stuff.
- Update sm501 and sm501fb OF support.
- Update devicetree and documents.

v2 changes.
- Rebasing v6,6-rc1
- re-write irqchip driver.
- Add binding documents.
- Cleanup review comment.


Yoshinori Sato (35):
  arch/sh/boot/compressed/head_32.S: passing FDT address to initialize
    function.
  arch/sh/boards/Kconfig: unified OF supported targets.
  arch/sh: Disable SH specific modules in OF enabled.
  include/linux/sh_intc.h: Add stub function "intc_finalize".
  arch/sh/kernel/setup.c: Update DT support.
  arch/sh/boards/of-generic.c: some cleanup.
  arch/sh/kernel/time.c: support COMMON_CLK.
  arch/sh/include/asm: Disable SH specific PCI define in OF enabled.
  drivers/pci/controller: SH7751 PCI Host bridge driver.
  Documentation/devicetree/bindings/pci: renesas,pci-sh7751.yaml new
    file.
  include/dt-bindings/clock/sh7750.h: cpg-sh7750 binding header.
  drivers/clk/renesas: clk-sh7750.c SH7750/7751 CPG driver.
  Documentation/devicetree/bindings/clock: Add renesas,sh7750-cpg
    binding document.
  drivers/irqchip: Add SH7751 Internal INTC drivers.
  Documentation/devicetree/bindings/interrupt-controller: Add
    renesas,sh7751-intc.yaml
  drivers/irqchip: SH7751 IRL external encoder with enable gate.
  Documentation/devicetree/bindings/interrupt-controller: Add
    renesas,sh7751-irl-ext.yaml
  drivers/tty/serial: sh-sci.c fix SH4 OF support.
  Documentation/devicetree/bindings/serial: renesas,scif.yaml Add SH.
  drivers/mfd: sm501 add some properties.
  devicetree/binding/display/sm501fb.txt: sm501fb add properies.
  drivers/clocksource/sh_tmu: Add support CLOCKSOURCE.
  Documentation/devicetree/bindings/timer: renesas,tmu.yaml add SH.
  include/dt-binding/interrupt-controller/sh_intc.h:
    renesas,sh7751-intc.h helper
  Documentation/devicetree/bindings/sh/cpus.yaml: Add SH CPU.
  arch/sh/boot/dts: SH7751R SoC Internal peripheral definition dtsi.
  Documentation/devicetree/bindings: vendor-prefix add IO DATA DEVICE
    Inc.
  Documentation/devicetree/bindings/ata: ata-generic.yaml add usl-5p and
    rts7751r2d.
  Documentation/devicetree/bindings/soc/renesas/sh.yaml: Add SH7751
    based target.
  arch/sh/boot/dts: RTS7751R2D Plus DeviceTree.
  arch/sh/boot/dts: LANDISK DeviceTree.
  arch/sh/boot/dts: USL-5P DeviceTree.
  arch/sh: Add dtbs target support.
  arch/sh: RTS7751R2D Plus OF defconfig
  arch/sh/configs: LANDISK OF defconfig

 .../devicetree/bindings/ata/ata-generic.yaml  |   2 +
 .../bindings/clock/renesas,sh7750-cpg.yaml    |  74 ++
 .../devicetree/bindings/display/sm501fb.txt   |  17 +
 .../renesas,sh7751-intc.yaml                  | 102 +++
 .../renesas,sh7751-irl-ext.yaml               |  89 ++
 .../bindings/pci/renesas,pci-sh7751.yaml      | 123 +++
 .../bindings/serial/renesas,scif.yaml         |   5 +
 .../devicetree/bindings/sh/cpus.yaml          |  45 +
 .../devicetree/bindings/soc/renesas/sh.yaml   |  32 +
 .../bindings/timer/renesas,tmu.yaml           |  11 +-
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 arch/sh/Kconfig                               |   7 +-
 arch/sh/boards/Kconfig                        |  25 +-
 arch/sh/boards/of-generic.c                   |  28 +-
 arch/sh/boot/compressed/head_32.S             |   5 +-
 arch/sh/boot/dts/Makefile                     |   5 +
 arch/sh/boot/dts/landisk.dts                  |  79 ++
 arch/sh/boot/dts/rts7751r2dplus.dts           | 157 ++++
 arch/sh/boot/dts/sh7751r.dtsi                 | 148 ++++
 arch/sh/boot/dts/usl-5p.dts                   |  88 ++
 arch/sh/configs/landisk-of_defconfig          | 111 +++
 arch/sh/configs/rts7751r2dplus-of_defconfig   |  92 ++
 arch/sh/drivers/Makefile                      |   2 +
 arch/sh/include/asm/io.h                      |  14 +-
 arch/sh/include/asm/pci.h                     |   4 +
 arch/sh/kernel/cpu/Makefile                   |   9 +-
 arch/sh/kernel/cpu/sh4/Makefile               |   2 +
 arch/sh/kernel/setup.c                        |  36 +-
 arch/sh/kernel/time.c                         |  12 +
 drivers/clk/renesas/Kconfig                   |  21 +-
 drivers/clk/renesas/Makefile                  |   1 +
 drivers/clk/renesas/clk-sh7750.c              | 787 ++++++++++++++++++
 drivers/clocksource/sh_tmu.c                  | 161 ++--
 drivers/irqchip/Kconfig                       |  16 +
 drivers/irqchip/Makefile                      |   3 +
 drivers/irqchip/irq-renesas-sh7751.c          | 255 ++++++
 drivers/irqchip/irq-renesas-sh7751irl.c       | 206 +++++
 drivers/mfd/sm501.c                           | 113 +++
 drivers/pci/controller/Kconfig                |   9 +
 drivers/pci/controller/Makefile               |   1 +
 drivers/pci/controller/pci-sh7751.c           | 285 +++++++
 drivers/pci/controller/pci-sh7751.h           | 267 ++++++
 drivers/tty/serial/sh-sci.c                   |   6 +-
 drivers/video/fbdev/sm501fb.c                 |  92 ++
 include/dt-bindings/clock/sh7750.h            |  26 +
 .../interrupt-controller/sh_intc.h            |  18 +
 include/linux/sh_intc.h                       |   7 +-
 47 files changed, 3484 insertions(+), 116 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/renesas,sh7750-cpg.yaml
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl-ext.yaml
 create mode 100644 Documentation/devicetree/bindings/pci/renesas,pci-sh7751.yaml
 create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml
 create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml
 create mode 100644 arch/sh/boot/dts/landisk.dts
 create mode 100644 arch/sh/boot/dts/rts7751r2dplus.dts
 create mode 100644 arch/sh/boot/dts/sh7751r.dtsi
 create mode 100644 arch/sh/boot/dts/usl-5p.dts
 create mode 100644 arch/sh/configs/landisk-of_defconfig
 create mode 100644 arch/sh/configs/rts7751r2dplus-of_defconfig
 create mode 100644 drivers/clk/renesas/clk-sh7750.c
 create mode 100644 drivers/irqchip/irq-renesas-sh7751.c
 create mode 100644 drivers/irqchip/irq-renesas-sh7751irl.c
 create mode 100644 drivers/pci/controller/pci-sh7751.c
 create mode 100644 drivers/pci/controller/pci-sh7751.h
 create mode 100644 include/dt-bindings/clock/sh7750.h
 create mode 100644 include/dt-bindings/interrupt-controller/sh_intc.h

-- 
2.39.2


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

end of thread, other threads:[~2023-11-08  8:04 UTC | newest]

Thread overview: 88+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-14 14:53 [RFC PATCH v3 00/35] Device Tree support for SH7751 based board Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 01/35] arch/sh/boot/compressed/head_32.S: passing FDT address to initialize function Yoshinori Sato
2023-10-14 17:11   ` Sergei Shtylyov
2023-10-14 14:53 ` [RFC PATCH v3 02/35] arch/sh/boards/Kconfig: unified OF supported targets Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 03/35] arch/sh: Disable SH specific modules in OF enabled Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 04/35] include/linux/sh_intc.h: Add stub function "intc_finalize" Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 05/35] arch/sh/kernel/setup.c: Update DT support Yoshinori Sato
2023-10-19 10:01   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 06/35] arch/sh/boards/of-generic.c: some cleanup Yoshinori Sato
2023-10-18 18:37   ` Geert Uytterhoeven
2023-10-26  3:40     ` Yoshinori Sato
2023-10-26  7:20       ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 07/35] arch/sh/kernel/time.c: support COMMON_CLK Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 08/35] arch/sh/include/asm: Disable SH specific PCI define in OF enabled Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 09/35] drivers/pci/controller: SH7751 PCI Host bridge driver Yoshinori Sato
2023-10-16 17:27   ` Bjorn Helgaas
2023-10-16 19:52     ` Bjorn Helgaas
2023-10-14 14:53 ` [RFC PATCH v3 10/35] Documentation/devicetree/bindings/pci: renesas,pci-sh7751.yaml new file Yoshinori Sato
2023-10-16  5:28   ` Krzysztof Kozlowski
2023-10-16 11:55   ` Krzysztof Kozlowski
2023-10-14 14:53 ` [RFC PATCH v3 11/35] include/dt-bindings/clock/sh7750.h: cpg-sh7750 binding header Yoshinori Sato
2023-10-18 13:49   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 12/35] drivers/clk/renesas: clk-sh7750.c SH7750/7751 CPG driver Yoshinori Sato
2023-10-18 13:02   ` Geert Uytterhoeven
2023-10-19  7:18   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 13/35] Documentation/devicetree/bindings/clock: Add renesas,sh7750-cpg binding document Yoshinori Sato
2023-10-18 13:41   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 14/35] drivers/irqchip: Add SH7751 Internal INTC drivers Yoshinori Sato
2023-10-17  9:27   ` Geert Uytterhoeven
2023-10-18  8:02   ` Thomas Gleixner
2023-10-18  8:18     ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 15/35] Documentation/devicetree/bindings/interrupt-controller: Add renesas,sh7751-intc.yaml Yoshinori Sato
2023-10-19 11:29   ` Geert Uytterhoeven
2023-10-19 11:38     ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 16/35] drivers/irqchip: SH7751 IRL external encoder with enable gate Yoshinori Sato
2023-10-16 18:46   ` Thomas Gleixner
2023-10-16 18:50     ` John Paul Adrian Glaubitz
2023-10-16 21:55       ` Thomas Gleixner
2023-10-17 16:33         ` Thomas Gleixner
2023-10-14 14:53 ` [RFC PATCH v3 17/35] Documentation/devicetree/bindings/interrupt-controller: Add renesas,sh7751-irl-ext.yaml Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 18/35] drivers/tty/serial: sh-sci.c fix SH4 OF support Yoshinori Sato
2023-10-18  8:23   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 19/35] Documentation/devicetree/bindings/serial: renesas,scif.yaml Add SH Yoshinori Sato
2023-10-18 14:04   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 20/35] drivers/mfd: sm501 add some properties Yoshinori Sato
2023-10-19 11:55   ` Lee Jones
2023-10-14 14:53 ` [RFC PATCH v3 21/35] devicetree/binding/display/sm501fb.txt: sm501fb add properies Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 22/35] drivers/clocksource/sh_tmu: Add support CLOCKSOURCE Yoshinori Sato
2023-10-18 16:04   ` Geert Uytterhoeven
2023-10-23 11:40     ` Yoshinori Sato
2023-10-14 14:53 ` [RFC PATCH v3 23/35] Documentation/devicetree/bindings/timer: renesas,tmu.yaml add SH Yoshinori Sato
2023-10-18 19:40   ` Geert Uytterhoeven
2023-10-14 14:53 ` [RFC PATCH v3 24/35] include/dt-binding/interrupt-controller/sh_intc.h: renesas,sh7751-intc.h helper Yoshinori Sato
2023-10-18 13:39   ` Geert Uytterhoeven
2023-10-18 14:03     ` Krzysztof Kozlowski
2023-10-14 14:54 ` [RFC PATCH v3 25/35] Documentation/devicetree/bindings/sh/cpus.yaml: Add SH CPU Yoshinori Sato
2023-10-18 14:27   ` Geert Uytterhoeven
2023-10-25 11:14     ` Yoshinori Sato
2023-10-25 11:33       ` D. Jeff Dionne
2023-10-25 12:04         ` Geert Uytterhoeven
2023-10-25 12:10           ` D. Jeff Dionne
2023-10-25 12:17             ` Geert Uytterhoeven
2023-10-25 12:34               ` D. Jeff Dionne
2023-10-25 12:07         ` Yoshinori Sato
2023-10-25 12:01       ` Geert Uytterhoeven
2023-10-14 14:54 ` [RFC PATCH v3 26/35] arch/sh/boot/dts: SH7751R SoC Internal peripheral definition dtsi Yoshinori Sato
2023-10-19 12:18   ` Geert Uytterhoeven
2023-10-14 14:54 ` [RFC PATCH v3 27/35] Documentation/devicetree/bindings: vendor-prefix add IO DATA DEVICE Inc Yoshinori Sato
2023-10-18 18:43   ` Geert Uytterhoeven
2023-10-14 14:54 ` [RFC PATCH v3 28/35] Documentation/devicetree/bindings/ata: ata-generic.yaml add usl-5p and rts7751r2d Yoshinori Sato
2023-10-15 22:25   ` Damien Le Moal
2023-10-14 14:54 ` [RFC PATCH v3 29/35] Documentation/devicetree/bindings/soc/renesas/sh.yaml: Add SH7751 based target Yoshinori Sato
2023-10-18 18:48   ` Geert Uytterhoeven
2023-10-18 18:49     ` Geert Uytterhoeven
2023-10-18 19:44     ` Geert Uytterhoeven
2023-10-25 11:58       ` Yoshinori Sato
2023-10-25 12:05       ` Yoshinori Sato
2023-10-14 14:54 ` [RFC PATCH v3 30/35] arch/sh/boot/dts: RTS7751R2D Plus DeviceTree Yoshinori Sato
2023-10-19 12:13   ` Geert Uytterhoeven
2023-10-14 14:54 ` [RFC PATCH v3 31/35] arch/sh/boot/dts: LANDISK DeviceTree Yoshinori Sato
2023-10-19 12:14   ` Geert Uytterhoeven
2023-10-14 14:54 ` [RFC PATCH v3 32/35] arch/sh/boot/dts: USL-5P DeviceTree Yoshinori Sato
2023-10-14 14:54 ` [RFC PATCH v3 33/35] arch/sh: Add dtbs target support Yoshinori Sato
2023-10-19 11:54   ` Geert Uytterhoeven
2023-10-14 14:54 ` [RFC PATCH v3 34/35] arch/sh: RTS7751R2D Plus OF defconfig Yoshinori Sato
2023-10-14 14:54 ` [RFC PATCH v3 35/35] arch/sh/configs: LANDISK " Yoshinori Sato
2023-11-07 10:23 ` [RFC PATCH v3 00/35] Device Tree support for SH7751 based board John Paul Adrian Glaubitz
2023-11-08  7:57   ` Yoshinori Sato

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox