swr-haptics: Add new compatible string for Kalama target

Add new pmic soundwire haptics compatible string for
Kalama target.

Change-Id: I7c3f85b90176633fb0117577fd97193d929f6452
This commit is contained in:
Phani Kumar Uppalapati
2022-02-16 13:09:42 -08:00
parent 110af4933f
commit f5d67429ea

View File

@@ -44,6 +44,7 @@
enum pmic_type {
PM8350B = 1,
PM8550B = 2,
};
enum {
@@ -693,12 +694,17 @@ static const struct of_device_id swr_haptics_match_table[] = {
.compatible = "qcom,pm8350b-swr-haptics",
.data = (void *)PM8350B,
},
{
.compatible = "qcom,pm8550b-swr-haptics",
.data = (void *)PM8550B,
},
{ },
};
static const struct swr_device_id swr_haptics_id[] = {
{"swr-haptics", 0},
{"pm8350b-swr-haptics", 0},
{"pm8550b-swr-haptics", 0},
{},
};