ipq807x: add Qualcomm Atheros IPQ807x target
[openwrt/staging/noltari.git] / target / linux / ipq807x / patches-5.15 / 0060-v6.1-mfd-qcom-spmi-pmic-Add-support-for-PMP8074.patch
1 From 46878413ba10170aaa9b7c797816e928a11923e3 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Fri, 19 Aug 2022 00:18:12 +0200
4 Subject: [PATCH] mfd: qcom-spmi-pmic: Add support for PMP8074
5
6 Add support for PMP8074 PMIC which is a companion PMIC for the Qualcomm
7 IPQ8074 SoC-s.
8
9 It shares the same subtype identifier as PM8901.
10
11 Signed-off-by: Robert Marko <robimarko@gmail.com>
12 Signed-off-by: Lee Jones <lee@kernel.org>
13 Link: https://lore.kernel.org/r/20220818221815.346233-2-robimarko@gmail.com
14 ---
15 drivers/mfd/qcom-spmi-pmic.c | 1 +
16 1 file changed, 1 insertion(+)
17
18 --- a/drivers/mfd/qcom-spmi-pmic.c
19 +++ b/drivers/mfd/qcom-spmi-pmic.c
20 @@ -60,6 +60,7 @@ static const struct of_device_id pmic_sp
21 { .compatible = "qcom,pmi8994", .data = N_USIDS(2) },
22 { .compatible = "qcom,pmi8998", .data = N_USIDS(2) },
23 { .compatible = "qcom,pmk8002", .data = N_USIDS(2) },
24 + { .compatible = "qcom,pmp8074", .data = N_USIDS(2) },
25 { .compatible = "qcom,smb2351", .data = N_USIDS(2) },
26 { .compatible = "qcom,spmi-pmic", .data = N_USIDS(1) },
27 { }