Skip to content

Add driver support for ESWIN EIC7700 PWM controller

[email protected] linux-devicetree linux-pwm lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: pwm: eswin: Add EIC7700 pwm controllerDocumentation/devicetree/bindings/pwm/eswin,eic7700-pwm.yaml+73 -03 replies
2/2pwm: eswin: Add EIC7700 pwm driverdrivers/pwm/Kconfig drivers/pwm/Makefile drivers/pwm/pwm-dwc-core.c +2 more+311 -251 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add driver support for ESWIN EIC7700 PWM controller

From: Xuyang Dong <[email protected]>

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