diff options
author | Lee Jones <lee.jones@linaro.org> | 2019-06-10 09:42:09 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-12 09:14:00 +0200 |
commit | a229105d7a1ee1f9e078afe44497cab482a8aba8 (patch) | |
tree | 712c97f0757b0f4f9d118b32ce63c154de4cd649 /drivers/pinctrl/qcom/Kconfig | |
parent | 4c0efbfb2669aa99e43e5deee30f39afd69cad65 (diff) | |
download | blackbird-op-linux-a229105d7a1ee1f9e078afe44497cab482a8aba8.tar.gz blackbird-op-linux-a229105d7a1ee1f9e078afe44497cab482a8aba8.zip |
pinctrl: qcom: sdm845: Provide ACPI support
This patch provides basic support for booting with ACPI instead
of the currently supported Device Tree. When doing so there are a
couple of differences which we need to taken into consideration.
Firstly, the SDM850 ACPI tables omit information pertaining to the
4 reserved GPIOs on the platform. If Linux attempts to touch/
initialise any of these lines, the firmware will restart the
platform.
Secondly, when booting with ACPI, it is expected that the firmware
will set-up things like; Regulators, Clocks, Pin Functions, etc in
their ideal configuration. Thus, the possible Pin Functions
available to this platform are not advertised when providing the
higher GPIOD/Pinctrl APIs with pin information.
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 'drivers/pinctrl/qcom/Kconfig')
-rw-r--r-- | drivers/pinctrl/qcom/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index 2e66ab72c10b..aafbe932424f 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -168,7 +168,7 @@ config PINCTRL_SDM660 config PINCTRL_SDM845 tristate "Qualcomm Technologies Inc SDM845 pin controller driver" - depends on GPIOLIB && OF + depends on GPIOLIB && (OF || ACPI) select PINCTRL_MSM help This is the pinctrl, pinmux, pinconf and gpiolib driver for the |