• Laxman Dewangan's avatar
    mfd: palmas: Provide irq flags through DT/platform data · df545d1c
    Laxman Dewangan authored
    Currently driver sets the irq type to IRQF_TRIGGER_LOW which is
    causing interrupt registration failure in ARM based SoCs as:
    [    0.208479] genirq: Setting trigger mode 8 for irq 118 failed (gic_set_type+0x0/0xf0)
    [    0.208513] dummy 0-0059: Failed to request IRQ 118: -22
    
    Provide the irq flags through platform data if device is registered
    through board file or get the irq type from DT node property in place
    of hardcoding the irq flag in driver to support multiple platforms.
    
    Also configure the device to generate the interrupt signal according to
    flag type.
    Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    df545d1c
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...