lkml.org 
[lkml]   [2020]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 09/29] soc: realtek: chip: Add RTD1395 info
Date
Chip ID from BPi-M4.
Revisions based on downstream drivers/soc/realtek/rtd139x/rtk_chip.c.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
v2: New

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

diff --git a/drivers/soc/realtek/chip.c b/drivers/soc/realtek/chip.c
index 32ed0e4a3646..aa7ca6bb1e64 100644
--- a/drivers/soc/realtek/chip.c
+++ b/drivers/soc/realtek/chip.c
@@ -46,6 +46,13 @@ static const struct dhc_soc_revision rtd1295_revisions[] = {
{ }
};

+static const struct dhc_soc_revision rtd1395_revisions[] = {
+ { "A00", 0x0000 },
+ { "A01", 0x0001 },
+ { "A02", 0x0002 },
+ { }
+};
+
struct dhc_soc {
u16 chip_id;
const char *family;
@@ -88,6 +95,7 @@ static const char *rtd1295_name(struct device *dev, const struct dhc_soc *s)
static const struct dhc_soc dhc_soc_families[] = {
{ 0x6329, "RTD1195", default_name, rtd1195_revisions, "Phoenix" },
{ 0x6421, "RTD1295", rtd1295_name, rtd1295_revisions, "Kylin" },
+ { 0x6481, "RTD1395", default_name, rtd1395_revisions, "Hercules" },
};

static const struct dhc_soc *dhc_soc_by_chip_id(u16 chip_id)
--
2.26.2
\
 
 \ /
  Last update: 2020-06-23 04:52    [W:0.173 / U:6.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site