diff options
author | Lee Jones <lee.jones@linaro.org> | 2019-06-10 09:42:08 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-12 09:12:49 +0200 |
commit | 4c0efbfb2669aa99e43e5deee30f39afd69cad65 (patch) | |
tree | 0ba0d492e10f06ac44834bdfa8fa94491f7e7b58 /include/linux/rwlock.h | |
parent | a188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff) |
pinctrl: msm: Add ability for drivers to supply a reserved GPIO list
When booting MSM based platforms with Device Tree or some ACPI
implementations, it is possible to provide a list of reserved pins
via the 'gpio-reserved-ranges' and 'gpios' properties respectively.
However some ACPI tables are not populated with this information,
thus it has to come from a knowledgable device driver instead.
Here we provide the MSM common driver with additional support to
parse this informtion and correctly populate the widely used
'valid_mask'.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/rwlock.h')
0 files changed, 0 insertions, 0 deletions