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:
@@ -44,6 +44,7 @@
|
|||||||
|
|
||||||
enum pmic_type {
|
enum pmic_type {
|
||||||
PM8350B = 1,
|
PM8350B = 1,
|
||||||
|
PM8550B = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@@ -693,12 +694,17 @@ static const struct of_device_id swr_haptics_match_table[] = {
|
|||||||
.compatible = "qcom,pm8350b-swr-haptics",
|
.compatible = "qcom,pm8350b-swr-haptics",
|
||||||
.data = (void *)PM8350B,
|
.data = (void *)PM8350B,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "qcom,pm8550b-swr-haptics",
|
||||||
|
.data = (void *)PM8550B,
|
||||||
|
},
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct swr_device_id swr_haptics_id[] = {
|
static const struct swr_device_id swr_haptics_id[] = {
|
||||||
{"swr-haptics", 0},
|
{"swr-haptics", 0},
|
||||||
{"pm8350b-swr-haptics", 0},
|
{"pm8350b-swr-haptics", 0},
|
||||||
|
{"pm8550b-swr-haptics", 0},
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user