kernel_samsung_a53x/drivers/platform/x86
Andy Shevchenko 309d5310c3 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device
[ Upstream commit 9b79d59e6b2b515eb9a22bc469ef7b8f0904fc73 ]

While design wise the idea of converting the driver to use
the hierarchy of the IRQ chips is correct, the implementation
has (inherited) flaws. This was unveiled when platform_get_irq()
had started WARN() on IRQ 0 that is supposed to be a Linux
IRQ number (also known as vIRQ).

Rework the driver to respect IRQ domain when creating each MFD
device separately, as the domain is not the same for all of them.

Fixes: 957ae5098185 ("platform/x86: Add Whiskey Cove PMIC TMU support")
Fixes: 57129044f504 ("mfd: intel_soc_pmic_bxtwc: Use chained IRQs for second level IRQ chips")
Reported-by: Zhang Ning <zhangn1985@outlook.com>
Closes: https://lore.kernel.org/r/TY2PR01MB3322FEDCDC048B7D3794F922CDBA2@TY2PR01MB3322.jpnprd01.prod.outlook.com
Tested-by: Zhang Ning <zhangn1985@outlook.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241005193029.1929139-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:08 +01:00
..
intel_speed_select_if Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acer-wireless.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acer-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acerhdf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
alienware-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amilo-rfkill.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
apple-gmux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asus-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asus-nb-wmi.c platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code 2024-11-18 12:11:27 +01:00
asus-wireless.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
asus-wmi.c platform/x86: asus-wmi: Fix kbd_dock_devid tablet-switch reporting 2024-11-18 12:11:47 +01:00
asus-wmi.h platform/x86: asus-wmi: Add support for ROG X13 tablet mode 2024-11-18 12:11:27 +01:00
classmate-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
compal-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcdbas.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dcdbas.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-rbtn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-rbtn.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-smbios-base.c platform/x86: dell-smbios: Fix error path in dell_smbios_init() 2024-11-23 23:21:04 +01:00
dell-smbios-smm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-smbios-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-smbios.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-smo8800.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-wmi-aio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-wmi-descriptor.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-wmi-descriptor.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-wmi-led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dell_rbu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eeepc-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eeepc-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fujitsu-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fujitsu-tablet.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpd-pocket-fan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hdaps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp-wireless.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hp_accel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
huawei-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-multi-instantiate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ibm_rtl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ideapad-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-hid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-rst.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-smartconnect.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-uncore-frequency.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-vbtn.c platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC 2024-11-18 22:25:36 +01:00
intel-wmi-sbl-fw-update.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel-wmi-thunderbolt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_atomisp2_led.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_atomisp2_pm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_bxtwc_tmu.c mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device 2024-12-17 13:24:08 +01:00
intel_cht_int33fe_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_cht_int33fe_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_cht_int33fe_microb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_cht_int33fe_typec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_chtdc_ti_pwrbtn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_int0002_vgpio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_ips.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_ips.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_menlow.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_mid_powerbtn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_mid_thermal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_mrfld_pwrbtn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_oaktrail.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pmc_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pmc_core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_pmc_core_pltdrv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_punit_ipc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_scu_ipc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_scu_ipcutil.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_scu_pcidrv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_scu_pltdrv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_telemetry_core.c platform/x86: intel_telemetry: Fix kernel doc descriptions 2024-11-18 12:11:56 +01:00
intel_telemetry_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_telemetry_pltdrv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
intel_turbo_max_3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code 2024-11-18 12:11:27 +01:00
lg-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mlx-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mxm-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
panasonic-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcengines-apuv2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
peaq-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmc_atom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
samsung-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
samsung-q10.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sony-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
surface3-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
surface3_button.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
surface3_power.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
surfacepro3_button.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
system76_acpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc1100-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
thinkpad_acpi.c platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e 2024-11-18 11:43:12 +01:00
topstar-laptop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
toshiba-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
toshiba_acpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
toshiba_bluetooth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
toshiba_haps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
touchscreen_dmi.c platform/x86: touchscreen_dmi: add nanote-next quirk 2024-11-23 23:21:40 +01:00
wmi-bmof.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wmi.c platform/x86: wmi: Fix opening of char device 2024-11-18 11:42:54 +01:00
xiaomi-wmi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xo1-rfkill.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xo15-ebook.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00