From patchwork Tue Jun 23 02:50:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 11619657 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BCE976C1 for ; Tue, 23 Jun 2020 03:03:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 94CAD20786 for ; Tue, 23 Jun 2020 03:03:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AChqwId8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="YH4y9hk1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 94CAD20786 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9nBLjDBp8UW07sYEZWR/rxG34Y5ojV4ioE9QlzefhXQ=; b=AChqwId8Db1j8q3KecAbpsr2I bXOyuZk/2eJzJBOUjBaP9YcOY5j+UnXRYm20Ulep3uD19pkdRIzLAiGLzmv9RJPi3DAed+OHQqrnU SU0Ctx5pPj7JWFIv74b2yOluu3D0DtQOmuC+WBPvKWHEBq2Lw8HeTv3REV4zZ5sIATAZtrBiUV0bA bky66DaRTCMbL70i1xYdPRxQFAUoFaePis5Qai1d5ds+KZHPC92jRQHVcCFg5VUR9afGJCUqqIaKf XAzRLLxjcPaoLLHh4HAVVBZi//z5HNV00g2a6VfqvWTaP/sHImnhHSbxQmohhyOEx+0Oogdr8aP0z CMOhLaFuQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnZBb-0000JC-66; Tue, 23 Jun 2020 03:01:23 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnZ3P-0002YV-73; Tue, 23 Jun 2020 02:52:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description; bh=cTcuy/nlll1OVWLSXLHzS9ZUxC5IqGSgl64v3T3o1iA=; b=YH4y9hk1ZxX3FDLah/kMifObXl 1+u+R10x3aBagUhCn8vkfJdrVCMOqYuakoefN89pSYC012koJH7DqbxA0I1UfeIssmPf7wb41U74m EkXg+C3A8MwA+WwwKi+n8jOTisWqpe5lPpT2TloC6yIODES7nwsns5Y5e/j1tqP8VBYHncVlMTSGb H3H1j+sEsW9YM56l+g8da7YAAOhGVmfNml05xqMLnuhgU+pMJKhXfLTFlYSj9iJaQh1IpjG12aCcH BsV39lZsU9/M+DQlj2GjCbxYd/jOB+qFxSObSFUAljbBeLL4RkNM68bBH6L+HYqTDkQS6+GOzzcP3 GETQNJ1Q==; Received: from mx2.suse.de ([195.135.220.15]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnZ3M-0005VE-9B; Tue, 23 Jun 2020 02:52:54 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 613C4AE33; Tue, 23 Jun 2020 02:51:34 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Subject: [PATCH v2 11/29] soc: realtek: chip: Add RTD1619 info Date: Tue, 23 Jun 2020 04:50:48 +0200 Message-Id: <20200623025106.31273-12-afaerber@suse.de> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200623025106.31273-1-afaerber@suse.de> References: <20200623025106.31273-1-afaerber@suse.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200623_035252_469147_F8EED3B8 X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-4.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [195.135.220.15 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?b?SmFtZXMgVGFpIFvmiLTlv5fls7Bd?= , Edgar Lee , linux-kernel@vger.kernel.org, =?utf-8?b?U3RhbmxleSBDaGFuZyBb5piM6IKy5b63XQ==?= , =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Revisions based on downstream drivers/soc/realtek/rtd16xx/rtk_chip.c. Signed-off-by: Andreas Färber Tested-by: Stanley Chang Reviewed-by: Stanley Chang --- v2: New drivers/soc/realtek/chip.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/soc/realtek/chip.c b/drivers/soc/realtek/chip.c index aa7ca6bb1e64..e3220187e336 100644 --- a/drivers/soc/realtek/chip.c +++ b/drivers/soc/realtek/chip.c @@ -53,6 +53,12 @@ static const struct dhc_soc_revision rtd1395_revisions[] = { { } }; +static const struct dhc_soc_revision rtd1619_revisions[] = { + { "A00", 0x0000 }, + { "A01", 0x0001 }, + { } +}; + struct dhc_soc { u16 chip_id; const char *family; @@ -96,6 +102,7 @@ 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" }, + { 0x6525, "RTD1619", default_name, rtd1619_revisions, "Thor" }, }; static const struct dhc_soc *dhc_soc_by_chip_id(u16 chip_id)