drm/bridge/analogix/anx78xx: Add missing definition
Subsystems (3)
PATCH 1/1 drm/bridge/analogix/anx78xx: Add missing definition
Analogix ANX78XX driver is missing definitions for anx7816. It uses the same I2C register set as anx7818.
--- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +2 -0
@@ -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 */ }, };
Signature · 1 line
2.41.0
Robert Foss
maintainerQuoted 22 lines · Alicja Michalska
Analogix ANX78XX driver is missing definitions for anx7816. It uses the same I2C register set as anx7818.
Signed-off-by Alicja Michalska <[email protected]>--- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +1
-0@@ -1211,6 +1211,7 @@ static const u16 anx78xx_chipid_list[] = {0x7808 ,0x7812 ,0x7814 , +0x7816 , 0x7818, };
drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c static const struct of_device_id anx78xx_match_table[] = { · line 1384
Quoted 7 lines
drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c +1
-0@@ -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.
Oops, my bad. I'm new to ARM development, so I forgot to update dt-bindings.
You should see a patch dropping soon (or already did), although I decided to move to a new email address (which hopefully shouldn't cause any issues).
Quoted 7 lines · Robert Foss
On Sat, Sep 9, 2023 at 4:43 AM Alicja Michalska <[email protected]> wrote:
This compatible string needs to be added toDocumentation/devicetree/bindings/in a separate patch before this one.Rob.
Quoted 4 lines · Alicja Michalska
Analogix ANX78XX driver is missing definitions for anx7816. It uses the same I2C register set as anx7818.
Applied, thanks!
[1/1] drm/bridge/analogix/anx78xx: Add missing definition
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=bb9fb4a42de1
Rob