From: Artem Novak <artem122novak@gmail.com>
To: glaubitz@physik.fu-berlin.de
Cc: dalias@libc.org, ysato@users.sourceforge.jp,
linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, geert+renesas@glider.be,
Artem Novak <artem122novak@gmail.com>
Subject: [RFC PATCH 2/2] sh: fx9750giii: add board support
Date: Thu, 22 Oct 2026 00:39:36 -0600 [thread overview]
Message-ID: <20261022063936.472520-3-artem122novak@gmail.com> (raw)
In-Reply-To: <20261022063936.472520-1-artem122novak@gmail.com>
Add minimal machine support for the Casio fx-9750GIII graphing calculator.
Introducing a board Kconfig option and registration on its machine vector.
Wire the board directory into the SuperH build system.
Signed-off-by: Artem Novak <artem122novak@gmail.com>
---
arch/sh/Makefile | 1 +
arch/sh/boards/Kconfig | 12 ++++++++++++
arch/sh/boards/Makefile | 1 +
arch/sh/boards/mach-fx9750giii/Makefile | 2 ++
arch/sh/boards/mach-fx9750giii/setup.c | 14 ++++++++++++++
5 files changed, 30 insertions(+)
create mode 100644 arch/sh/boards/mach-fx9750giii/Makefile
create mode 100644 arch/sh/boards/mach-fx9750giii/setup.c
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 380e3b7dc597..28b431a8c8d9 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -128,6 +128,7 @@ machdir-$(CONFIG_SH_KFR2R09) += mach-kfr2r09
machdir-$(CONFIG_SH_ECOVEC) += mach-ecovec24
machdir-$(CONFIG_SH_SDK7786) += mach-sdk7786
machdir-$(CONFIG_SH_X3PROTO) += mach-x3proto
+machdir-$(CONFIG_SH_FX9750GIII) += mach-fx9750giii
machdir-$(CONFIG_SH_LANDISK) += mach-landisk
machdir-y += mach-common
diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig
index d89b74177233..f1571b0e5f1f 100644
--- a/arch/sh/boards/Kconfig
+++ b/arch/sh/boards/Kconfig
@@ -326,6 +326,18 @@ config SH_LBOX_RE2
help
Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
+
+config SH_FX9750GIII
+ bool "Casio fx-9750GIII"
+ depends on CPU_SUBTYPE_SH7305
+ select OF
+ select OF_EARLY_FLATTREE
+ help
+ Enable board support for the Casio fx-9750GIII
+ graphing calculator, based on the Renesas SH7305.
+ This selects the calculator machine vector and
+ enables early Device Tree support for the board.
+
config SH_X3PROTO
bool "SH-X3 Prototype board"
depends on CPU_SUBTYPE_SHX3
diff --git a/arch/sh/boards/Makefile b/arch/sh/boards/Makefile
index fbbc350ca854..c60d038872e9 100644
--- a/arch/sh/boards/Makefile
+++ b/arch/sh/boards/Makefile
@@ -32,6 +32,7 @@ obj-$(CONFIG_SH_ECOVEC) += mach-ecovec24/
obj-$(CONFIG_SH_SDK7780) += mach-sdk7780/
obj-$(CONFIG_SH_SDK7786) += mach-sdk7786/
obj-$(CONFIG_SH_X3PROTO) += mach-x3proto/
+obj-$(CONFIG_SH_FX9750GIII) += mach-fx9750giii/
obj-$(CONFIG_SH_SH7763RDP) += mach-sh7763rdp/
obj-$(CONFIG_SH_LANDISK) += mach-landisk/
obj-$(CONFIG_SH_LBOX_RE2) += mach-lboxre2/
diff --git a/arch/sh/boards/mach-fx9750giii/Makefile b/arch/sh/boards/mach-fx9750giii/Makefile
new file mode 100644
index 000000000000..0d6df7044567
--- /dev/null
+++ b/arch/sh/boards/mach-fx9750giii/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+obj-y += setup.o
diff --git a/arch/sh/boards/mach-fx9750giii/setup.c b/arch/sh/boards/mach-fx9750giii/setup.c
new file mode 100644
index 000000000000..233decdd1bfe
--- /dev/null
+++ b/arch/sh/boards/mach-fx9750giii/setup.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0-only
+// Copyright (C) 2026 Artem Novak
+/*
+ * Casio fx-9750GIII platform support
+ *
+ */
+
+#include <linux/init.h>
+
+#include <asm/machvec.h>
+
+static struct sh_machine_vector mv_fx9750giii __initmv = {
+ .mv_name = "Casio fx-9750GIII",
+};
--
2.56.0
prev parent reply other threads:[~2026-10-22 6:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-22 6:39 [RFC PATCH 0/2] sh: Add Casio fx-9750GIII " Artem Novak
2026-10-22 6:39 ` [RFC PATCH 1/2] sh: dts: add Casio fx-9750GIII board Artem Novak
2026-10-22 6:39 ` Artem Novak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261022063936.472520-3-artem122novak@gmail.com \
--to=artem122novak@gmail.com \
--cc=dalias@libc.org \
--cc=devicetree@vger.kernel.org \
--cc=geert+renesas@glider.be \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®