Skip to contentSkip to conversation

drm/bridge/analogix/anx78xx: Add missing definition

PATCH Applied Alicja Michalska 2 participants 4 messages Sep 9, 2023 – Sep 20, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 800555aef97f..1ce4acc01bf3 100644
@@ -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
maintainer
#1 lore raw
Quoted 22 lines · Alicja Michalska

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 +1 -0
index 800555aef97f..1ce4acc01bf3 100644
@@ -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.

#2 lore raw

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 to Documentation/devicetree/bindings/ in a separate patch before this one.

Rob.