[PATCH 2/2] [v2] pinctrl: qcom: qdf2xxx: expose only some GPIO pins

Timur Tabi timur at codeaurora.org
Mon Jul 3 13:21:42 PDT 2017


On Jun 29, 2017, at 8:42 PM, Timur Tabi wrote:

> On Qualcomm Technologies QDF2xxx platforms, only a subset of the GPIOs
> are actually available to the HLOS.  The others are blocked by the XPU,
> and any attempt to access them will cause an XPU violation that halts
> the system.
> 
> Instead, the ACPI table now lists only specific GPIOs that are exposed
> externally as generic GPIO pins.  The full list of GPIOs is still
> registered, but the pin count for the unavailable GPIOs is set to zero.
> The pinctrl-msm driver will block those unavailable GPIOs from being
> accessed.

Please do not apply this patchset just yet.  

We are considering assigning a new ACPI HID for this change, so that we don't accidentally cause XPU violations when someone uses an old kernel with new firmware.  However, with everyone on vacation this week, many of the stakeholders are not available for discussions.

I'm still interested in reviews on this patchset though.




More information about the linux-arm-kernel mailing list