Skip to content

Commit 1d71670

Browse files
wangbaolin719Lee Jones
authored andcommitted
mfd: sc27xx: Use SoC compatible string for PMIC devices
We should use SoC compatible string in stead of wildcard string for PMIC child devices. Fixes: 0419a75 (arm64: dts: sprd: Remove wildcard compatible string) Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent 20bb907 commit 1d71670

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

drivers/mfd/sprd-sc27xx-spi.c

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,67 +53,67 @@ static const struct sprd_pmic_data sc2731_data = {
5353
static const struct mfd_cell sprd_pmic_devs[] = {
5454
{
5555
.name = "sc27xx-wdt",
56-
.of_compatible = "sprd,sc27xx-wdt",
56+
.of_compatible = "sprd,sc2731-wdt",
5757
}, {
5858
.name = "sc27xx-rtc",
59-
.of_compatible = "sprd,sc27xx-rtc",
59+
.of_compatible = "sprd,sc2731-rtc",
6060
}, {
6161
.name = "sc27xx-charger",
62-
.of_compatible = "sprd,sc27xx-charger",
62+
.of_compatible = "sprd,sc2731-charger",
6363
}, {
6464
.name = "sc27xx-chg-timer",
65-
.of_compatible = "sprd,sc27xx-chg-timer",
65+
.of_compatible = "sprd,sc2731-chg-timer",
6666
}, {
6767
.name = "sc27xx-fast-chg",
68-
.of_compatible = "sprd,sc27xx-fast-chg",
68+
.of_compatible = "sprd,sc2731-fast-chg",
6969
}, {
7070
.name = "sc27xx-chg-wdt",
71-
.of_compatible = "sprd,sc27xx-chg-wdt",
71+
.of_compatible = "sprd,sc2731-chg-wdt",
7272
}, {
7373
.name = "sc27xx-typec",
74-
.of_compatible = "sprd,sc27xx-typec",
74+
.of_compatible = "sprd,sc2731-typec",
7575
}, {
7676
.name = "sc27xx-flash",
77-
.of_compatible = "sprd,sc27xx-flash",
77+
.of_compatible = "sprd,sc2731-flash",
7878
}, {
7979
.name = "sc27xx-eic",
80-
.of_compatible = "sprd,sc27xx-eic",
80+
.of_compatible = "sprd,sc2731-eic",
8181
}, {
8282
.name = "sc27xx-efuse",
83-
.of_compatible = "sprd,sc27xx-efuse",
83+
.of_compatible = "sprd,sc2731-efuse",
8484
}, {
8585
.name = "sc27xx-thermal",
86-
.of_compatible = "sprd,sc27xx-thermal",
86+
.of_compatible = "sprd,sc2731-thermal",
8787
}, {
8888
.name = "sc27xx-adc",
89-
.of_compatible = "sprd,sc27xx-adc",
89+
.of_compatible = "sprd,sc2731-adc",
9090
}, {
9191
.name = "sc27xx-audio-codec",
92-
.of_compatible = "sprd,sc27xx-audio-codec",
92+
.of_compatible = "sprd,sc2731-audio-codec",
9393
}, {
9494
.name = "sc27xx-regulator",
95-
.of_compatible = "sprd,sc27xx-regulator",
95+
.of_compatible = "sprd,sc2731-regulator",
9696
}, {
9797
.name = "sc27xx-vibrator",
98-
.of_compatible = "sprd,sc27xx-vibrator",
98+
.of_compatible = "sprd,sc2731-vibrator",
9999
}, {
100100
.name = "sc27xx-keypad-led",
101-
.of_compatible = "sprd,sc27xx-keypad-led",
101+
.of_compatible = "sprd,sc2731-keypad-led",
102102
}, {
103103
.name = "sc27xx-bltc",
104-
.of_compatible = "sprd,sc27xx-bltc",
104+
.of_compatible = "sprd,sc2731-bltc",
105105
}, {
106106
.name = "sc27xx-fgu",
107-
.of_compatible = "sprd,sc27xx-fgu",
107+
.of_compatible = "sprd,sc2731-fgu",
108108
}, {
109109
.name = "sc27xx-7sreset",
110-
.of_compatible = "sprd,sc27xx-7sreset",
110+
.of_compatible = "sprd,sc2731-7sreset",
111111
}, {
112112
.name = "sc27xx-poweroff",
113-
.of_compatible = "sprd,sc27xx-poweroff",
113+
.of_compatible = "sprd,sc2731-poweroff",
114114
}, {
115115
.name = "sc27xx-syscon",
116-
.of_compatible = "sprd,sc27xx-syscon",
116+
.of_compatible = "sprd,sc2731-syscon",
117117
},
118118
};
119119

0 commit comments

Comments
 (0)