[PATCH 0/3] [v11] pinctrl: qcom: add support for sparse GPIOs
From: Linus Walleij <hidden>
Date: 2017-12-21 12:11:15
Also in:
linux-arm-msm, linux-gpio
From: Linus Walleij <hidden>
Date: 2017-12-21 12:11:15
Also in:
linux-arm-msm, linux-gpio
Hi Timur, thank you for your perseverance. I am sorry that I am sometimes not fast to respond :( On Wed, Dec 20, 2017 at 8:10 PM, Timur Tabi [off-list ref] wrote:
Patch 1 reverts an old patch that triggers a get_direction of every pin upon init, without attempting to request the pins first. The direction is already being queried when the pin is requested. Patch 2 adds support to pinctrl-msm for "unavailable" GPIOs.
I have applied both of these to the pinctrl "devel" branch so we can see if all is fine. They have Stephen's ACK so I am happy with them, I am just still slightly worried about possible regressions because of patch 1.
Patch 3 extends that support to pinctrl-qdf2xxx. A recent ACPI change on QDF2400 platforms blocks access to most pins, so the driver can only register a subset.
I see this one is still under discussion. If nothing drastic happens with patch 1/2 in linux-next it should be fine if you just resend this single patch in subsequent submissions. I think it may be worthwhile to keep Andrew Cooks in the loop for future submissions as he's trying to solve similar problems for AMD. Yours, Linus Walleij