[PATCH v2 0/2] Add support for PWM SiFive

Yash Shah yash.shah at sifive.com
Thu Apr 23 13:27:14 CEST 2020


The patch series adds support for PWM controller in SiFive SoCs

Changes in v2:
- Introduce a new patch to add the DT documentation
- Change commit message to include reference of Linux ver and commit
- Remove unnecessary function "pwm_sifive_set_invert"
- Use "dev_read_addr_ptr" instead of "dev_read_addr" to avoid cast on
  each readl/writel call

Yash Shah (2):
  pwm: Add DT documentation for SiFive PWM Controller
  pwm: Add PWM driver for SiFive SoC

 doc/device-tree-bindings/pwm/pwm-sifive.txt |  31 +++++
 drivers/pwm/Kconfig                         |   6 +
 drivers/pwm/Makefile                        |   1 +
 drivers/pwm/pwm-sifive.c                    | 172 ++++++++++++++++++++++++++++
 4 files changed, 210 insertions(+)
 create mode 100644 doc/device-tree-bindings/pwm/pwm-sifive.txt
 create mode 100644 drivers/pwm/pwm-sifive.c

-- 
2.7.4



More information about the U-Boot mailing list