summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/omap-usb.h
diff options
context:
space:
mode:
authorLaxman Dewangan2016-06-09 17:13:07 +0200
committerLee Jones2016-06-29 11:14:38 +0200
commit3df140d11c6dbf319f4e1bc034e202546fc5ec5c (patch)
tree9fe07cd54c75bbd504cef733c1d92e0237569bb0 /drivers/mfd/omap-usb.h
parentmfd: axp20x: Add axp20x-usb-power-supply for axp22x pmics (diff)
downloadkernel-qcow2-linux-3df140d11c6dbf319f4e1bc034e202546fc5ec5c.tar.gz
kernel-qcow2-linux-3df140d11c6dbf319f4e1bc034e202546fc5ec5c.tar.xz
kernel-qcow2-linux-3df140d11c6dbf319f4e1bc034e202546fc5ec5c.zip
mfd: max77620: Mask/unmask interrupt before/after servicing it
The programming guidelines of the MAX77620 for servicing interrupt is: 1. When interrupt occurs from PMIC, mask the PMIC interrupt by setting GLBLM. 2. Read IRQTOP and service the interrupt. 3. Once all interrupts has been checked and serviced, the interrupt service routine un-masks the hardware interrupt line by clearing GLBLM. Add the pre and post interrupt service handler for mask and unmask the global interrupt mask bit (for step 1 and 3) as callback from regmap-irq. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/omap-usb.h')
0 files changed, 0 insertions, 0 deletions