On Thu, Mar 11, 2021 at 3:41 AM Shawn Guo [off-list ref] wrote:
It adds ACPI probe support for pinctrl-sc8180x driver. We have one
problem with ACPI table, i.e. GIO0 (TLMM) block has one single memory
resource to cover 3 tiles defined by SC8180X. To follow the hardware
layout of 3 tiles which is already supported DT probe, it adds one
function to replace the original single memory resource with 3 named
ones for tiles. With that, We can map memory for ACPI in the same way
as DT.
Signed-off-by: Shawn Guo <redacted>
---
Changes for v5:
- Keep .ngpios number as 190 to match SoC spec.
- Add comments for sc8180x_pinctrl_add_tile_resources().
- Drop redundant error message.
This v5 version applied!
Thanks for your perseverance and excellent work as always Shawn!
Special thanks to Andy for helping out in getting all ACPI details right!
Yours,
Linus Walleij