提交 e653312b 编写于 作者: J Jonathan Marek 提交者: Wolfram Sang

i2c: qcom-cci: add sm8250 compatible

SM8250 CCI is the same as SDM845, add an equivalent compatible for SM8250.
Signed-off-by: NJonathan Marek <jonathan@marek.ca>
Reviewed-by: NLoic Poulain <loic.poulain@linaro.org>
Reviewed-by: NVinod Koul <vkoul@kernel.org>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NWolfram Sang <wsa@kernel.org>
上级 469668a5
...@@ -9,6 +9,7 @@ PROPERTIES: ...@@ -9,6 +9,7 @@ PROPERTIES:
"qcom,msm8916-cci" "qcom,msm8916-cci"
"qcom,msm8996-cci" "qcom,msm8996-cci"
"qcom,sdm845-cci" "qcom,sdm845-cci"
"qcom,sm8250-cci"
- reg - reg
Usage: required Usage: required
...@@ -41,8 +42,8 @@ PROPERTIES: ...@@ -41,8 +42,8 @@ PROPERTIES:
SUBNODES: SUBNODES:
The CCI provides I2C masters for one (msm8916) or two i2c busses (msm8996 and The CCI provides I2C masters for one (msm8916) or two i2c busses (msm8996,
sdm845), described as subdevices named "i2c-bus@0" and "i2c-bus@1". sdm845 and sm8250), described as subdevices named "i2c-bus@0" and "i2c-bus@1".
PROPERTIES: PROPERTIES:
......
...@@ -769,6 +769,7 @@ static const struct of_device_id cci_dt_match[] = { ...@@ -769,6 +769,7 @@ static const struct of_device_id cci_dt_match[] = {
{ .compatible = "qcom,msm8916-cci", .data = &cci_v1_data}, { .compatible = "qcom,msm8916-cci", .data = &cci_v1_data},
{ .compatible = "qcom,msm8996-cci", .data = &cci_v2_data}, { .compatible = "qcom,msm8996-cci", .data = &cci_v2_data},
{ .compatible = "qcom,sdm845-cci", .data = &cci_v2_data}, { .compatible = "qcom,sdm845-cci", .data = &cci_v2_data},
{ .compatible = "qcom,sm8250-cci", .data = &cci_v2_data},
{} {}
}; };
MODULE_DEVICE_TABLE(of, cci_dt_match); MODULE_DEVICE_TABLE(of, cci_dt_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册