i2c: qcom-cci: Add MSM8226 compatible
authorRayyan Ansari <rayyan@ansari.sh>
Sun, 2 Oct 2022 12:28:56 +0000 (15:28 +0300)
committerWolfram Sang <wsa@kernel.org>
Wed, 5 Oct 2022 18:56:52 +0000 (20:56 +0200)
Add a compatible for MSM8226's Camera Control Interface, which is
similar to the one used on MSM8916.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-qcom-cci.c

index ea48e6a..87739fb 100644 (file)
@@ -807,6 +807,7 @@ static const struct cci_data cci_v2_data = {
 };
 
 static const struct of_device_id cci_dt_match[] = {
+       { .compatible = "qcom,msm8226-cci", .data = &cci_v1_data},
        { .compatible = "qcom,msm8916-cci", .data = &cci_v1_data},
        { .compatible = "qcom,msm8974-cci", .data = &cci_v1_5_data},
        { .compatible = "qcom,msm8996-cci", .data = &cci_v2_data},