Re: [PATCH v1 4/6] i2c: qcom-cci: Add MSM8226 compatible

From: Loic Poulain
Date: Sun Oct 02 2022 - 09:19:40 EST


On Sun, 2 Oct 2022 at 14:29, Matti Lehtimäki <matti.lehtimaki@xxxxxxxxx> wrote:
>
> From: Rayyan Ansari <rayyan@xxxxxxxxx>
>
> Add a compatible for MSM8226's Camera Control Interface, which is
> similar to the one used on MSM8916.
>
> Signed-off-by: Rayyan Ansari <rayyan@xxxxxxxxx>
> Signed-off-by: Matti Lehtimäki <matti.lehtimaki@xxxxxxxxx>

Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>

> ---
> drivers/i2c/busses/i2c-qcom-cci.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/i2c/busses/i2c-qcom-cci.c b/drivers/i2c/busses/i2c-qcom-cci.c
> index ea48e6a9cfca..87739fb4388b 100644
> --- a/drivers/i2c/busses/i2c-qcom-cci.c
> +++ b/drivers/i2c/busses/i2c-qcom-cci.c
> @@ -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},
> --
> 2.34.1
>