Signed-off-by: Yoshinori Sato
---
arch/sh/configs/landisk-of_defconfig | 104 +++
1 file changed, 104 insertions(+)
create mode 100644 arch/sh/configs/landisk-of_defconfig
diff --git a/arch/sh/configs/landisk-of_defconfig
b/arch/sh/configs/landisk-of_defconfig
new file
Signed-off-by: Yoshinori Sato
---
arch/sh/configs/rts7751r2dplus-of_defconfig | 75 +
1 file changed, 75 insertions(+)
create mode 100644 arch/sh/configs/rts7751r2dplus-of_defconfig
diff --git a/arch/sh/configs/rts7751r2dplus-of_defconfig
b/arch/sh/configs/rts7751r2dplus
IO DATA DEVICE Inc. USL-5P devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/usl-5p.dts | 85 +
1 file changed, 85 insertions(+)
create mode 100644 arch/sh/boot/dts/usl-5p.dts
diff --git a/arch/sh/boot/dts/usl-5p.dts b/arch/sh/boot/dts/usl
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile
index 4a6dec9714a9..e6b93360c213 100644
--- a/arch/sh/boot/dts/Makefile
+++ b/arch/sh/boot/dts/Makefile
@@ -1,2 +1,7
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/j2_mimas_v2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sh/boot/dts/j2_mimas_v2.dts b/arch/sh/boot/dts/j2_mimas_v2.dts
index fa9562f78d53..5dfe20866a1c 100644
--- a/arch/sh/boot/dts/j2_mimas_v2.dts
+++ b/arch/sh
Renesas RTS7751R2D Plus devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/rts7751r2dplus.dts | 169
1 file changed, 169 insertions(+)
create mode 100644 arch/sh/boot/dts/rts7751r2dplus.dts
diff --git a/arch/sh/boot/dts/rts7751r2dplus.dts
b/arch/sh
SH7751R internal peripherals device tree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/sh7751r.dtsi | 105 ++
1 file changed, 105 insertions(+)
create mode 100644 arch/sh/boot/dts/sh7751r.dtsi
diff --git a/arch/sh/boot/dts/sh7751r.dtsi b/arch/sh/boot/dts
-off-by: Yoshinori Sato
---
drivers/clk/clk-divider.c| 56 +---
drivers/clk/clk-gate.c | 62
include/linux/clk-provider.h | 22 ++---
3 files changed, 103 insertions(+), 37 deletions(-)
diff --git a/drivers/clk/clk
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/soc/renesas/sh.yaml | 27 +++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml
diff --git a/Documentation/devicetree/bindings/soc/renesas/sh.yaml
b
I've changed some symbols related to DeviceTree,
so let's take care of those changes.
Signed-off-by: Yoshinori Sato
---
arch/sh/configs/j2_defconfig | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/arch/sh/configs/j2_defconfig b/arch/sh/configs/j2_defconfig
index
IO DATA DEVICE Inc. LANDISK HDL-U devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/landisk.dts | 77
1 file changed, 77 insertions(+)
create mode 100644 arch/sh/boot/dts/landisk.dts
diff --git a/arch/sh/boot/dts/landisk.dts b/arch/sh/boot/dts
Renesas SH series and compatible ISA CPUs.
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/sh/cpus.yaml | 63 +++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml
diff --git a/Documentation/devicetree
Signed-off-by: Yoshinori Sato
---
.../bindings/display/smi,sm501.yaml | 398 ++
1 file changed, 398 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/smi,sm501.yaml
diff --git a/Documentation/devicetree/bindings/display/smi,sm501.yaml
b
Renesas SH7751 CPU Internal PCI Controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/pci/controller/Kconfig | 9 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pci-sh7751.c | 342
3 files changed, 352 insertions(+)
create mode
Miscellaneous Timing and Miscellaneous Control registers definition.
Signed-off-by: Yoshinori Sato
---
include/dt-bindings/display/sm501.h | 76 +
1 file changed, 76 insertions(+)
create mode 100644 include/dt-bindings/display/sm501.h
diff --git a/include/dt
Added new ata-generic target.
- iodata,usl-5p-ata
- renesas,rts7751r2d-ata
Each boards have simple IDE Interface. Use ATA generic driver.
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/ata/ata-generic.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation
Add IO DATA DEVICE INC.
https://www.iodata.com/
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml
b/Documentation
Various parameters of SM501 can be set using platform_data,
so parameters cannot be passed in the DeviceTree target.
Expands the parameters set in platform_data so that they can be
specified using DeviceTree properties.
Signed-off-by: Yoshinori Sato
---
drivers/mfd/sm501.c | 315
Renesas SH7751 INTC json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.yaml | 53 +++
1 file changed, 53 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml
diff --git
Renesas SH7751 PCI Controller json-schema.
Signed-off-by: Yoshinori Sato
---
.../bindings/pci/renesas,sh7751-pci.yaml | 89 +++
1 file changed, 89 insertions(+)
create mode 100644
Documentation/devicetree/bindings/pci/renesas,sh7751-pci.yaml
diff --git a/Documentation
Allows initialization as CLOCKSOURCE.
Signed-off-by: Yoshinori Sato
---
drivers/clocksource/sh_tmu.c | 198 ---
1 file changed, 134 insertions(+), 64 deletions(-)
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c
index be81c00f
Add Renesas SH7751 SCIF.
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
Documentation/devicetree/bindings/serial/renesas,scif.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
b/Documentation/devicetree
Renesas SH7751 external interrupt encoder json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-irl-ext.yaml | 57 +++
1 file changed, 57 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl
Remove unused function prototype.
Add helper update_sr_imask. use for SH7751 irq driver.
Add stub intc_finalize.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/io.h | 2 ++
arch/sh/include/asm/irq.h | 10 --
arch/sh/kernel/cpu/Makefile| 5 +
arch/sh/kernel
SH7751 have 15 level external interrupt.
It is typically connected to the CPU through a priority encoder
that can suppress requests.
This driver provides a way to control those hardware with irqchip.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 7 +
drivers
- fix earlycon name.
- fix earlyprintk hung (NULL pointer reference).
- fix SERIAL_SH_SCI_EARLYCON enablement
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/Kconfig | 2 +-
drivers/tty/serial/sh-sci.c | 6 +++---
2 files changed, 4 insertions(+), 4
Renesas SH7751 Internal interrupt controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-renesas-sh7751.c | 282 +++
3 files changed, 291 insertions(+)
create
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/timer/renesas,tmu.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
b/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
index 84bbe15028a1..265d286ffb2f
Renesas SH7750 and SH7751 series CPG driver.
This driver supported frequency control and clock gating.
Signed-off-by: Yoshinori Sato
---
drivers/clk/renesas/Kconfig | 13 +-
drivers/clk/renesas/Makefile | 1 +
drivers/clk/renesas/clk-sh7750.c | 480 +++
3
SH7750 CPG Clock output define.
Signed-off-by: Yoshinori Sato
---
.../bindings/clock/renesas,sh7750-cpg.yaml| 105 ++
include/dt-bindings/clock/sh7750-cpg.h| 26 +
2 files changed, 131 insertions(+)
create mode 100644
Documentation/devicetree/bindings/clock
Add New OF based PCI Host driver.
This driver conflicts some point in legacy PCI driver.
To resolve the conflict, I made some changes to the legacy driver.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/io.h | 6 ++
arch/sh/include/asm/pci.h | 4
arch/sh/kernel/iomap.c
Fix extrnal fdt initialize and bootargs.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig | 23 +++
arch/sh/include/asm/setup.h | 1 +
arch/sh/kernel/setup.c | 36 +++-
3 files changed, 35 insertions(+), 25 deletions
Initialize the clock and timer using the COMMON_CLK procedure.
sh's earlytimer mechanism doesn't work properly in OF,
so timer initialization is delayed.
If CONFIG_OF=y, perform the general timer initialization procedure.
Signed-off-by: Yoshinori Sato
---
arch/sh/boards/of-generic.c | 28
Targets that support OF should be treated as one board.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig| 1 +
arch/sh/boards/Kconfig | 23 +--
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2ad3e29f0ebe
Renesas SH7751 Interrupt controller priority register define.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.h | 19 +++
1 file changed, 19 insertions(+)
create mode 100644
include/dt-bindings/interrupt-controller/renesas,sh7751-intc.h
diff
IRQ, CLK and PCI will be migrated to a common driver framework.
So if OF, disable the SH specific drivers.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig | 11 ++-
arch/sh/drivers/Makefile| 2 ++
arch/sh/kernel/cpu/Makefile | 9 +++--
arch/sh/kernel
R4 is caller saved in SH ABI.
Save it so it doesn't get corrupted until it's needed for initialization.
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
arch/sh/boot/compressed/head_32.S | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/sh/boot
Targets that support OF should be treated as one board.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig| 1 +
arch/sh/boards/Kconfig | 23 +--
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2ad3e29f0ebe
SH7750 CPG Clock output define.
Signed-off-by: Yoshinori Sato
---
.../bindings/clock/renesas,sh7750-cpg.yaml| 105 ++
include/dt-bindings/clock/sh7750-cpg.h| 26 +
2 files changed, 131 insertions(+)
create mode 100644
Documentation/devicetree/bindings/clock
IRQ, CLK and PCI will be migrated to a common driver framework.
So if OF, disable the SH specific drivers.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig | 11 ++-
arch/sh/drivers/Makefile| 2 ++
arch/sh/kernel/cpu/Makefile | 9 +++--
arch/sh/kernel
Remove unused function prototype.
Add helper update_sr_imask. use for SH7751 irq driver.
Add stub intc_finalize.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/io.h | 2 ++
arch/sh/include/asm/irq.h | 10 --
arch/sh/kernel/cpu/Makefile| 5 +
arch/sh/kernel
R4 is caller saved in SH ABI.
Save it so it doesn't get corrupted until it's needed for initialization.
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
arch/sh/boot/compressed/head_32.S | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/sh/boot
Renesas SH7751 PCI Controller json-schema.
Signed-off-by: Yoshinori Sato
---
.../bindings/pci/renesas,sh7751-pci.yaml | 89 +++
1 file changed, 89 insertions(+)
create mode 100644
Documentation/devicetree/bindings/pci/renesas,sh7751-pci.yaml
diff --git a/Documentation
Add Renesas SH7751 SCIF.
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
Documentation/devicetree/bindings/serial/renesas,scif.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
b/Documentation/devicetree
-off-by: Yoshinori Sato
---
drivers/clk/clk-divider.c| 56 +---
drivers/clk/clk-gate.c | 62
include/linux/clk-provider.h | 22 ++---
3 files changed, 103 insertions(+), 37 deletions(-)
diff --git a/drivers/clk/clk
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/timer/renesas,tmu.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
b/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
index 84bbe15028a1..265d286ffb2f
Allows initialization as CLOCKSOURCE.
Signed-off-by: Yoshinori Sato
---
drivers/clocksource/sh_tmu.c | 198 ---
1 file changed, 134 insertions(+), 64 deletions(-)
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c
index be81c00f
Miscellaneous Timing and Miscellaneous Control registers definition.
Signed-off-by: Yoshinori Sato
---
include/dt-bindings/display/sm501.h | 76 +
1 file changed, 76 insertions(+)
create mode 100644 include/dt-bindings/display/sm501.h
diff --git a/include/dt
Renesas SH7751 Internal interrupt controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-renesas-sh7751.c | 282 +++
3 files changed, 291 insertions(+)
create
.
- 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 (37):
sh: passing FDT address to kernel startup.
sh: Kconfig unified
Initialize the clock and timer using the COMMON_CLK procedure.
sh's earlytimer mechanism doesn't work properly in OF,
so timer initialization is delayed.
If CONFIG_OF=y, perform the general timer initialization procedure.
Signed-off-by: Yoshinori Sato
---
arch/sh/boards/of-generic.c | 28
Renesas SH7751 INTC json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.yaml | 53 +++
1 file changed, 53 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml
diff --git
Renesas SH7751 Interrupt controller priority register define.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.h | 19 +++
1 file changed, 19 insertions(+)
create mode 100644
include/dt-bindings/interrupt-controller/renesas,sh7751-intc.h
diff
- fix earlycon name.
- fix earlyprintk hung (NULL pointer reference).
- fix SERIAL_SH_SCI_EARLYCON enablement
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/Kconfig | 2 +-
drivers/tty/serial/sh-sci.c | 6 +++---
2 files changed, 4 insertions(+), 4
Fix extrnal fdt initialize and bootargs.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig | 23 +++
arch/sh/include/asm/setup.h | 1 +
arch/sh/kernel/setup.c | 36 +++-
3 files changed, 35 insertions(+), 25 deletions
Renesas SH7751 CPU Internal PCI Controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/pci/controller/Kconfig | 9 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pci-sh7751.c | 342
3 files changed, 352 insertions(+)
create mode
Add New OF based PCI Host driver.
This driver conflicts some point in legacy PCI driver.
To resolve the conflict, I made some changes to the legacy driver.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/io.h | 6 ++
arch/sh/include/asm/pci.h | 4
arch/sh/kernel/iomap.c
Signed-off-by: Yoshinori Sato
---
.../bindings/display/smi,sm501.yaml | 398 ++
1 file changed, 398 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/smi,sm501.yaml
diff --git a/Documentation/devicetree/bindings/display/smi,sm501.yaml
b
Renesas SH7751 external interrupt encoder json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-irl-ext.yaml | 57 +++
1 file changed, 57 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl
Renesas SH7750 and SH7751 series CPG driver.
This driver supported frequency control and clock gating.
Signed-off-by: Yoshinori Sato
---
drivers/clk/renesas/Kconfig | 13 +-
drivers/clk/renesas/Makefile | 1 +
drivers/clk/renesas/clk-sh7750.c | 480 +++
3
SH7751 have 15 level external interrupt.
It is typically connected to the CPU through a priority encoder
that can suppress requests.
This driver provides a way to control those hardware with irqchip.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 7 +
drivers
On Tue, 09 Jan 2024 21:30:34 +0900,
Linus Walleij wrote:
>
> Hi Yoshinori,
>
> thanks for your patch!
>
> On Tue, Jan 9, 2024 at 9:24 AM Yoshinori Sato
> wrote:
>
> > + renesas,icr-irlm:
> > +$ref: /schemas/types.yaml#/definitions/flag
> >
Signed-off-by: Yoshinori Sato
---
arch/sh/configs/landisk-of_defconfig | 104 +++
1 file changed, 104 insertions(+)
create mode 100644 arch/sh/configs/landisk-of_defconfig
diff --git a/arch/sh/configs/landisk-of_defconfig
b/arch/sh/configs/landisk-of_defconfig
new file
I've changed some symbols related to DeviceTree,
so let's take care of those changes.
Signed-off-by: Yoshinori Sato
---
arch/sh/configs/j2_defconfig | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/arch/sh/configs/j2_defconfig b/arch/sh/configs/j2_defconfig
index
Signed-off-by: Yoshinori Sato
---
arch/sh/configs/rts7751r2dplus-of_defconfig | 80 +
1 file changed, 80 insertions(+)
create mode 100644 arch/sh/configs/rts7751r2dplus-of_defconfig
diff --git a/arch/sh/configs/rts7751r2dplus-of_defconfig
b/arch/sh/configs/rts7751r2dplus
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/Makefile | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile
index 4a6dec9714a9..e6b93360c213 100644
--- a/arch/sh/boot/dts/Makefile
+++ b/arch/sh/boot/dts/Makefile
@@ -1,2 +1,7
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/j2_mimas_v2.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sh/boot/dts/j2_mimas_v2.dts b/arch/sh/boot/dts/j2_mimas_v2.dts
index fa9562f78d53..5dfe20866a1c 100644
--- a/arch/sh/boot/dts/j2_mimas_v2.dts
+++ b/arch/sh
IO DATA DEVICE Inc. USL-5P devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/usl-5p.dts | 83 +
1 file changed, 83 insertions(+)
create mode 100644 arch/sh/boot/dts/usl-5p.dts
diff --git a/arch/sh/boot/dts/usl-5p.dts b/arch/sh/boot/dts/usl
Renesas RTS7751R2D Plus devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/rts7751r2dplus.dts | 180
arch/sh/boot/dts/sh7751r.dtsi | 4 +
2 files changed, 184 insertions(+)
create mode 100644 arch/sh/boot/dts/rts7751r2dplus.dts
diff --git
IO DATA DEVICE Inc. LANDISK HDL-U devicetree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/landisk.dts | 75
1 file changed, 75 insertions(+)
create mode 100644 arch/sh/boot/dts/landisk.dts
diff --git a/arch/sh/boot/dts/landisk.dts b/arch/sh/boot/dts
SH7751R internal peripherals device tree.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/dts/sh7751r.dtsi | 148 ++
1 file changed, 148 insertions(+)
create mode 100644 arch/sh/boot/dts/sh7751r.dtsi
diff --git a/arch/sh/boot/dts/sh7751r.dtsi b/arch/sh/boot/dts
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/soc/renesas/sh.yaml | 32 +++
1 file changed, 32 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml
diff --git a/Documentation/devicetree/bindings/soc/renesas/sh.yaml
b
Added new ata-generic target.
- iodata,usl-5p-ata
- renesas,rts7751r2d-ata
Each boards have simple IDE Interface. Use ATA generic driver.
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/ata/ata-generic.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation
Add Silicon Mortion Technology Corporation
https://www.siliconmotion.com/
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml
b/Documentation
Add IO DATA DEVICE INC.
https://www.iodata.com/
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml
b/Documentation/devicetree/bindings/vendor
Various parameters of SM501 can be set using platform_data,
so parameters cannot be passed in the DeviceTree target.
Expands the parameters set in platform_data so that they can be
specified using DeviceTree properties.
Signed-off-by: Yoshinori Sato
---
drivers/mfd/sm501.c | 436
Renesas SH series and compatible ISA CPUs.
Signed-off-by: Yoshinori Sato
---
.../devicetree/bindings/sh/cpus.yaml | 74 +++
1 file changed, 74 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sh/cpus.yaml
diff --git a/Documentation/devicetree
Add Renesas SH7751 SCIF.
Signed-off-by: Yoshinori Sato
---
Documentation/devicetree/bindings/serial/renesas,scif.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
Signed-off-by: Yoshinori Sato
---
.../bindings/display/smi,sm501.yaml | 417 ++
1 file changed, 417 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/smi,sm501.yaml
diff --git a/Documentation/devicetree/bindings/display/smi,sm501.yaml
b
- fix earlycon name.
- fix earlyprintk hung (NULL pointer reference).
- fix SERIAL_SH_SCI_EARLYCON enablement
Signed-off-by: Yoshinori Sato
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/Kconfig | 2 +-
drivers/tty/serial/sh-sci.c | 6 +++---
2 files changed, 4 insertions(+), 4
Renesas SH7751 external interrupt encoder json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-irl-ext.yaml | 72 +++
1 file changed, 72 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-irl
SH7751 have 15 level external interrupt.
It is typically connected to the CPU through a priority encoder
that can suppress requests.
This driver provides a way to control those hardware with irqchip.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 7 +
drivers
Renesas SH7750 and SH7751 series CPG driver.
This driver supported frequency control and clock gating.
Signed-off-by: Yoshinori Sato
---
drivers/clk/renesas/Kconfig | 16 +-
drivers/clk/renesas/Makefile | 1 +
drivers/clk/renesas/clk-sh7750.c | 498 +++
3
Renesas SH7751 INTC json-schema.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.yaml | 105 ++
1 file changed, 105 insertions(+)
create mode 100644
Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml
diff --git
-off-by: Yoshinori Sato
---
drivers/clk/clk-divider.c| 56
drivers/clk/clk-gate.c | 56 +++-
include/linux/clk-provider.h | 22 ++
3 files changed, 97 insertions(+), 37 deletions(-)
diff --git a/drivers/clk
Renesas SH7751 Internal interrupt controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/irqchip/Kconfig | 8 +
drivers/irqchip/Makefile | 1 +
drivers/irqchip/irq-renesas-sh7751.c | 313 +++
3 files changed, 322 insertions(+)
create
Add New OF based PCI Host driver.
This driver conflicts some point in legacy PCI driver.
To resolve the conflict, I made some changes to the legacy driver.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/io.h | 6 ++
arch/sh/include/asm/pci.h | 4
arch/sh/kernel/iomap.c
SH7750 CPG Clock output define.
Signed-off-by: Yoshinori Sato
---
.../bindings/clock/renesas,sh7750-cpg.yaml| 103 ++
include/dt-bindings/clock/sh7750-cpg.h| 26 +
2 files changed, 129 insertions(+)
create mode 100644
Documentation/devicetree/bindings/clock
Renesas SH7751 PCI Controller json-schema.
Signed-off-by: Yoshinori Sato
---
.../bindings/pci/renesas,sh7751-pci.yaml | 150 ++
1 file changed, 150 insertions(+)
create mode 100644
Documentation/devicetree/bindings/pci/renesas,sh7751-pci.yaml
diff --git a/Documentation
Renesas SH7751 CPU Internal PCI Controller driver.
Signed-off-by: Yoshinori Sato
---
drivers/pci/controller/Kconfig | 9 +
drivers/pci/controller/Makefile | 1 +
drivers/pci/controller/pci-sh7751.c | 392
3 files changed, 402 insertions(+)
create mode
Add SH7750 TMU entry.
I wanted to replace interrupts and interrupt-names in the if compatible is
"renesas,tmu-7750", but it seems that I can't rewrite it as expected.
This resulted in a redundant conditional statement.
Signed-off-by: Yoshinori Sato
---
.../bindings/timer/renesa
Allows initialization as CLOCKSOURCE.
Signed-off-by: Yoshinori Sato
---
drivers/clocksource/sh_tmu.c | 161 +++
1 file changed, 106 insertions(+), 55 deletions(-)
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c
index be81c00f
Initialize the clock and timer using the COMMON_CLK procedure.
sh's earlytimer mechanism doesn't work properly in OF,
so timer initialization is delayed.
If CONFIG_OF=y, perform the general timer initialization procedure.
Signed-off-by: Yoshinori Sato
---
arch/sh/boards/of-generic.c | 28
Remove unused function prototype.
Add helper update_sr_imask. use for SH7751 irq driver.
Add stub intc_finalize.
Signed-off-by: Yoshinori Sato
---
arch/sh/include/asm/io.h | 2 ++
arch/sh/include/asm/irq.h | 10 --
arch/sh/kernel/cpu/Makefile| 5 +
arch/sh/kernel
Fix extrnal fdt initialize and bootargs.
Signed-off-by: Yoshinori Sato
---
arch/sh/kernel/setup.c | 33 -
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 3d80515298d2..e3f34027ac9e 100644
IRQ, CLK and PCI will be migrated to a common driver framework.
So if OF, disable the SH specific drivers.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig | 11 ++-
arch/sh/drivers/Makefile| 2 ++
arch/sh/kernel/cpu/Makefile | 9 +++--
arch/sh/kernel
Renesas SH7751 Interrupt controller priority register define.
Signed-off-by: Yoshinori Sato
---
.../renesas,sh7751-intc.h | 19 +++
1 file changed, 19 insertions(+)
create mode 100644
include/dt-bindings/interrupt-controller/renesas,sh7751-intc.h
diff
Targets that support OF should be treated as one board.
Signed-off-by: Yoshinori Sato
---
arch/sh/Kconfig| 1 +
arch/sh/boards/Kconfig | 24 ++--
2 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 7500521b2b98
R4 is caller saved in SH ABI.
Save it so it doesn't get corrupted until it's needed for initialization.
Signed-off-by: Yoshinori Sato
---
arch/sh/boot/compressed/head_32.S | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/sh/boot/compressed/head_32.S
b/arch/sh/boot
.
- 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 (37):
sh: passing FDT address to kernel startup.
sh: Kconfig unified OF supported targets.
sh
1 - 100 of 138 matches
Mail list logo