From patchwork Thu Apr 23 11:27:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shah X-Patchwork-Id: 238396 List-Id: U-Boot discussion From: yash.shah at sifive.com (Yash Shah) Date: Thu, 23 Apr 2020 16:57:14 +0530 Subject: [PATCH v2 0/2] Add support for PWM SiFive Message-ID: <1587641236-5026-1-git-send-email-yash.shah@sifive.com> 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