commit | e2bbb135dc3f55a79987739bdb9c2fe86fecc937 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jul 07 13:11:47 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Fri Jul 17 14:32:24 2020 +0800 |
tree | 879e368605d9dae2a7cf4ba960711554c9b28eba | |
parent | 4fa6331b2a62a11e6004d7d9c014f1205825e349 [diff] |
acpi: Support generation of a GPIO/irq for a device Some devices use interrupts but some use GPIOs. Since these are fully specified in the device tree we can automatically produce the correct ACPI descriptor for a device. Add a function to handle this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>