linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add QCOM PMIC PWM driver
@ 2021-04-27 10:22 Fenglin Wu
  2021-04-27 10:22 ` [PATCH 1/2] dt-bindings: pwm: add bindings for PWM modules inside QCOM PMICs Fenglin Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Fenglin Wu @ 2021-04-27 10:22 UTC (permalink / raw)
  To: linux-arm-msm, linux-kernel; +Cc: subbaram, collinsd, aghayal, fenglinw

Add PWM driver to support PWM modules inside QCOM PMIC chips which are accessed
through SPMI bus. Normally, there would be multiple PWM modules with adjacent
address spaces present in one PMIC chip, and each PWM module has 0x100 size of
address space. With this driver, a pwm_chip with multiple pwm_device individuals
is created, and each pwm_device individual is corresponding to one PWM module.

Fenglin Wu (2):
  dt-bindings: pwm: add bindings for PWM modules inside QCOM PMICs
  pwm: pwm-qcom: add driver for PWM modules in QCOM PMICs

 .../devicetree/bindings/pwm/pwm-qcom.yaml          |  51 ++
 drivers/pwm/Kconfig                                |   9 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-qcom.c                             | 585 +++++++++++++++++++++
 4 files changed, 646 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-qcom.yaml
 create mode 100644 drivers/pwm/pwm-qcom.c

-- 
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.


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

end of thread, other threads:[~2021-04-29 11:04 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 10:22 [PATCH 0/2] Add QCOM PMIC PWM driver Fenglin Wu
2021-04-27 10:22 ` [PATCH 1/2] dt-bindings: pwm: add bindings for PWM modules inside QCOM PMICs Fenglin Wu
2021-04-27 12:57   ` Rob Herring
2021-04-28 10:54     ` fenglinw
2021-04-28 17:38   ` Thierry Reding
2021-04-27 10:22 ` [PATCH 2/2] pwm: pwm-qcom: add driver for PWM modules in " Fenglin Wu
2021-04-27 17:07   ` Uwe Kleine-König
2021-04-28 12:42     ` fenglinw
2021-04-28 15:40       ` Uwe Kleine-König
2021-04-28 17:46     ` Thierry Reding
2021-04-29  6:52       ` Uwe Kleine-König
2021-04-29  7:06         ` Lee Jones
2021-04-29 10:18           ` Thierry Reding
2021-04-29 11:04             ` Lee Jones
2021-04-29 10:15         ` Thierry Reding
2021-04-28 15:54 ` [PATCH 0/2] Add QCOM PMIC PWM driver Bjorn Andersson
2021-04-28 18:49   ` Subbaraman Narayanamurthy
2021-04-28 20:06     ` Bjorn Andersson
2021-04-28 22:36       ` Subbaraman Narayanamurthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).