[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220816211454.237751-1-ben.dooks@sifive.com>
Date: Tue, 16 Aug 2022 22:14:44 +0100
From: Ben Dooks <ben.dooks@...ive.com>
To: linux-pwm@...r.kernel.org
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Lee Jones <lee.jones@...aro.org>,
u.kleine-koenig@...gutronix.de,
Thierry Reding <thierry.reding@...il.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Greentime Hu <greentime.hu@...ive.com>,
jarkko.nikula@...ux.intel.com,
William Salmon <william.salmon@...ive.com>,
Jude Onyenegecha <jude.onyenegecha@...ive.com>,
Ben Dooks <ben.dooks@...ive.com>
Subject: [RFC v4 00/10] RFC on synpsys pwm driver changes
New version of the pwm timers patch, hopefully all review comments
are sorted out, however I have not had time to fully test this and
I do not have a PCI system to test it on either.
The series has been moved around a bit to try to get some of the
simpler changes in before splitting and to make the OF driver a
single addition.
v4:
- split pci and of into new modules
- fixup review comments
- fix typos in dt-bindings
v3:
- change the compatible name
- squash down pwm count patch
- fixup patch naming
v2:
- fix #pwm-cells count to be 3
- fix indetation
- merge the two clock patches
- add HAS_IOMEM as a config dependency
Ben Dooks (10):
dt-bindings: pwm: Document Synopsys DesignWare
snps,pwm-dw-apb-timers-pwm2
pwm: dwc: allow driver to be built with COMPILE_TEST
pwm: dwc: change &pci->dev to dev in probe
pwm: dwc: move memory alloc to own function
pwm: dwc: use devm_pwmchip_add
pwm: dwc: split pci out of core driver
pwm: dwc: make timer clock configurable
pwm: dwc: add of/platform support
pwm: dwc: add snps,pwm-number to limit pwm count
pwm: dwc: add PWM bit unset in get_state call
.../bindings/pwm/snps,dw-apb-timers-pwm2.yaml | 69 ++++++
drivers/pwm/Kconfig | 24 ++-
drivers/pwm/Makefile | 2 +
drivers/pwm/pwm-dwc-of.c | 86 ++++++++
drivers/pwm/pwm-dwc-pci.c | 134 ++++++++++++
drivers/pwm/pwm-dwc.c | 197 +++---------------
drivers/pwm/pwm-dwc.h | 60 ++++++
7 files changed, 402 insertions(+), 170 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pwm/snps,dw-apb-timers-pwm2.yaml
create mode 100644 drivers/pwm/pwm-dwc-of.c
create mode 100644 drivers/pwm/pwm-dwc-pci.c
create mode 100644 drivers/pwm/pwm-dwc.h
--
2.35.1
Powered by blists - more mailing lists