kernel-fxtec-pro1x/drivers/pwm
Fenglin Wu d892c9f357 ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 data length
Currently, PWM core driver provides interfaces for configuring PWM
period and duty length in nanoseconds with an integer data type, so
the max period can be only set to ~2.147 seconds. Add interfaces which
can set PWM period and duty with u64 data type to remove this
limitation.

Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Bug: 152542675
Test: build and boot
(cherry picked from commit a691c36aef)
[surenb: removed sysfs API changes, replaced 32-bit divisions with 64-bit
ones in the following drivers to fix allmodconfig build:
	drivers/clk/clk-pwm.c
	drivers/hwmon/pwm-fan.c
	drivers/pwm/pwm-clps711x.c
	drivers/pwm/pwm-sti.c
	drivers/pwm/pwm-sun4i.c
]
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I149c14b2d59b181344e7bb77393c64bcd9998de5
Merged-In: I149c14b2d59b181344e7bb77393c64bcd9998de5
2020-04-03 15:23:59 -07:00
..
core.c ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 data length 2020-04-03 15:23:59 -07:00
Kconfig
Makefile
pwm-ab8500.c
pwm-atmel-hlcdc.c
pwm-atmel-tcb.c
pwm-atmel.c
pwm-bcm-iproc.c
pwm-bcm-kona.c
pwm-bcm2835.c
pwm-berlin.c pwm: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +01:00
pwm-brcmstb.c
pwm-clps711x.c ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 data length 2020-04-03 15:23:59 -07:00
pwm-crc.c
pwm-cros-ec.c
pwm-ep93xx.c
pwm-fsl-ftm.c
pwm-hibvt.c
pwm-img.c
pwm-imx.c
pwm-jz4740.c
pwm-lp3943.c
pwm-lpc18xx-sct.c
pwm-lpc32xx.c
pwm-lpss-pci.c
pwm-lpss-platform.c
pwm-lpss.c pwm: lpss: Release runtime-pm reference from the driver's remove callback 2020-01-27 14:49:59 +01:00
pwm-lpss.h
pwm-mediatek.c
pwm-meson.c pwm: meson: Don't disable PWM when setting duty repeatedly 2020-01-27 14:50:47 +01:00
pwm-mtk-disp.c
pwm-mxs.c
pwm-omap-dmtimer.c pwm: omap-dmtimer: put_device() after of_find_device_by_node() 2020-03-05 16:42:22 +01:00
pwm-pca9685.c pwm: Remove set but not set variable 'pwm' 2020-02-24 08:34:49 +01:00
pwm-puv3.c
pwm-pxa.c
pwm-rcar.c
pwm-renesas-tpu.c
pwm-rockchip.c
pwm-samsung.c pwm: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +01:00
pwm-spear.c
pwm-sti.c ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 data length 2020-04-03 15:23:59 -07:00
pwm-stm32-lp.c
pwm-stm32.c
pwm-stmpe.c
pwm-sun4i.c ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 data length 2020-04-03 15:23:59 -07:00
pwm-tegra.c
pwm-tiecap.c
pwm-tiehrpwm.c
pwm-tipwmss.c
pwm-twl-led.c
pwm-twl.c
pwm-vt8500.c
pwm-zx.c
sysfs.c ANDROID: GKI: pwm: core: Add option to config PWM duty/period with u64 data length 2020-04-03 15:23:59 -07:00