msm_gpio: Add support for Qualcomm IPQ40xx

Snapdragon SoCs and IPQ40xx use common TLMM IP,
so existing driver supports IPQ40xx as well.

So lets simply add a compatible for IPQ40xx.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-By: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
Robert Marko 2020-07-06 10:37:56 +02:00 committed by Tom Rini
parent 185dcf7f56
commit 0c7eb6e525
2 changed files with 3 additions and 1 deletions

View file

@ -1,7 +1,8 @@
Qualcomm Snapdragon GPIO controller Qualcomm Snapdragon GPIO controller
Required properties: Required properties:
- compatible : "qcom,msm8916-pinctrl" or "qcom,apq8016-pinctrl" - compatible : "qcom,msm8916-pinctrl", "qcom,apq8016-pinctrl" or
"qcom,ipq4019-pinctrl"
- reg : Physical base address and length of the controller's registers. - reg : Physical base address and length of the controller's registers.
This controller is called "Top Level Mode Multiplexing" in This controller is called "Top Level Mode Multiplexing" in
Qualcomm documentation. Qualcomm documentation.

View file

@ -118,6 +118,7 @@ static int msm_gpio_ofdata_to_platdata(struct udevice *dev)
static const struct udevice_id msm_gpio_ids[] = { static const struct udevice_id msm_gpio_ids[] = {
{ .compatible = "qcom,msm8916-pinctrl" }, { .compatible = "qcom,msm8916-pinctrl" },
{ .compatible = "qcom,apq8016-pinctrl" }, { .compatible = "qcom,apq8016-pinctrl" },
{ .compatible = "qcom,ipq4019-pinctrl" },
{ } { }
}; };