public inbox for linux-pwm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add driver support for ESWIN EIC7700 PWM controller
@ 2025-12-05  9:04 dongxuyang
  2025-12-05  9:04 ` [PATCH 1/2] dt-bindings: pwm: eswin: Add EIC7700 pwm controller dongxuyang
  2025-12-05  9:05 ` [PATCH 2/2] pwm: eswin: Add EIC7700 pwm driver dongxuyang
  0 siblings, 2 replies; 8+ messages in thread
From: dongxuyang @ 2025-12-05  9:04 UTC (permalink / raw)
  To: ukleinek, robh, krzk+dt, conor+dt, p.zabel, linux-pwm, devicetree,
	linux-kernel
  Cc: ningyu, linmin, xuxiang, wangguosheng, pinkesh.vaghela,
	Xuyang Dong

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-12-09 21:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-05  9:04 [PATCH 0/2] Add driver support for ESWIN EIC7700 PWM controller dongxuyang
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox