Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ze Huang <18771902331@163.com>
To: linus.walleij@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, paul.walmsley@sifive.com,
	palmer@dabbelt.com, aou@eecs.berkeley.edu, conor@kernel.org
Cc: devicetree@vger.kernel.org, dlan@gentoo.org,
	zhangmeng.kevin@spacemit.com, linux-kernel@vger.kernel.org,
	jesse@rivosinc.com, cyy@cyyself.name, inochiama@outlook.com,
	jszhang@kernel.org, kevin.z.m@hotmail.com,
	linux-riscv@lists.infradead.org
Subject: Re: [PATCH 0/3] Add initial support for Canaan Kendryte K230 pinctrl
Date: Sun, 15 Sep 2024 23:22:16 +0800	[thread overview]
Message-ID: <320c1fd8-2f8d-414d-a6a5-23280955b9b8@163.com> (raw)
In-Reply-To: <ZubtZKlxqejnCFx_@jean.localdomain>


On 9/15/24 10:21 PM, Ze Huang wrote:
> This patch series introduces support for the pinctrl driver of the Canaan
> K230 SoC. The K230 SoC features 64 IO pins, each of which can be configured
> for up to five different functions.
> 							
> The controller manages the entire pin configuration and multiplexing
> through a single register, which control features such as schmitt trigger,
> drive strength, bias pull-up/down, input/output enable, power source, and
> mux mode.
>
> The changes have been tested on the K230 development board.
> 							
> The pin function definition can be found here [1], and most of the DTS data
> was converted from the vendor's code [2].
>
> Link: https://developer.canaan-creative.com/k230/dev/_downloads/a53655a81951bc8a440ae647be286e75/K230_PINOUT_V1.1_20230321.xlsx [1]
> Link: https://github.com/kendryte/k230_sdk/blob/main/src/little/uboot/arch/riscv/dts/k230_canmv.dts [2]
>
> Ze Huang (3):
>    dt-bindings: pinctrl: Add support for canaan,k230 SoC
>    pinctrl: canaan: Add support for k230 SoC
>    riscv: dts: canaan: Add k230's pinctrl node
>
>   .../bindings/pinctrl/canaan,k230-pinctrl.yaml | 128 ++++
>   arch/riscv/boot/dts/canaan/k230-pinctrl.dtsi  | 318 +++++++++
>   arch/riscv/boot/dts/canaan/k230-pinctrl.h     |  18 +
>   arch/riscv/boot/dts/canaan/k230.dtsi          |   2 +
>   drivers/pinctrl/Kconfig                       |  10 +
>   drivers/pinctrl/Makefile                      |   1 +
>   drivers/pinctrl/pinctrl-k230.c                | 674 ++++++++++++++++++
>   7 files changed, 1151 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/pinctrl/canaan,k230-pinctrl.yaml
>   create mode 100644 arch/riscv/boot/dts/canaan/k230-pinctrl.dtsi
>   create mode 100644 arch/riscv/boot/dts/canaan/k230-pinctrl.h
>   create mode 100644 drivers/pinctrl/pinctrl-k230.c
>

lost base commit and prerequisite patch id here:

base-commit: 0eea987088a22d73d81e968de7347cdc7e594f72
prerequisite-patch-id: 740cbeb9fc3f3e3fd30df4914cd31e9eb148a581
prerequisite-patch-id: b5cc919a7e8e2f852569d5918944dbe4f21e6912
prerequisite-patch-id: 554cb838b7264109437359e88443cc3497ed344c


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2024-09-15 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-15 14:21 [PATCH 0/3] Add initial support for Canaan Kendryte K230 pinctrl Ze Huang
2024-09-15 15:22 ` Ze Huang [this message]
2024-09-15 19:35   ` Conor Dooley
2024-09-16  3:50     ` Ze Huang

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=320c1fd8-2f8d-414d-a6a5-23280955b9b8@163.com \
    --to=18771902331@163.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=cyy@cyyself.name \
    --cc=devicetree@vger.kernel.org \
    --cc=dlan@gentoo.org \
    --cc=inochiama@outlook.com \
    --cc=jesse@rivosinc.com \
    --cc=jszhang@kernel.org \
    --cc=kevin.z.m@hotmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=robh@kernel.org \
    --cc=zhangmeng.kevin@spacemit.com \
    /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