[PATCH v2 13/29] soc: realtek: chip: Add RTD1319 info

From: Andreas FÃrber
Date: Mon Jun 22 2020 - 22:53:21 EST


Revision based on downstream drivers/soc/realtek/rtd13xx/rtk_chip.c.

Signed-off-by: Stanley Chang <stanley_chang@xxxxxxxxxxx>
Signed-off-by: Andreas FÃrber <afaerber@xxxxxxx>
---
v2: New
* Filled in chip ID based on Stanley's v1

drivers/soc/realtek/chip.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/soc/realtek/chip.c b/drivers/soc/realtek/chip.c
index e3220187e336..ae7c5322f338 100644
--- a/drivers/soc/realtek/chip.c
+++ b/drivers/soc/realtek/chip.c
@@ -59,6 +59,11 @@ static const struct dhc_soc_revision rtd1619_revisions[] = {
{ }
};

+static const struct dhc_soc_revision rtd1319_revisions[] = {
+ { "A00", 0x0000 },
+ { }
+};
+
struct dhc_soc {
u16 chip_id;
const char *family;
@@ -103,6 +108,7 @@ static const struct dhc_soc dhc_soc_families[] = {
{ 0x6421, "RTD1295", rtd1295_name, rtd1295_revisions, "Kylin" },
{ 0x6481, "RTD1395", default_name, rtd1395_revisions, "Hercules" },
{ 0x6525, "RTD1619", default_name, rtd1619_revisions, "Thor" },
+ { 0x6570, "RTD1319", default_name, rtd1319_revisions, "Hank" },
};

static const struct dhc_soc *dhc_soc_by_chip_id(u16 chip_id)
--
2.26.2