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'. Change-Id: I4958293d4694e5dbf09782508b58430b01cd3a35 Signed-off-by:Lee Jones <lee.jones@linaro.org> Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Git-commit: 4c0efbfb2669aa99e43e5deee30f39afd69cad65 Signed-off-by:
Mayank Grover <groverm@codeaurora.org>
Loading
Please register or sign in to comment