diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-07 13:11:47 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-17 14:32:24 +0800 |
commit | 4ebc940b39b6a43de9d1fa74653321cd6fdb4d3a (patch) | |
tree | 879e368605d9dae2a7cf4ba960711554c9b28eba /drivers/rtc/sandbox_rtc.c | |
parent | a9e0a077df5509c3d4b49e745c746c38a4f9a7a1 (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>
Diffstat (limited to 'drivers/rtc/sandbox_rtc.c')
0 files changed, 0 insertions, 0 deletions