diff options
author | Furquan Shaikh <furquan@chromium.org> | 2016-10-20 16:01:04 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-10-25 00:09:19 +0200 |
commit | 626ad205a7781eb13b3d9156d7c01f4aacfcbad5 (patch) | |
tree | 89dc0583f3dd9aa0d77574a2da84c13ad20ab2cb /src/mainboard/ibase | |
parent | f5f0b7b71a450dd87e6e477cf53417c7c8d68ad2 (diff) |
drivers/i2c/generic: Enable support for adding PowerResource for device
Add support to allow a device to define PowerResource in its SSDT AML
code. PowerResouce ACPI generation expects SoC to define the
callbacks for generating AML code for GPIO manipulation.
Device requiring PowerResource needs to define following parameters:
1. Reset GPIO - Optional, GPIO to put device into reset or take it out
of reset.
2. Reset delay - Delay after reset GPIO is de-asserted (default 0).
3. Enable GPIO - Optional, GPIO to enabled device.
4. Enable delay - Delay after enable GPIO is asserted (default 0).
BUG=chrome-os-partner:55988
Change-Id: Ieb2dd95fc1f555f5de66f3dda425172ac5b75dad
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17081
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/ibase')
0 files changed, 0 insertions, 0 deletions