linux_dsm_epyc7002/include/linux/mfd
Fabrice Gasnier 53e38fe73f pwm: stm32: Add capture support
Add support for PMW input mode on pwm-stm32. STM32 timers support
period and duty cycle capture as long as they have at least two PWM
channels. One capture channel is used for period (rising-edge), one
for duty-cycle (falling-edge).
When there's only one channel available, only period can be captured.
Duty-cycle is simply zero'ed in such a case.

Capture requires exclusive access (e.g. no pwm output running at the
same time, to protect common prescaler).
Timer DMA burst mode (from MFD core) is being used, to take two
snapshots of capture registers (upon each period rising edge).

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2018-05-16 09:10:53 +01:00
..
abx500
arizona ASoC: arizona: Add support for setting the output volume limits 2017-09-20 17:34:35 +01:00
da9052
da9055 regulator: da9055: Pass descriptor instead of GPIO number 2018-02-16 17:05:45 +00:00
da9062
da9063
da9150
mt6323
mt6397
pcf50633 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
samsung rtc: s5m: Move enum from rtc.h to rtc-s5m.c 2018-03-17 14:20:56 +01:00
syscon ahci: imx: add the imx6qp ahci sata support 2018-03-19 07:34:08 -07:00
wm831x
wm8350
wm8994
88pm80x.h
88pm860x.h
aat2870.h
ab3100.h
abx500.h
ac100.h
adp5520.h
altera-a10sr.h
as3711.h
as3722.h
asic3.h
atmel-hlcdc.h
axp20x.h First round of new devices, features and cleanups for IIO in the 4.17 cycle. 2018-02-20 10:23:17 +01:00
bcm590xx.h
bd9571mwv.h
core.h
cros_ec_commands.h platform/chrome: cros_ec_debugfs: Add PD port info to debugfs 2018-04-10 22:24:51 -07:00
cros_ec_lpc_mec.h
cros_ec_lpc_reg.h
cros_ec.h platform/chrome: mfd/cros_ec_dev: Add sysfs entry to set keyboard wake lid angle 2018-04-10 22:25:07 -07:00
da8xx-cfgchip.h
da903x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
davinci_voicecodec.h
db8500-prcmu.h
dbx500-prcmu.h
dln2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dm355evm_msp.h
ds1wm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ezx-pcap.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hi655x-pmic.h
hi6421-pmic.h
htc-pasic3.h
imx25-tsadc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
intel_msic.h
intel_soc_pmic_bxtwc.h
intel_soc_pmic.h
ipaq-micro.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
janz.h
kempld.h
lm3533.h
lp873x.h
lp3943.h
lp8788-isink.h
lp8788.h
lp87565.h
lpc_ich.h
max8907.h
max8925.h
max8997-private.h
max8997.h
max8998-private.h
max8998.h
max14577-private.h
max14577.h
max77620.h
max77686-private.h
max77686.h
max77693-common.h
max77693-private.h
max77693.h
max77843-private.h extcon: max77843: Add support for SmartDock accessory 2017-10-24 09:48:54 +09:00
mc13xxx.h
mc13783.h
mc13892.h
mcp.h
menelaus.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
motorola-cpcap.h
mxs-lradc.h
palmas.h mfd: palmas: Assign the right powerhold mask for tps65917 2018-01-08 11:03:34 +00:00
qcom_rpm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rave-sp.h mfd: Add driver for RAVE Supervisory Processor 2018-01-08 10:08:35 +00:00
rc5t583.h
rdc321x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
retu.h
rk808.h
rn5t618.h
rt5033-private.h
rt5033.h
si476x-core.h
si476x-platform.h
si476x-reports.h
sky81452.h
smsc.h
sta2x11-mfd.h
stm32-lptimer.h mfd: stm32: Adopt SPDX identifier 2018-01-08 11:03:35 +00:00
stm32-timers.h pwm: stm32: Add capture support 2018-05-16 09:10:53 +01:00
stmpe.h
stw481x.h
sun4i-gpadc.h
syscon.h
t7l66xb.h
tc3589x.h
tc6387xb.h
tc6393xb.h
ti_am335x_tscadc.h
ti-lmu-register.h
ti-lmu.h
tmio.h mmc: tmio: remove TMIO_MMC_WRPROTECT_DISABLE 2018-03-05 09:09:04 +01:00
tps6105x.h
tps6507x.h
tps6586x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tps65010.h
tps65086.h
tps65090.h
tps65217.h mfd: tps65217: Introduce dependency on CONFIG_OF 2017-10-13 10:42:58 +01:00
tps65218.h regulator: tps65218: remove unused tps_info structure 2017-11-10 12:33:15 +00:00
tps65910.h
tps65912.h
tps68470.h
tps80031.h
twl4030-audio.h
twl6040.h
twl.h
ucb1x00.h
viperboard.h
wl1273-core.h
wm97xx.h mfd: wm97xx-core: core support for wm97xx Codec 2017-09-19 17:07:24 +01:00
wm8400-audio.h
wm8400-private.h
wm8400.h