From: Binbin Zhou <zhoubinbin@loongson.cn>
To: "Binbin Zhou" <zhoubb.aaron@gmail.com>,
"Huacai Chen" <chenhuacai@loongson.cn>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: Huacai Chen <chenhuacai@kernel.org>,
loongson-kernel@lists.loongnix.cn, linux-pwm@vger.kernel.org,
devicetree@vger.kernel.org, Xuerui Wang <kernel@xen0n.name>,
loongarch@lists.linux.dev, Binbin Zhou <zhoubinbin@loongson.cn>
Subject: [PATCH v1 0/5] pwm: Introduce pwm driver for the Loongson family chips
Date: Tue, 2 Apr 2024 15:58:37 +0800 [thread overview]
Message-ID: <cover.1711953223.git.zhoubinbin@loongson.cn> (raw)
Hi all:
This patchset introduce a generic PWM framework driver for Loongson family.
Each PWM has one pulse width output signal and one pulse input signal to be measured.
It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips.
Thanks.
Binbin Zhou (5):
dt-bindings: pwm: Add Loongson PWM controller
pwm: Add Loongson PWM controller support
LoongArch: dts: Add PWM support to Loongson-2K0500
LoongArch: dts: Add PWM support to Loongson-2K1000
LoongArch: dts: Add PWM support to Loongson-2K2000
.../devicetree/bindings/pwm/pwm-loongson.yaml | 64 ++++
MAINTAINERS | 7 +
arch/loongarch/boot/dts/loongson-2k0500.dtsi | 20 ++
.../boot/dts/loongson-2k1000-ref.dts | 24 ++
arch/loongarch/boot/dts/loongson-2k1000.dtsi | 42 ++-
arch/loongarch/boot/dts/loongson-2k2000.dtsi | 60 ++++
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-loongson.c | 300 ++++++++++++++++++
9 files changed, 527 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yaml
create mode 100644 drivers/pwm/pwm-loongson.c
--
2.43.0
next reply other threads:[~2024-04-02 7:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-02 7:58 Binbin Zhou [this message]
2024-04-02 7:58 ` [PATCH v1 1/5] dt-bindings: pwm: Add Loongson PWM controller Binbin Zhou
2024-04-02 17:40 ` Rob Herring
2024-04-03 2:37 ` Binbin Zhou
2024-04-03 3:16 ` Binbin Zhou
2024-04-03 7:00 ` Krzysztof Kozlowski
2024-04-03 7:22 ` Binbin Zhou
2024-04-02 7:58 ` [PATCH v1 2/5] pwm: Add Loongson PWM controller support Binbin Zhou
2024-04-02 7:58 ` [PATCH v1 3/5] LoongArch: dts: Add PWM support to Loongson-2K0500 Binbin Zhou
2024-04-02 7:59 ` [PATCH v1 4/5] LoongArch: dts: Add PWM support to Loongson-2K1000 Binbin Zhou
2024-04-02 7:59 ` [PATCH v1 5/5] LoongArch: dts: Add PWM support to Loongson-2K2000 Binbin Zhou
2024-04-02 17:34 ` kernel test robot
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.1711953223.git.zhoubinbin@loongson.cn \
--to=zhoubinbin@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@xen0n.name \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-pwm@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=robh+dt@kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=zhoubb.aaron@gmail.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;
as well as URLs for NNTP newsgroup(s).