Commit c15e2ab4 authored by Akhil R's avatar Akhil R Committed by Greg Kroah-Hartman
Browse files

device property: Add fwnode_irq_get_byname



[ Upstream commit ca0acb51 ]

Add fwnode_irq_get_byname() to get an interrupt by name from either
ACPI table or Device Tree, whichever is used for enumeration.

In the ACPI case, this allow us to use 'interrupt-names' in
_DSD which can be mapped to Interrupt() resource by index.
The implementation is similar to 'interrupt-names' in the
Device Tree.

Signed-off-by: default avatarAkhil R <akhilrajeev@nvidia.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Stable-dep-of: 8d3cefaf ("i2c: core: Lock address during client device instantiation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bf36521e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment