Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3250816ybt; Mon, 22 Jun 2020 19:57:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzHWT7SdGEJUKXppkbiAndq5f0E3TzGyXEQIKeJvEcn83+cwXW6KOmP5xXyPCtKUO45FJ4 X-Received: by 2002:a50:8f03:: with SMTP id 3mr10924025edy.95.1592881035493; Mon, 22 Jun 2020 19:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592881035; cv=none; d=google.com; s=arc-20160816; b=sYr1/5AuBzGRF0bEHj84XGk0soOr7ysn43FGj0GOnS0QBTu41St7enDYEo6aQ+qgFa z36PH9ZAmsQhZbPzZcyKoezl9D2eVppI9pbcx5vA1gLQB3KUcGlNsACXVIrAlvTj2DEG U0mJxrbw+pPtixnLtHtLry5Piwl4sXuZUiAboLecMnpDfNxTUT5zFuGt7kYwuoDzSBgw 7WXFvmhEv4MGbN9r5uPTrqJaEifL49nRCPmOfEnpr2Szlop1cNwgTRlpanQRKR90SAX5 IsBYGiZuty5B6G+t7/yeM0CsKYAFk91REiAQ1QTRpHU97q8c13Bfe0kP42A3ZXrAkap7 KrlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3m9A6Juj/v0nyV3cWY0qE++a+RtdsuEfN9Vakp5za4w=; b=hQc82yAbggV2qn4FfoUGayIm1Cvi9c/3QupHtDpj6/d0NaLT7p8oU95oeysEBMjPWB Ahc2UIy7+iN40SlHT0efEOwA/jOs4Sg+5MNN8h5ddkkDUQvSV81wOcTod3hE32Rfz5ce 4H9ToGpAH+QG8tC9vYGVk+Vz8BYyufJfxvU2Dlu96EIrnIeEelvKqUMyxRh5p1p8hxFS m/kEGOxJrLiAJ4wz4e/qDqdlUvjXLnHfrTCafVHr7CILgoI3s6jFHhz/x/RJhhRKY/cS /H5xZPAc/Ec6lztJtHlWLCW47FZgW0RyEuHJq1FTHj3TJ6YhGatUVEi4D+JxlMKXfKEH hH/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d10si11792725edm.521.2020.06.22.19.56.53; Mon, 22 Jun 2020 19:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732031AbgFWCvt (ORCPT + 99 others); Mon, 22 Jun 2020 22:51:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:33068 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731882AbgFWCvf (ORCPT ); Mon, 22 Jun 2020 22:51:35 -0400 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 834CFAEA8; Tue, 23 Jun 2020 02:51:33 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?James=20Tai=20=5B=E6=88=B4=E5=BF=97=E5=B3=B0=5D?= , =?UTF-8?q?Stanley=20Chang=20=5B=E6=98=8C=E8=82=B2=E5=BE=B7=5D?= , Edgar Lee , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [PATCH v2 09/29] soc: realtek: chip: Add RTD1395 info Date: Tue, 23 Jun 2020 04:50:46 +0200 Message-Id: <20200623025106.31273-10-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chip ID from BPi-M4. Revisions based on downstream drivers/soc/realtek/rtd139x/rtk_chip.c. Signed-off-by: Andreas Färber --- 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