Message ID | 20200623025106.31273-10-afaerber@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: Realtek DHC SoC info | expand |
Hi Andreas, This patch is ok in my platform. > -----Original Message----- > From: Andreas Färber [mailto:afaerber@suse.de] > Sent: Tuesday, June 23, 2020 10:51 AM > To: linux-realtek-soc@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org; linux-kernel@vger.kernel.org; James > Tai [戴志峰]; Stanley Chang[昌育德]; Edgar Lee [李承諭]; Andreas Färber > Subject: [PATCH v2 09/29] soc: realtek: chip: Add RTD1395 info > > 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> Tested-by: Stanley Chang <stanley_chang@realtek.com> Reviewed-by: Stanley Chang <stanley_chang@realtek.com> Thanks, Stanley
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)
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(+)