From: dongxuyang@eswincomputing.com
To: ukleinek@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, p.zabel@pengutronix.de,
linux-pwm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: ningyu@eswincomputing.com, linmin@eswincomputing.com,
xuxiang@eswincomputing.com, wangguosheng@eswincomputing.com,
pinkesh.vaghela@einfochips.com,
Xuyang Dong <dongxuyang@eswincomputing.com>
Subject: [PATCH 0/2] Add driver support for ESWIN EIC7700 PWM controller
Date: Fri, 5 Dec 2025 17:04:11 +0800 [thread overview]
Message-ID: <20251205090411.1388-1-dongxuyang@eswincomputing.com> (raw)
From: Xuyang Dong <dongxuyang@eswincomputing.com>
Add support for the ESWIN EIC7700 PWM (Pulse Width Modulation) based on
Synopsys DWC PWM.
Features:
The EIC7700 PWM driver supports a duty cycle range from 0% to 100%, with
explicit support added for both 0% and 100% duty cycles.
Supported chips:
ESWIN EIC7700 series SoC.
Test:
Tested this patch on the Sifive HiFive Premier P550 (which used the EIC7700
SoC).
Xuyang Dong (2):
dt-bindings: pwm: eswin: Add EIC7700 pwm controller
pwm: eswin: Add EIC7700 pwm driver
.../bindings/pwm/eswin,eic7700-pwm.yaml | 73 ++++++
drivers/pwm/Kconfig | 12 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-dwc-core.c | 76 ++++--
drivers/pwm/pwm-dwc-eic7700.c | 231 ++++++++++++++++++
drivers/pwm/pwm-dwc.h | 16 +-
6 files changed, 384 insertions(+), 25 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/eswin,eic7700-pwm.yaml
create mode 100644 drivers/pwm/pwm-dwc-eic7700.c
--
2.34.1
next reply other threads:[~2025-12-05 9:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 9:04 dongxuyang [this message]
2025-12-05 9:04 ` [PATCH 1/2] dt-bindings: pwm: eswin: Add EIC7700 pwm controller dongxuyang
2025-12-08 6:45 ` Krzysztof Kozlowski
2025-12-09 10:20 ` Xuyang Dong
2025-12-09 21:40 ` Krzysztof Kozlowski
2025-12-05 9:05 ` [PATCH 2/2] pwm: eswin: Add EIC7700 pwm driver dongxuyang
2025-12-06 10:09 ` kernel test robot
2025-12-08 6:48 ` Krzysztof Kozlowski
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=20251205090411.1388-1-dongxuyang@eswincomputing.com \
--to=dongxuyang@eswincomputing.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linmin@eswincomputing.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=ningyu@eswincomputing.com \
--cc=p.zabel@pengutronix.de \
--cc=pinkesh.vaghela@einfochips.com \
--cc=robh@kernel.org \
--cc=ukleinek@kernel.org \
--cc=wangguosheng@eswincomputing.com \
--cc=xuxiang@eswincomputing.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