Commit 02738318 authored by Brian Masney's avatar Brian Masney Committed by Andrzej Hajda

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: default avatarBrian Masney <masneyb@onstation.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190815004854.19860-3-masneyb@onstation.org
parent 2fb658a6
...@@ -1302,6 +1302,7 @@ static const struct regmap_config anx78xx_regmap_config = { ...@@ -1302,6 +1302,7 @@ static const struct regmap_config anx78xx_regmap_config = {
}; };
static const u16 anx78xx_chipid_list[] = { static const u16 anx78xx_chipid_list[] = {
0x7808,
0x7812, 0x7812,
0x7814, 0x7814,
0x7818, 0x7818,
...@@ -1464,7 +1465,10 @@ MODULE_DEVICE_TABLE(i2c, anx78xx_id); ...@@ -1464,7 +1465,10 @@ MODULE_DEVICE_TABLE(i2c, anx78xx_id);
#if IS_ENABLED(CONFIG_OF) #if IS_ENABLED(CONFIG_OF)
static const struct of_device_id anx78xx_match_table[] = { static const struct of_device_id anx78xx_match_table[] = {
{ .compatible = "analogix,anx7808", },
{ .compatible = "analogix,anx7812", },
{ .compatible = "analogix,anx7814", }, { .compatible = "analogix,anx7814", },
{ .compatible = "analogix,anx7818", },
{ /* sentinel */ }, { /* sentinel */ },
}; };
MODULE_DEVICE_TABLE(of, anx78xx_match_table); MODULE_DEVICE_TABLE(of, anx78xx_match_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment