From: Chen Wang <unicornxw@gmail.com>
To: ukleinek@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, unicorn_wang@outlook.com,
inochiama@outlook.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org,
linux-riscv@lists.infradead.org, chao.wei@sophgo.com,
haijiao.liu@sophgo.com, xiaoguang.xing@sophgo.com,
chunzhi.lin@sophgo.com
Subject: [PATCH v4 0/3] pwm: Add pwm driver for Sophgo SG2042
Date: Wed, 16 Oct 2024 08:19:03 +0800 [thread overview]
Message-ID: <cover.1729037302.git.unicorn_wang@outlook.com> (raw)
From: Chen Wang <unicorn_wang@outlook.com>
Add driver for pwm controller of Sophgo SG2042 SoC.
Thanks,
Chen
---
Changes in v4:
The patch series is based on v6.12-rc1.
Updated driver to set property atomic of pwm_chip to true as per suggestion
from Sean.
Changes in v3:
The patch series is catched up with v6.12-rc1. You can simply review or test
the patches at the link [3].
Add patch #3 for dts part change.
Changes in v2:
The patch series is based on v6.11-rc6. You can simply review or test the
patches at the link [2].
Fixed following issues as per comments from Yixun Lan, Krzysztof Kozlowski
and Uwe Kleine-König, thanks.
- Some minor issues in dt-bindings.
- driver issues, use macros with name prefix for registers access; add
limitations comments; fixed potential calculation overflow problem;
add .get_state() callback and other miscellaneous code improvements.
Changes in v1:
The patch series is based on v6.11-rc6. You can simply review or test the
patches at the link [1].
Link: https://lore.kernel.org/linux-riscv/cover.1725536870.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/cover.1725931796.git.unicorn_wang@outlook.com/ [2]
Link: https://lore.kernel.org/linux-riscv/cover.1728355974.git.unicorn_wang@outlook.com/ [3]
---
Chen Wang (3):
dt-bindings: pwm: sophgo: add PWM controller for SG2042
pwm: sophgo: add driver for Sophgo SG2042 PWM
riscv: sophgo: dts: add pwm controller for SG2042 SoC
.../bindings/pwm/sophgo,sg2042-pwm.yaml | 51 +++++
arch/riscv/boot/dts/sophgo/sg2042.dtsi | 8 +
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-sophgo-sg2042.c | 181 ++++++++++++++++++
5 files changed, 251 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml
create mode 100644 drivers/pwm/pwm-sophgo-sg2042.c
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
--
2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Chen Wang <unicornxw@gmail.com>
To: ukleinek@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, unicorn_wang@outlook.com,
inochiama@outlook.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org,
linux-riscv@lists.infradead.org, chao.wei@sophgo.com,
haijiao.liu@sophgo.com, xiaoguang.xing@sophgo.com,
chunzhi.lin@sophgo.com
Subject: [PATCH v4 0/3] pwm: Add pwm driver for Sophgo SG2042
Date: Wed, 16 Oct 2024 08:19:03 +0800 [thread overview]
Message-ID: <cover.1729037302.git.unicorn_wang@outlook.com> (raw)
From: Chen Wang <unicorn_wang@outlook.com>
Add driver for pwm controller of Sophgo SG2042 SoC.
Thanks,
Chen
---
Changes in v4:
The patch series is based on v6.12-rc1.
Updated driver to set property atomic of pwm_chip to true as per suggestion
from Sean.
Changes in v3:
The patch series is catched up with v6.12-rc1. You can simply review or test
the patches at the link [3].
Add patch #3 for dts part change.
Changes in v2:
The patch series is based on v6.11-rc6. You can simply review or test the
patches at the link [2].
Fixed following issues as per comments from Yixun Lan, Krzysztof Kozlowski
and Uwe Kleine-König, thanks.
- Some minor issues in dt-bindings.
- driver issues, use macros with name prefix for registers access; add
limitations comments; fixed potential calculation overflow problem;
add .get_state() callback and other miscellaneous code improvements.
Changes in v1:
The patch series is based on v6.11-rc6. You can simply review or test the
patches at the link [1].
Link: https://lore.kernel.org/linux-riscv/cover.1725536870.git.unicorn_wang@outlook.com/ [1]
Link: https://lore.kernel.org/linux-riscv/cover.1725931796.git.unicorn_wang@outlook.com/ [2]
Link: https://lore.kernel.org/linux-riscv/cover.1728355974.git.unicorn_wang@outlook.com/ [3]
---
Chen Wang (3):
dt-bindings: pwm: sophgo: add PWM controller for SG2042
pwm: sophgo: add driver for Sophgo SG2042 PWM
riscv: sophgo: dts: add pwm controller for SG2042 SoC
.../bindings/pwm/sophgo,sg2042-pwm.yaml | 51 +++++
arch/riscv/boot/dts/sophgo/sg2042.dtsi | 8 +
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-sophgo-sg2042.c | 181 ++++++++++++++++++
5 files changed, 251 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/sophgo,sg2042-pwm.yaml
create mode 100644 drivers/pwm/pwm-sophgo-sg2042.c
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
--
2.34.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2024-10-16 0:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-16 0:19 Chen Wang [this message]
2024-10-16 0:19 ` [PATCH v4 0/3] pwm: Add pwm driver for Sophgo SG2042 Chen Wang
2024-10-16 0:19 ` [PATCH v4 1/3] dt-bindings: pwm: sophgo: add PWM controller for SG2042 Chen Wang
2024-10-16 0:19 ` Chen Wang
2024-10-25 3:28 ` Inochi Amaoto
2024-10-25 3:28 ` Inochi Amaoto
2024-10-25 7:05 ` Chen Wang
2024-10-25 7:05 ` Chen Wang
2024-10-16 0:20 ` [PATCH v4 2/3] pwm: sophgo: add driver for Sophgo SG2042 PWM Chen Wang
2024-10-16 0:20 ` Chen Wang
2024-10-16 9:00 ` Sean Young
2024-10-16 9:00 ` Sean Young
2024-10-16 0:20 ` [PATCH v4 3/3] riscv: sophgo: dts: add pwm controller for SG2042 SoC Chen Wang
2024-10-16 0:20 ` Chen Wang
2024-10-22 0:00 ` [PATCH v4 0/3] pwm: Add pwm driver for Sophgo SG2042 Chen Wang
2024-10-22 0:00 ` Chen Wang
2024-10-22 12:53 ` Chen Wang
2024-10-22 12:53 ` Chen Wang
2024-10-22 15:42 ` Uwe Kleine-König
2024-10-22 15:42 ` Uwe Kleine-König
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=cover.1729037302.git.unicorn_wang@outlook.com \
--to=unicornxw@gmail.com \
--cc=chao.wei@sophgo.com \
--cc=chunzhi.lin@sophgo.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=haijiao.liu@sophgo.com \
--cc=inochiama@outlook.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=robh@kernel.org \
--cc=ukleinek@kernel.org \
--cc=unicorn_wang@outlook.com \
--cc=xiaoguang.xing@sophgo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.