diff options
author | Akhil R <akhilrajeev@nvidia.com> | 2022-01-28 17:14:25 +0530 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-01-28 21:55:35 +0100 |
commit | ca0acb511c21738b32386ce0f85c284b351d919e (patch) | |
tree | eca32e8bc4910a70b38f98fe8d5dfe1cb9d68931 /drivers/usb/cdns3/cdns3-plat.c | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) |
device property: Add fwnode_irq_get_byname
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: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions