hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mfd/qcom-spmi-pmic.c
....@@ -1,14 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (c) 2014, The Linux Foundation. All rights reserved.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of the GNU General Public License version 2 and
6
- * only version 2 as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 */
135
146 #include <linux/kernel.h>
....@@ -39,6 +31,8 @@
3931 #define PM8916_SUBTYPE 0x0b
4032 #define PM8004_SUBTYPE 0x0c
4133 #define PM8909_SUBTYPE 0x0d
34
+#define PM8950_SUBTYPE 0x10
35
+#define PMI8950_SUBTYPE 0x11
4236 #define PM8998_SUBTYPE 0x14
4337 #define PMI8998_SUBTYPE 0x15
4438 #define PM8005_SUBTYPE 0x18
....@@ -58,6 +52,8 @@
5852 { .compatible = "qcom,pm8916", .data = (void *)PM8916_SUBTYPE },
5953 { .compatible = "qcom,pm8004", .data = (void *)PM8004_SUBTYPE },
6054 { .compatible = "qcom,pm8909", .data = (void *)PM8909_SUBTYPE },
55
+ { .compatible = "qcom,pm8950", .data = (void *)PM8950_SUBTYPE },
56
+ { .compatible = "qcom,pmi8950", .data = (void *)PMI8950_SUBTYPE },
6157 { .compatible = "qcom,pm8998", .data = (void *)PM8998_SUBTYPE },
6258 { .compatible = "qcom,pmi8998", .data = (void *)PMI8998_SUBTYPE },
6359 { .compatible = "qcom,pm8005", .data = (void *)PM8005_SUBTYPE },