mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() The Crystal Cove PMIC has a pin which can be used to connect the IRQ of an external charger IC. On some boards this is used so we need a way to look this up. Note that the Intel PMICs have 2 levels of interrupts and thus 2 levels of IRQ domains all tied to a single fwnode. Level 1 is the irqchip which demultiplexes the actual PMIC interrupt into interrupts for the various MFD cells. Level 2 are the irqchips used in the cell drivers which themselves export IRQs, such as the crystal_cove_gpio driver, which de-multiplexes the level 2 interrupts for the GPIOs into individual per GPIO IRQs. The crystal_cove_charger driver registers an irqchip with a single IRQ for the charger driver to consume. Note the MFD cell IRQ cannot be consumed directly because the level 2 interrupts must be explicitly acked. To allow finding the right IRQ domain when looking up the IRQ for the charger, the crystal_cove_charger driver sets a DOMAIN_BUS_WIRED token on its IRQ domain. Add support for looking up the IRQ from the crystal_cove_charger driver. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20211229231431.437982-6-hdegoede@redhat.com |
||
---|---|---|
.. | ||
dell | ||
intel | ||
acer-wireless.c | ||
acer-wmi.c | ||
acerhdf.c | ||
adv_swbutton.c | ||
amd-pmc.c | ||
amilo-rfkill.c | ||
apple-gmux.c | ||
asus-laptop.c | ||
asus-nb-wmi.c | ||
asus-wireless.c | ||
asus-wmi.c | ||
asus-wmi.h | ||
barco-p50-gpio.c | ||
classmate-laptop.c | ||
compal-laptop.c | ||
dual_accel_detect.h | ||
eeepc-laptop.c | ||
eeepc-wmi.c | ||
firmware_attributes_class.c | ||
firmware_attributes_class.h | ||
fujitsu-laptop.c | ||
fujitsu-tablet.c | ||
gigabyte-wmi.c | ||
gpd-pocket-fan.c | ||
hdaps.c | ||
hp-wmi.c | ||
hp_accel.c | ||
huawei-wmi.c | ||
i2c-multi-instantiate.c | ||
ibm_rtl.c | ||
ideapad-laptop.c | ||
intel_ips.c | ||
intel_ips.h | ||
intel_scu_ipc.c | ||
intel_scu_ipcutil.c | ||
intel_scu_pcidrv.c | ||
intel_scu_pltdrv.c | ||
intel_scu_wdt.c | ||
Kconfig | ||
lenovo-yogabook-wmi.c | ||
lg-laptop.c | ||
Makefile | ||
meraki-mx100.c | ||
mlx-platform.c | ||
msi-laptop.c | ||
msi-wmi.c | ||
mxm-wmi.c | ||
nvidia-wmi-ec-backlight.c | ||
panasonic-laptop.c | ||
pcengines-apuv2.c | ||
peaq-wmi.c | ||
pmc_atom.c | ||
samsung-laptop.c | ||
samsung-q10.c | ||
simatic-ipc.c | ||
sony-laptop.c | ||
system76_acpi.c | ||
tc1100-wmi.c | ||
think-lmi.c | ||
think-lmi.h | ||
thinkpad_acpi.c | ||
topstar-laptop.c | ||
toshiba-wmi.c | ||
toshiba_acpi.c | ||
toshiba_bluetooth.c | ||
toshiba_haps.c | ||
touchscreen_dmi.c | ||
uv_sysfs.c | ||
wireless-hotkey.c | ||
wmi-bmof.c | ||
wmi.c | ||
x86-android-tablets.c | ||
xiaomi-wmi.c | ||
xo1-rfkill.c | ||
xo15-ebook.c |