diff options
author | Brian Masney <masneyb@onstation.org> | 2019-08-15 03:48:45 +0300 |
---|---|---|
committer | Andrzej Hajda <a.hajda@samsung.com> | 2019-09-16 12:16:50 +0300 |
commit | 0273831882c5215f49628dcb3cb567b67cd7af39 (patch) | |
tree | ae99dba67e3e5aa229de3a3ff8a812bea131e74c /drivers/gpu/drm/bridge | |
parent | 2fb658a603bab4e41834a4f32475bbea9c01cf46 (diff) | |
download | linux-0273831882c5215f49628dcb3cb567b67cd7af39.tar.xz |
drm/bridge: analogix-anx78xx: add new variants
Add support for the 7808 variant. While we're here, the of match table
was missing support for the 7812 and 7818 variants, so add them as well.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190815004854.19860-3-masneyb@onstation.org
Diffstat (limited to 'drivers/gpu/drm/bridge')
-rw-r--r-- | drivers/gpu/drm/bridge/analogix-anx78xx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix-anx78xx.c index e3f4fd2a5ad4..898204b67d21 100644 --- a/drivers/gpu/drm/bridge/analogix-anx78xx.c +++ b/drivers/gpu/drm/bridge/analogix-anx78xx.c @@ -1302,6 +1302,7 @@ static const struct regmap_config anx78xx_regmap_config = { }; static const u16 anx78xx_chipid_list[] = { + 0x7808, 0x7812, 0x7814, 0x7818, @@ -1464,7 +1465,10 @@ MODULE_DEVICE_TABLE(i2c, anx78xx_id); #if IS_ENABLED(CONFIG_OF) static const struct of_device_id anx78xx_match_table[] = { + { .compatible = "analogix,anx7808", }, + { .compatible = "analogix,anx7812", }, { .compatible = "analogix,anx7814", }, + { .compatible = "analogix,anx7818", }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, anx78xx_match_table); |