[PATCH v2 12/14] pinctrl: qcs404: Enable I2C pinmux options

Sumit Garg
2023-02-01T14:06:57Z

Co-developed-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
---
arch/arm/mach-snapdragon/pinctrl-qcs404.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm/mach-snapdragon/pinctrl-qcs404.c b/arch/arm/mach-snapdragon/pinctrl-qcs404.c
index 5a7fbfd441..a6e53c4412 100644
--- a/arch/arm/mach-snapdragon/pinctrl-qcs404.c
+++ b/arch/arm/mach-snapdragon/pinctrl-qcs404.c
@@ -29,6 +29,12 @@ static const struct pinctrl_function msm_pinctrl_functions[] = {
{"rgmii_rx", 1},
{"rgmii_mdio", 1},
{"rgmii_mdc", 1},
+ {"blsp_i2c0", 3},
+ {"blsp_i2c1", 2},
+ {"blsp_i2c_sda_a2", 3},
+ {"blsp_i2c_scl_a2", 3},
+ {"blsp_i2c3", 2},
+ {"blsp_i2c4", 1},
};

static const char *qcs404_get_function_name(struct udevice *dev,
--
2.34.1