Skip to content

RFC DeviceTree support for SH7751 based boards.

Yoshinori Sato linux-sh 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12sh: Add OF target boards.arch/sh/Kconfig arch/sh/boards/Kconfig+37 -36 replies
2/12sh: Update OF handling.arch/sh/boards/of-generic.c arch/sh/boot/compressed/head_32.S arch/sh/kernel/head_32.S +1 more+54 -71 reply
3/12sh: SH4 OF support.arch/sh/drivers/Makefile arch/sh/include/asm/io.h arch/sh/include/asm/pci.h +3 more+26 -33 replies
4/12clk: SH7750 / 7751 clk driver.drivers/clk/Kconfig drivers/clk/Makefile drivers/clk/sh/Kconfig +4 more+547 -02 replies
5/12drivers/irqchip: Add SH7751 and boards specific irqchip.drivers/irqchip/Kconfig drivers/irqchip/Makefile drivers/irqchip/irq-iodata-julian.c +2 more+529 -01 reply
6/12drivers/pci: Add SH7751 PCI Host bridge driver.drivers/pci/controller/Kconfig drivers/pci/controller/Makefile drivers/pci/controller/pci-sh7751.c +1 more+659 -01 reply
7/12clocksource: Update sh_tmu of handling.drivers/clocksource/sh_tmu.c+17 -163 replies
8/12mfd/sm501: Add OF properties.Documentation/devicetree/bindings/display/sm501fb.txt drivers/mfd/sm501.c+123 -12 replies
9/12of: FDT vaddr support for SH.drivers/of/fdt.c+3 -03 replies
10/12serial/sh-sci: Fix earlyprintk / earlycon.drivers/tty/serial/sh-sci.c+7 -32 replies
11/12sh: target dts.arch/sh/boot/dts/include/dt-bindings arch/sh/boot/dts/landisk.dts arch/sh/boot/dts/rts7751r2dplus.dts +1 more+457 -01 reply
12/12sh: OF defconfig.arch/sh/configs/landisk-of_defconfig arch/sh/configs/rts7751r2dplus-of_defconfig+320 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND RFC PATCH 00/12] DeviceTree support for SH7751 based boards.

I sent it yesterday but it wasn't delivered so I'm resending it.

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.

Yoshinori Sato (12):
sh: Add OF target boards.
sh: Update OF handling.
sh: SH4 OF support.
clk: SH7750 / 7751 clk driver.
drivers/irqchip: Add SH7751 and boards specific irqchip. drivers/pci: Add SH7751 PCI Host bridge driver.
clocksource: Update sh_tmu of handling. mfd/sm501: Add OF properties.
of: FDT vaddr support for SH.
serial/sh-sci: Fix earlyprintk / earlycon.
sh: target dts.
sh: OF defconfig.

 .../devicetree/bindings/display/sm501fb.txt   |  11 +
 arch/sh/Kconfig                               |  12 +-
 arch/sh/boards/Kconfig                        |  28 ++
 arch/sh/boards/of-generic.c                   |  28 +-
 arch/sh/boot/compressed/head_32.S             |   5 +-
 arch/sh/boot/dts/include/dt-bindings          |   1 +
 arch/sh/boot/dts/landisk.dts                  | 142 +++++++
 arch/sh/boot/dts/rts7751r2dplus.dts           | 168 ++++++++
 arch/sh/boot/dts/usl-5p.dts                   | 146 +++++++
 arch/sh/configs/landisk-of_defconfig          | 161 ++++++++
 arch/sh/configs/rts7751r2dplus-of_defconfig   | 159 ++++++++
 arch/sh/drivers/Makefile                      |   2 +
 arch/sh/include/asm/io.h                      |  10 +
 arch/sh/include/asm/pci.h                     |   4 +
 arch/sh/kernel/cpu/Makefile                   |   8 +-
 arch/sh/kernel/cpu/clock.c                    |   3 +-
 arch/sh/kernel/cpu/sh4/Makefile               |   2 +
 arch/sh/kernel/head_32.S                      |   2 +-
 arch/sh/kernel/setup.c                        |  26 +-
 drivers/clk/Kconfig                           |   1 +
 drivers/clk/Makefile                          |   1 +
 drivers/clk/sh/Kconfig                        |   7 +
 drivers/clk/sh/Makefile                       |   2 +
 drivers/clk/sh/clk-sh7750.c                   | 193 +++++++++
 drivers/clk/sh/clk-shdiv.c                    | 341 ++++++++++++++++
 drivers/clocksource/sh_tmu.c                  |  33 +-
 drivers/irqchip/Kconfig                       |   4 +
 drivers/irqchip/Makefile                      |   1 +
 drivers/irqchip/irq-iodata-julian.c           | 163 ++++++++
 drivers/irqchip/irq-renesas-r2d.c             | 175 ++++++++
 drivers/irqchip/irq-renesas-sh7751.c          | 186 +++++++++
 drivers/mfd/sm501.c                           | 113 +++++-
 drivers/of/fdt.c                              |   3 +
 drivers/pci/controller/Kconfig                |   9 +
 drivers/pci/controller/Makefile               |   1 +
 drivers/pci/controller/pci-sh7751.c           | 382 ++++++++++++++++++
 drivers/pci/controller/pci-sh7751.h           | 267 ++++++++++++
 drivers/sh/Makefile                           |   2 +
 drivers/tty/serial/sh-sci.c                   |  10 +-
 39 files changed, 2779 insertions(+), 33 deletions(-)
 create mode 120000 arch/sh/boot/dts/include/dt-bindings
 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/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/sh/Kconfig
 create mode 100644 drivers/clk/sh/Makefile
 create mode 100644 drivers/clk/sh/clk-sh7750.c
 create mode 100644 drivers/clk/sh/clk-shdiv.c
 create mode 100644 drivers/irqchip/irq-iodata-julian.c
 create mode 100644 drivers/irqchip/irq-renesas-r2d.c
 create mode 100644 drivers/irqchip/irq-renesas-sh7751.c
 create mode 100644 drivers/pci/controller/pci-sh7751.c
 create mode 100644 drivers/pci/controller/pci-sh7751.h
Signature · 1 line
2.39.2