pwm: Add snapshot of QTI PWM LPG driver

QTI PWM LPG driver supports configuring PWM/LPG channels on QTI
PMICs based on the client's request.

This snapshot is taken as of msm-4.14
commit 9bb584ae3a9d ("msm/sde/rotator: Add rev checks for sdmmagpie").

Change-Id: Icc3c6c7431e028aea6dd1759b8bad2e3b8eb9259
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
Subbaraman Narayanamurthy 2018-11-01 15:19:28 -07:00
parent a67189ee51
commit 29227d5572
3 changed files with 1319 additions and 0 deletions

View file

@ -340,6 +340,16 @@ config PWM_PXA
To compile this driver as a module, choose M here: the module
will be called pwm-pxa.
config PWM_QTI_LPG
tristate "Qualcomm Technologies, Inc. LPG driver"
depends on MFD_SPMI_PMIC && OF
help
This driver supports the LPG (Light Pulse Generator) module found in
Qualcomm Technologies, Inc. PMIC chips. Each LPG channel can be
configured to operate in PWM mode to output a fixed amplitude with
variable duty cycle or in LUT (Look up table) mode to output PWM
signal with a modulated amplitude.
config PWM_RCAR
tristate "Renesas R-Car PWM support"
depends on ARCH_RENESAS || COMPILE_TEST

View file

@ -34,6 +34,7 @@ obj-$(CONFIG_PWM_PCA9685) += pwm-pca9685.o
obj-$(CONFIG_PWM_PUV3) += pwm-puv3.o
obj-$(CONFIG_PWM_PXA) += pwm-pxa.o
obj-$(CONFIG_PWM_RCAR) += pwm-rcar.o
obj-$(CONFIG_PWM_QTI_LPG) += pwm-qti-lpg.o
obj-$(CONFIG_PWM_RENESAS_TPU) += pwm-renesas-tpu.o
obj-$(CONFIG_PWM_ROCKCHIP) += pwm-rockchip.o
obj-$(CONFIG_PWM_SAMSUNG) += pwm-samsung.o

1308
drivers/pwm/pwm-qti-lpg.c Normal file

File diff suppressed because it is too large Load diff