Register the Nuvoton MA35D1 DCUltraLite chip identity in
vs_chip_identities[]:
  model      = 0x0   (DCUltraLite; Verisilicon uses 0 for this IP)
  revision   = 0x5560
  customer_id = 0x305
  generation = VSDC_GEN_DC8000
  display_count = 1
  max_cursor_size = 32

Placing this entry last makes it the gate that enables MA35D1 hardware
recognition only after all the supporting ops and DTS changes are in
place.

Signed-off-by: Joey Lu <[email protected]>
---
 drivers/gpu/drm/verisilicon/vs_hwdb.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/verisilicon/vs_hwdb.c 
b/drivers/gpu/drm/verisilicon/vs_hwdb.c
index 91524d16f778..7d630a667a3f 100644
--- a/drivers/gpu/drm/verisilicon/vs_hwdb.c
+++ b/drivers/gpu/drm/verisilicon/vs_hwdb.c
@@ -129,6 +129,16 @@ static struct vs_chip_identity vs_chip_identities[] = {
                .max_cursor_size = 64,
                .formats = &vs_formats_no_yuv444,
        },
+       {
+               .model = 0x0,           /* DCUltraLite */
+               .revision = 0x5560,
+               .customer_id = 0x305,
+
+               .generation = VSDC_GEN_DC8000,
+               .display_count = 1,
+               .max_cursor_size = 32,
+               .formats = &vs_formats_no_yuv444,
+       },
 };
 
 int vs_fill_chip_identity(struct regmap *regs,
-- 
2.43.0

Reply via email to