Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2445050rdb; Mon, 5 Feb 2024 06:55:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+fi3ngZ9kF52ZU9Co7rk083kWsokroaLeDJwWoBJondT3TCDC/gt8z3MEYeZBQZQHhfJN X-Received: by 2002:a17:90a:984:b0:296:37f0:ef48 with SMTP id 4-20020a17090a098400b0029637f0ef48mr6793758pjo.49.1707144948965; Mon, 05 Feb 2024 06:55:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707144948; cv=pass; d=google.com; s=arc-20160816; b=AX9U4bw/Di7NXo37QARQNp5HbCFwkBjAxCWrv8AtqUAqc2dLYaam4c8S14b17PPBsG 7PrvFyrr3NiTg6Dd3J0/murmxN0ku9pr43NyLTgiwb3KoNLMcYX+WnC+RuSncNPnxViJ Fja06tdHupCmKNfPnaaZ+UUn+cgb8K4JFDcnZ/OUficVCwXpYehsvqdOAZWTVutlRY1B h1gRwg+NJgYmZVScQwODDK+A8yKPbmE1ZfiXAYqblkg/Bum+8C/JiPcJpLFpUlaSHAaE 0dbIIeTVxyGuI7ecJ9heQLDXHaHwguIga4QbFzr/0DiVax04hBkYtgRaTAz7vqWf3pSx hCBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=CV8zCL+Bkb52zUIjr4j2G2uqbzJyX+oUu0mInR3Ynbs=; fh=Px0rAwPABPIRPY2ZPI1rIut7YEx0/ULlyir7yWm62/Q=; b=e2skjtioQWyUBovPWwn28MWDRpvtXYxAGAS1DacOy/MNQ01YGAk7s884HSZDUl2Om1 wm/RXUDGSCImORLQQgSrA/WgXnODRNIK1WRa5Vbo67j6OR98j00x8EI7SEHPNGsRyp3d AAGTLLHA4dXHgyi8Tt1eptDTDMNDlfxtOzkgMCaaDG4nSODoYZexRI2klBTVJ10Xkao3 doWYsgHoScXsAWD/jY3jAVbSMA5nWNP3A6mKcAewLXsln4o9QHVkfnHX91ZuBVoyBGxb ZwqEwfTXMsfvNMPMPlOkfacZTqVXJUH91H5SrTiE3vbLLlmE0k1XwPY1mQ8TiLC4QwPY Mj7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ijtDirDU; 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-52853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52853-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; AJvYcCUHmS6phiO99YKalXwZ5xhzPgm1fv3t0q6t4qO0vg1RKINNU+RrFv7e+lb1mZYZOOPTjcjtrqchLbahIdlaXVN1EdlWsGGTdmAIb+98rw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id pf16-20020a17090b1d9000b002969d8c6915si1642238pjb.105.2024.02.05.06.55.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 06:55:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ijtDirDU; 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-52853-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52853-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 72F7F280C21 for ; Mon, 5 Feb 2024 14:55:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F89E2C69D; Mon, 5 Feb 2024 14:55:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ijtDirDU" Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (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 E4D772C1A7 for ; Mon, 5 Feb 2024 14:55:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144939; cv=none; b=YWH69WWxtddi+WnOuf/rD5XgM5YfYNN2ELidihkly8diQ/jo3Nq6eOmgo3oCHyfFfs51+/ZQgXmiPhOIQRE4VwLpFY8POBzDSY1ngT26rg/q8eBpK8mxx9MP+Gta3qhKroX+1C62kb5/QEypjTEq+AL51jromZNUuvwbZ+NyDlU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707144939; c=relaxed/simple; bh=prtwngRjSPswBsLKpAV13nwxdPeqSc9QYwUzmebLdkY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=nYPgZEBnYdv0JXQnNBL2z7QKUaVEYNSQwFerPe1B3z+9CMuc8yjmz8NGiTjHs2mZnsZgJNgewtS1ag3iyUBSpEZOSY6QJzYFJZo5HZY6QjAATFKom+g0ky+nbY0akdHGizOchCf6gDbeNdYT9eZ7fSIfY7ExNAM1NYQHiO/tOZw= 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=ijtDirDU; arc=none smtp.client-ip=209.85.219.47 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-qv1-f47.google.com with SMTP id 6a1803df08f44-68c4fb9e7ccso19895726d6.3 for ; Mon, 05 Feb 2024 06:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707144936; x=1707749736; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CV8zCL+Bkb52zUIjr4j2G2uqbzJyX+oUu0mInR3Ynbs=; b=ijtDirDUfgy9jKEZXCEtluOntzfHq1Fii6PLOAcwoxSe+c/+O2NF6JCoJYX+6DzY/m lpxeFnnmgvNkjhYlGIWSLpasaOC73ThyklLpbdjruW3f6WuMsXD0BVw2BBfMoS4a1JQ+ oY5PO1n/Voqwm0NUoLk9u2rxreUGDxtIlxQ+TtzI6bzqC+/Qy9NuwUsLGYw44fDs/gPT ypf5cmV7d0buEHB6ZHKNoq7P8vTH3YUexwyUeR6WjG4moT2D0kGksW48K3yjYfnlKZrV H0QBTi6b/UaRV5EdIi0d7Z5GcS04CGisUWMyIMuPAXKaL5hGdZNnoZ2K/rxr8+CXHisY OHwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707144936; x=1707749736; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CV8zCL+Bkb52zUIjr4j2G2uqbzJyX+oUu0mInR3Ynbs=; b=Aw8m/6y9aPPiKaTqrbpI1okPY6xDm/5W9f0v30tyX+4o1EEdf8JpD69d65bfyLsu49 PNSbOY+xRa5q87BkOx1z/dR4p/bXgH24pV1GK3enTW3wn1V4dfhSl4ozofll0WxSuJdR FxYqOf5aTedlF/w+Q7QZZhI2kUho3lKn46+/+yx+kb0+Tn3tqBbhfLf2BBJqON1MZS9l U229qtQUCC0WjXdCjIEwlM/VKMIAko9CrwR/ds2Ff+C6GK3Cv962Wow6czJHz7VcStFp +nNuaRZzdd1f43aaEwLY889oERDTbHbO0AP/aQn6BNybFAaRYRZcxo5oaZClsmIoJ4+q iLCA== X-Gm-Message-State: AOJu0YyjqDGeSwTGbAqiGCiXB+UBB60Rs6MYqyclUs3yXCZdzBahb8ZS DN/fLF+UN27UTnklPpxRpwjSSSSqZiElF4KEt78e342te/amDcAt/Fqj+wqOlR6TC5/c3H8tSyO kI/T41RgZaBbttDjmXvLkkYVzp44tGyH8Wm0XNw== X-Received: by 2002:a05:6214:daf:b0:685:6715:9693 with SMTP id h15-20020a0562140daf00b0068567159693mr8173405qvh.8.1707144935887; Mon, 05 Feb 2024 06:55:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240201172224.574238-1-alexey.klimov@linaro.org> <20240201172224.574238-3-alexey.klimov@linaro.org> In-Reply-To: <20240201172224.574238-3-alexey.klimov@linaro.org> From: Peter Griffin Date: Mon, 5 Feb 2024 14:55:24 +0000 Message-ID: Subject: Re: [PATCH 3/4] soc: samsung: exynos-chipid: add Google Tensor gs101 SoC support To: Alexey Klimov Cc: krzysztof.kozlowski@linaro.org, alim.akhtar@samsung.com, linux-samsung-soc@vger.kernel.org, semen.protsenko@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, 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 Content-Type: text/plain; charset="UTF-8" On Thu, 1 Feb 2024 at 17:22, Alexey Klimov 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 > --- Reviewed-by: Peter Griffin > 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 >