Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp321879rdb; Thu, 1 Feb 2024 09:23:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaHSIFabEdHRZcOtjp+twIrY4y6oJs36VgWqsdlaf4lt8G1rUT0+vvFnBDUFhm7PqQpDl9 X-Received: by 2002:a05:6808:191d:b0:3be:408d:c3ae with SMTP id bf29-20020a056808191d00b003be408dc3aemr7019286oib.21.1706808192265; Thu, 01 Feb 2024 09:23:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706808192; cv=pass; d=google.com; s=arc-20160816; b=pbivtMdL5W4YdWJ4wqorszNhJFUNOZwZDjWSO/47zPAoI7Z6d495uCxGdAsMGELJSl YeWQj3v35Yy6pLZgAGTFeqr4f6HheoOPRA+/1Ljj5mZ0uRGSH2wK3sm4VzYRRFN4baSQ K7kMlGlifDu2ycUKDByhfh9QVZochXbq2ZOiSxOWJMjVyWRJRAs/w79f3qWV8DlEBR6K Yr0ThAj0NxCCwuu4k4KcAGs5UonPmVP0bjVAfKWvtX3KMej3KB5j5b6G95kn7U96CQ/z wK69IvjQxG2g68BMkEGGBbAtY/Q8K0ZY/XAyhlfPPxHY0J1MNbvMOl8d3NRF9s05L9se aqsQ== 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=4quU8iCROTV/yJM0aV5EmhpE/r8NvJyBsd0JQhCH/Gs=; b=o6MOZk+ZGoX77awy5j0fXJAwI2S38kTQtHT4ZhBX1HiSYX++iq/zWMZtV3rve/kLmC Aa/L/zgQW6aRJZ2SU2Q9BFN8RiUIAMaMGhcqqoAHNYJlbgR2uZ8KlaM32uApP68rtuqc nfdqDJFt8+I3PHzdboZSeFfZbtHusKh31AzVrtKXNOnPOPdzfiMnuprTIqs1hj/zQ4hp 9eUF1tfgaTV/+II4bqEoMXmNUBl2nf8C/pWv/LGTV4z+7B1Wa2hTg5MBJlvdCEF1oJGM 4CQkW4XQ9wlz1lIQhrVQKJG72aR9DLFFSq6yY+ThCUExWMtKwKsG/DT+pcxfEInKtk2y vSBQ==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUUrnaixHt9vwU+jzQ5iv8ilFjbHiNlDIWNnv/sKAVy80anIC8n1dzKwcwepNgOXjSp9RUoZUwsOwU62BM9FM+vovj2rOAOofJ2iBsPIA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e21-20020a05622a111500b0042ab8d934e5si5902576qty.108.2024.02.01.09.23.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48582-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48582-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 070B41C249E0 for ; Thu, 1 Feb 2024 17:23:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A32995E3CE; Thu, 1 Feb 2024 17:22:31 +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 ; 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 ; 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 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add GS101 information to soc_ids table and related entries to other places. This SoC product id is "0x09845000". Signed-off-by: Alexey Klimov --- 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