aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
diff options
context:
space:
mode:
authorTimur Tabi <timur@codeaurora.org>2018-04-25 17:43:27 -0500
committerLinus Walleij <linus.walleij@linaro.org>2018-05-02 14:36:08 +0200
commite5080990849954aaba0e19bf6220b9855faef3b4 (patch)
tree7114a576c89f4504008fa21b3a1f3d2e6d52fae6 /Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt
parentpinctrl: qcom: remove static globals to allow multiple TLMMs (diff)
downloadlinux-dev-e5080990849954aaba0e19bf6220b9855faef3b4.tar.xz
linux-dev-e5080990849954aaba0e19bf6220b9855faef3b4.zip
pinctrl: qcom: qdf2xxx: add support for new ACPI HID QCOM8002
Newer versions of the firmware for the Qualcomm Datacenter Technologies QDF2400 restricts access to a subset of the GPIOs on the TLMM. To prevent older kernels from accidentally accessing the restricted GPIOs, we change the ACPI HID for the TLMM block from QCOM8001 to QCOM8002, and introduce a new property "gpios". This property is an array of specific GPIOs that are accessible. When an older kernel boots on newer (restricted) firmware, it will fail to probe. To implement the sparse GPIO map, we register all of the GPIOs, but fill in the data only for available GPIOs. This ensures that the driver cannot accidentally access an unavailable GPIO. The pinctrl-msm driver also scans the "gpios" property to determine which pins are available, and ensure that only those can be registered. Support for QCOM8001 is removed as there is no longer any firmware that implements it. Signed-off-by: Timur Tabi <timur@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/brcm,bcm2835-gpio.txt')
0 files changed, 0 insertions, 0 deletions