Message ID | 20240201172224.574238-3-alexey.klimov@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-48582-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp315034dyb; Thu, 1 Feb 2024 09:24:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+HBAhp3+FAvITi5jk8iLzqUr1Dio4uU9Y2XZ/bJxNUflH2PXkbKSLbmZVO/WnwFIEaPfx X-Received: by 2002:a05:6a21:6214:b0:19b:1e87:6c56 with SMTP id wm20-20020a056a21621400b0019b1e876c56mr4413802pzb.53.1706808282853; Thu, 01 Feb 2024 09:24:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706808282; cv=pass; d=google.com; s=arc-20160816; b=biKm9HUjv19AGuFl/Bg+BA9Y8KibP6YkMEaQZ65wQqPq7pMkrQPeX1p1Osqy2EpR5j MbXm/VeZf67yJ5zLQP4uaJukZR2jPz5H70C1ITiTLuR4g5TBuWjaP28fVTsKJH9ZnBT+ WkXhqtI7AZh/F51g7SN1n5QBPjHTbFSzCwZDeVYcLBFhUOsPD8Qzwt2cxhXLWEjQagbW OHf6u6aaI+aAuZ7kpTkHo9QTt4m+5FilMh2caDCfb/Wu6I6tSt/Qk6cpWenfiq0TolLt /wf/PL81C9nh6doc8paQScvAH4B5rjNZD97C+fbFPKBbkZjpBE2xM7YQLAWRcBNIBkos vZxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=y3CJ0iWr5V8UXz357xaAC95F3gSkf5APXRSfTg5VtQM=; fh=pMROop/XsTQUqc7pd1pxjX7v8gvnnIok/Ik3zw8TgPA=; b=PeccgkdEl6Yfqyq2SliVT8atzuZTqxAJZG0RFn/nmgSQozYWy9H3GcDjLnO4U1clhB okYGl3w9ZT5NTlGFCjy/PBOfu2PVh7PB1lSNQgfcaXrl7RSyJbdXq7X84UVQvCLA0mDZ gGeC5ymItV1fp3M64R0OyPeNxyc5BkEdSbNsml05hjBx01Hh6PlI5qy2brSDNv+Sj1Ru kPFYIA0jcfn3PPgQtA9onbMuoh2aofG3S3Jh14iNOWw68s/bYIsA8f3vwju9d4uE8ABl pTarn2bufMQc/lLwDtHmdjPHjyedcDs1CTuVS82KU71umNJBU4RQhR5NHrDThjy2YK+w tKEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oZ3a9pb+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48582-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48582-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCU7cGQ6PhoIGn7zVfYX+3C5EnEvQJ/9UvFS6tev+/IsQ2bR2z1LUIBR8dGyIaP9OpLAY29jYFFel/YbAGxknO2WAQG7kA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g12-20020a63200c000000b005d8baa20a39si39182pgg.312.2024.02.01.09.24.42 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:24:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48582-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oZ3a9pb+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-48582-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48582-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 545F429021D for <ouuuleilei@gmail.com>; Thu, 1 Feb 2024 17:23:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DBEE63081; Thu, 1 Feb 2024 17:22:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oZ3a9pb+" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0B8901649C5 for <linux-kernel@vger.kernel.org>; Thu, 1 Feb 2024 17:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808150; cv=none; b=mzsvyJG6ucJm++viKxZi9MzU5MjqYZN3tv0kbbkWSQfqXzsLeJKNeO1onwtYbcBAAEwstAGTnxv8idsc+owg0rTFRxiqv2FSrSaXLIV1hJYyQ2CHDW13xJRjszUSq/+D1twEEOu6Gb6tqEC1VSuHT692EMs46FFkaoxnI3E2/HA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808150; c=relaxed/simple; bh=wio2kvsDF0Lwbbyfrpz0pcyiINO/4Uw796iSRQW0d6w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FyQSSWW0HhXEvg7/w8IOQdsS+9i4hzCjqv5rQzuE0XZflPe+/8zfb5sUsQWsohz7BfWZrA1+cBL0GiDyLWaY48Wp6CleBXv7lwsxzlouhN/xrvIfRvAXIX0B9Lcxlsd/AqFyk2d1MXj8XrayAfDHy0a2Xwmp0MFVi+oJVrpBmw4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oZ3a9pb+; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33934567777so746428f8f.1 for <linux-kernel@vger.kernel.org>; Thu, 01 Feb 2024 09:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706808147; x=1707412947; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=y3CJ0iWr5V8UXz357xaAC95F3gSkf5APXRSfTg5VtQM=; b=oZ3a9pb++WndpFEuncurBjNMEzeztvREzSruBVu8n3JrU2d9FAUs49pT6S/IrJKDnE eb9p8XhHJOjRLf7zsL0xrxa6hOxoUh5r95fPXrOPoeSLOn5o+Li7K2HzwmertGwXyCGu /0Veq+TVUYI7EVz3Z90AuOwE9ddZfBMB1wLqOunkoC6TV+W2PWzb3Hqk5cc4PCHhLWgF pQbSURa9m4aByv8D0ND7JNi8FhkPjelaEJ+7p6dkp7JFL9RiLyocpkboT9aJv2BFqygy DX5VjrhVwEOrYDEa6Co+tkPMAUsr97q8o46dTiFPWCVpFUAvCQrVo2OaNIqaNX+OGc9b VeGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706808147; x=1707412947; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y3CJ0iWr5V8UXz357xaAC95F3gSkf5APXRSfTg5VtQM=; b=CPmMFMOMHf6Mg1MV1szCtdYhNAXRrfYn+GLHh8JlylHFf+BbflI6kEXu/kTyVgy1mt h+X0IiRyl+Ct05yem+vF697wE1btKu2fEcsIwn8di8JmK43HCMkmO5dGgmHwQAhjE4Xo cUMNZr7hz8FvKN7rFpOWhFpKC6wMfADK1WAJObZAHnxVoVQ8Y1h6nAlz7PMyRFleNU08 msqmQyoUE367ooxGmu7THaUX4p+O6maV5m7IegTbj9ZPmWnVf9kV2EOvSVfYKDTmhEv8 EClGs3e2vS12yxZ8e65QVG2CtR2m99YUqzMLnHlExb1WK8y6H5eLv9lG6RjCDP9U0dng 0Tjw== X-Gm-Message-State: AOJu0YyVfmraaklQeHKYOfBuLCGSWPQi6XRelTUfmbVpp+I1dh5bs7mP WBenX3u2yr4PwzxLXGXSiki9XWwHnZTAVo+nbWuz3xQO9nbY5gLbCeg6vnXGuoM= X-Received: by 2002:a05:6000:ccb:b0:33a:ff92:6e2b with SMTP id dq11-20020a0560000ccb00b0033aff926e2bmr4389377wrb.4.1706808147348; Thu, 01 Feb 2024 09:22:27 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU0BhG3V9zNV82xJGHjYnuO0Z4gpRCANfGDa95RdqgHtQTIMdD71aouDdJeaXM6j3dFwUJWzOlXRtZHLITrFdkFg/4voaPT/81epNOedVuw/ACRtDmU504ztpfV6kyyjc5gepYfgCgFI6WkhluYhbMdOXhJgQGZjiSV0I9s4UzjNYQCymKENRw8uYsSolnzVwjDh0Io4XZbyEcOa6FapOguMvuc3OxtxR/9FgQInsz+bLOBKN9/k8lTk/LfCuY5sghJ5sVZGL8m4yVcV5yz2d/ZMHBqgE/8FwdkDcob2+dcYZCV3tCfcar6LI2PV3jOio5uQkX2KJZGm7/j2a/5qFBzWeb/E+0nJFijyv23O8n+bRR8ez4I62lWGWEhNgQMClXH3XVnHlBgZCo5Wpg+OcVFHvG0kToKU3XwnBcnK7zteV/uWj1sviNm3HwldDb9bcG+2KHFm0g7Z9dZdz4aDQRl0jLIyOV4GuKP1gKANwfJkan2d7pHhj78Aagr/AAimbE7w4jIEbZ4u6nNK9XdV468cHg5imPRbtM/ijszlM6gwotwD7nWcGu0wZ8phr9z3X4= Received: from tux.Home ([2a02:c7c:7213:c700:e992:6869:474c:a63f]) by smtp.gmail.com with ESMTPSA id f15-20020a056000036f00b00337d84efaf7sm16733582wrf.74.2024.02.01.09.22.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:22:27 -0800 (PST) From: Alexey Klimov <alexey.klimov@linaro.org> To: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-samsung-soc@vger.kernel.org, semen.protsenko@linaro.org, peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, klimov.linux@gmail.com, kernel-team@android.com, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, arnd@arndb.de Subject: [PATCH 3/4] soc: samsung: exynos-chipid: add Google Tensor gs101 SoC support Date: Thu, 1 Feb 2024 17:22:23 +0000 Message-ID: <20240201172224.574238-3-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240201172224.574238-1-alexey.klimov@linaro.org> References: <20240201172224.574238-1-alexey.klimov@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789718202024061357 X-GMAIL-MSGID: 1789718202024061357 |
Series |
[1/4] dt-bindings: hwinfo: samsung,exynos-chipid: add gs101-chipid compatible
|
|
Commit Message
Alexey Klimov
Feb. 1, 2024, 5:22 p.m. UTC
Add GS101 information to soc_ids table and related entries to other
places. This SoC product id is "0x09845000".
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
---
drivers/soc/samsung/exynos-chipid.c | 11 +++++++++++
1 file changed, 11 insertions(+)
Comments
On Thu, 1 Feb 2024 at 17:22, Alexey Klimov <alexey.klimov@linaro.org> wrote: > > Add GS101 information to soc_ids table and related entries to other > places. This SoC product id is "0x09845000". > > Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> > --- Reviewed-by: Peter Griffin <peter.griffin@linaro.org> > drivers/soc/samsung/exynos-chipid.c | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c > index b1118d37779e..7fee6094db12 100644 > --- a/drivers/soc/samsung/exynos-chipid.c > +++ b/drivers/soc/samsung/exynos-chipid.c > @@ -60,6 +60,8 @@ static const struct exynos_soc_id { > { "EXYNOS850", 0xE3830000 }, > { "EXYNOSAUTOV9", 0xAAA80000 }, > { "EXYNOSAUTOV920", 0x0A920000 }, > + /* Compatible with: google,gs101-chipid */ > + { "GS101", 0x09845000 }, > }; > > static const char *product_id_to_soc_id(unsigned int product_id) > @@ -178,8 +180,17 @@ static const struct exynos_chipid_variant exynos850_chipid_drv_data = { > .sub_rev_shift = 16, > }; > > +static const struct exynos_chipid_variant gs101_chipid_drv_data = { > + .rev_reg = 0x10, > + .main_rev_shift = 0, > + .sub_rev_shift = 16, > +}; > + > static const struct of_device_id exynos_chipid_of_device_ids[] = { > { > + .compatible = "google,gs101-chipid", > + .data = &gs101_chipid_drv_data, > + }, { > .compatible = "samsung,exynos4210-chipid", > .data = &exynos4210_chipid_drv_data, > }, { > -- > 2.43.0 >
diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index b1118d37779e..7fee6094db12 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -60,6 +60,8 @@ static const struct exynos_soc_id { { "EXYNOS850", 0xE3830000 }, { "EXYNOSAUTOV9", 0xAAA80000 }, { "EXYNOSAUTOV920", 0x0A920000 }, + /* Compatible with: google,gs101-chipid */ + { "GS101", 0x09845000 }, }; static const char *product_id_to_soc_id(unsigned int product_id) @@ -178,8 +180,17 @@ static const struct exynos_chipid_variant exynos850_chipid_drv_data = { .sub_rev_shift = 16, }; +static const struct exynos_chipid_variant gs101_chipid_drv_data = { + .rev_reg = 0x10, + .main_rev_shift = 0, + .sub_rev_shift = 16, +}; + static const struct of_device_id exynos_chipid_of_device_ids[] = { { + .compatible = "google,gs101-chipid", + .data = &gs101_chipid_drv_data, + }, { .compatible = "samsung,exynos4210-chipid", .data = &exynos4210_chipid_drv_data, }, {