From: Changhuang Liang <changhuang.liang@starfivetech.com>
To: Linus Walleij <linusw@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Lianfeng Ouyang <lianfeng.ouyang@starfivetech.com>,
Changhuang Liang <changhuang.liang@starfivetech.com>
Subject: [PATCH v1 0/8] Add ADC, eMMC and VGA pinctrl for StarFive JHB100 SoC
Date: Fri, 16 Oct 2026 22:25:26 -0700 [thread overview]
Message-ID: <20261017052534.115203-1-changhuang.liang@starfivetech.com> (raw)
The JHB100 SoC has 13 pinctrl domains - sys0, sys0h, sys1, sys2, per0, per1,
per2, per2pok, per3, adc0, adc1, emmc, and vga.
Series [1] completed the submission of the first 9 domains; the current series
provides pinctrl implementation support for the remaining parts.
[1]: https://lore.kernel.org/all/20260910100357.130134-1-changhuang.liang@starfivetech.com/
This part of the pinctrl has some special aspects:
1. adc0 and adc1 have different function select configurations.
2. Both adc0 and adc1 require 1 clock and 2 resets.
3. emmc only supports the input-debounce-ns pin configuration.
4. The drive-strength supported by adc0, adc1, and vga has 8 selectable values.
Changhuang Liang (8):
dt-bindings: pinctrl: Add starfive,jhb100-adc0-pinctrl
pinctrl: starfive: Add StarFive JHB100 adc0 controller driver
dt-bindings: pinctrl: Add starfive,jhb100-adc1-pinctrl
pinctrl: starfive: Add StarFive JHB100 adc1 controller driver
dt-bindings: pinctrl: Add starfive,jhb100-emmc-pinctrl
pinctrl: starfive: Add StarFive JHB100 emmc controller driver
dt-bindings: pinctrl: Add starfive,jhb100-vga-pinctrl
pinctrl: starfive: Add StarFive JHB100 vga controller driver
.../pinctrl/starfive,jhb100-adc0-pinctrl.yaml | 168 ++++++++++++++++++
.../pinctrl/starfive,jhb100-adc1-pinctrl.yaml | 168 ++++++++++++++++++
.../pinctrl/starfive,jhb100-emmc-pinctrl.yaml | 129 ++++++++++++++
.../pinctrl/starfive,jhb100-vga-pinctrl.yaml | 163 +++++++++++++++++
drivers/pinctrl/starfive/Kconfig | 44 +++++
drivers/pinctrl/starfive/Makefile | 4 +
.../starfive/pinctrl-starfive-jhb100-adc0.c | 85 +++++++++
.../starfive/pinctrl-starfive-jhb100-adc1.c | 85 +++++++++
.../starfive/pinctrl-starfive-jhb100-emmc.c | 77 ++++++++
.../starfive/pinctrl-starfive-jhb100-vga.c | 86 +++++++++
10 files changed, 1009 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/starfive,jhb100-adc0-pinctrl.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/starfive,jhb100-adc1-pinctrl.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/starfive,jhb100-emmc-pinctrl.yaml
create mode 100644 Documentation/devicetree/bindings/pinctrl/starfive,jhb100-vga-pinctrl.yaml
create mode 100644 drivers/pinctrl/starfive/pinctrl-starfive-jhb100-adc0.c
create mode 100644 drivers/pinctrl/starfive/pinctrl-starfive-jhb100-adc1.c
create mode 100644 drivers/pinctrl/starfive/pinctrl-starfive-jhb100-emmc.c
create mode 100644 drivers/pinctrl/starfive/pinctrl-starfive-jhb100-vga.c
--
2.25.1
next reply other threads:[~2026-10-17 10:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 5:25 Changhuang Liang [this message]
2026-10-17 5:25 ` [PATCH v1 1/8] dt-bindings: pinctrl: Add starfive,jhb100-adc0-pinctrl Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 2/8] pinctrl: starfive: Add StarFive JHB100 adc0 controller driver Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 3/8] dt-bindings: pinctrl: Add starfive,jhb100-adc1-pinctrl Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 4/8] pinctrl: starfive: Add StarFive JHB100 adc1 controller driver Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 5/8] dt-bindings: pinctrl: Add starfive,jhb100-emmc-pinctrl Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 6/8] pinctrl: starfive: Add StarFive JHB100 emmc controller driver Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 7/8] dt-bindings: pinctrl: Add starfive,jhb100-vga-pinctrl Changhuang Liang
2026-10-17 5:25 ` [PATCH v1 8/8] pinctrl: starfive: Add StarFive JHB100 vga controller driver Changhuang Liang
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=20261017052534.115203-1-changhuang.liang@starfivetech.com \
--to=changhuang.liang@starfivetech.com \
--cc=arnd@arndb.de \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lianfeng.ouyang@starfivetech.com \
--cc=linusw@kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/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®