[PATCH] drm/bridge/analogix/anx78xx: Add missing definition
Robert Foss
rfoss at kernel.org
Mon Sep 18 10:07:30 UTC 2023
On Sat, Sep 9, 2023 at 4:43 AM Alicja Michalska <ahplka19 at gmail.com> wrote:
>
> Analogix ANX78XX driver is missing definitions for anx7816.
> It uses the same I2C register set as anx7818.
>
> Signed-off-by: Alicja Michalska <ahplka19 at gmail.com>
> ---
> drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c
> index 800555aef97f..1ce4acc01bf3 100644
> --- a/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c
> +++ b/drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c
> @@ -1211,6 +1211,7 @@ static const u16 anx78xx_chipid_list[] = {
> 0x7808,
> 0x7812,
> 0x7814,
> + 0x7816,
> 0x7818,
> };
>
> @@ -1377,6 +1378,7 @@ static const struct of_device_id anx78xx_match_table[] = {
> { .compatible = "analogix,anx7808", .data = anx7808_i2c_addresses },
> { .compatible = "analogix,anx7812", .data = anx781x_i2c_addresses },
> { .compatible = "analogix,anx7814", .data = anx781x_i2c_addresses },
> + { .compatible = "analogix,anx7816", .data = anx781x_i2c_addresses },
> { .compatible = "analogix,anx7818", .data = anx781x_i2c_addresses },
> { /* sentinel */ },
> };
This compatible string needs to be added to
Documentation/devicetree/bindings/ in a separate patch before this
one.
Rob.
More information about the dri-devel
mailing list