From patchwork Thu Feb 1 17:22:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 195404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp314175dyb; Thu, 1 Feb 2024 09:23:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFi7fXWrzAXZhGlSIeF5hoYugUtc6W6nEd9tLwO8R8DoE4GPZo5mMDZDgqw0ofjNvPxM5zp X-Received: by 2002:a17:906:e9a:b0:a2d:a6a7:b3bc with SMTP id p26-20020a1709060e9a00b00a2da6a7b3bcmr3540325ejf.4.1706808198639; Thu, 01 Feb 2024 09:23:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706808198; cv=pass; d=google.com; s=arc-20160816; b=daTgY6glNo8BpGaQ6ZodDvpGxoL9Dn2T2bp4tHpE3u1473VQPY50VTBCMG4fsXYBeu IbW4Hko5Bh/s6gG1aF6T00/5b3RSn9nE6lAnv50Jb4SMIiz/LkynTivfhPWK06fsoFJQ 15nQKG4UcQZhj9QZ2n9DnqOXrXAasT1GHmQ6Xrh7vlgtVSmjLoubgp27bRmhXp1L/dqU lunmMP3gnT1sYDFrV5ykp4Zv49TOv2XfYxcmt83D6z18rErAbYMoAGoWzpwq/L4/LFMC GdibtITl8HREda65aqQTCrcwXpQD9AJJT0KPex3C/tePwozsQmbYO1t2r0CXP9uFid9E 0fOw== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Olzs5jHBV5th4bf/0xR3cFxQ7USKSVC7J+wiOfI31K0=; fh=0jY9epAaMr8teo4OMkNagjBDc00seouqLAX7MVYWPdw=; b=xxrnPsQ0N3ztUHnzBs7dj3w6r/lGNSCmnaNkbn++vqkrwLPzIiXohZK7CO4msoetiI 7aHhgHMQha7mgoCzA1oREWZKIE90lHIhP+fmhQGesTPtTaZO22byRg0aEpmYqcgiJXLJ z8WNC0fCK1Pj1V0kFc9Mi3CVoOBZAFrlXX7MM5muePCk89SI3ZlpQXFZWSFpQJzbC/Lv 0kP0nsVOGpKfHdqC4KKB+knlGwcZkEIs4Rx6IofDd7eqtQVxbdGH1WmgTQ65O8kFsnbM VEDTLTmPUJLWY/dhg3fZ6mol1CMusItgmPQ7IprXt2mRG0Ay5S9n9CqipEWaX+Mch3p0 W1zA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WMndUhjz; 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-48580-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48580-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCVN52THByPWe0+XAd/LFTZpORIuUhoUZJhOfPAxGgMsyQ5o/NMWV3tLU46oqjYM5Y09k3CmEwfwO3gGVZdDWfk3+3b9lg== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s20-20020a170906c31400b00a35b9bfb08csi1879ejz.30.2024.02.01.09.23.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:23:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48580-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WMndUhjz; 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-48580-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48580-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 15C051F25101 for ; Thu, 1 Feb 2024 17:23:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02CE95E3C9; Thu, 1 Feb 2024 17:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WMndUhjz" Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 2F97C5B05A for ; Thu, 1 Feb 2024 17:22:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808149; cv=none; b=qDNLKpyxc/+lAlUYkc6zUA2EKul8MBmXgY3KiR+y/aCgORpT8bjI/T/jt/jk3jZXQVIS627mX6SyWNpqY/HPA3aoZhbqK245HK37STT8ah2kYVrwWHtNcg8ICfr3U2OZ8VMrQtO/wEgigiA38vWvzf/8JGydqdRXgiKujW/hHNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808149; c=relaxed/simple; bh=52w61SL9U4SK4WqY0kMb5Iy12v+xHbJ4FGKmp75wAto=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=vFst0A/3vCp39RJekbiaRQNKBprMcyz7OsSam5G/woV4S2LHEIjLLiobczLs7srpgVm0zMEO7T/pt0mrYca93UnjE0JEgtnNqC44BljtcJRAeC/DJY/+4nGmbwgf17tFRvpuW/oEBj2qgwloUQ8FwmHq/47M9ZwacskkNce7bPw= 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=WMndUhjz; arc=none smtp.client-ip=209.85.221.52 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-f52.google.com with SMTP id ffacd0b85a97d-33b11ea47d9so750122f8f.3 for ; Thu, 01 Feb 2024 09:22:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706808145; x=1707412945; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Olzs5jHBV5th4bf/0xR3cFxQ7USKSVC7J+wiOfI31K0=; b=WMndUhjzW9TQPcwgkLtSGOWirOgslP/EJhR0OoeAAP1FsB244HQjLdRuM2GwSh0klD LBETlFV1GPHarU9wLt5xQPWt3QIhhoQ/3+oFjJByZymuhKl9/nryjxTXnL8oMhQPitj6 BZ6gEumtyAUjj2pB2ZvG21dlyC70X1jYWUp6vrtmKadgY/kqnZ0M2ulsyQqBuOHXMYV0 dKXbgfE7cb3WAAuQu/PVIEupH237b0zwQ9vA+LQ3wmQZjoYC0qfDesbarI2u5I9aSz8N G5UFQdRGen4X+c5zEDAGp1V2TXsq8lopatBC0XfHPn8LWX4Ia+dhuljTpg2WTybBtUUP sUJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706808145; x=1707412945; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Olzs5jHBV5th4bf/0xR3cFxQ7USKSVC7J+wiOfI31K0=; b=CQSe8zcGwFjMPwlkIdwCNaHc4VAF1ruzpGRj3r28CCYJu4m9z1+YMqHPBs1VWQfUpR BqOv7z3I2iscePouHqSiRyvyMWwpVdLvCs7qlNsJ3cDRLft9w6ukz5p+4c+YIbGcYEpZ xJolrv4gkSjKI/ufQFOqA69F36FIZY/eftrMYFVu0jU0F9Pi0PuEHppurdxb3l5xVFQT Zt9IVDEXJjaJdjAbzE8/cH973dcIuqE243NzBR6BMYoPyBHq8kThUBpjWGBdfNAJuYBY 0hrPntxSTRucVWIHYZ/2iVQ8AoRRz4pACxc8rOY6g8XYWEwdZavbpuCJO7YghGUC7MhK HNPA== X-Gm-Message-State: AOJu0YywOEO0dRXUQ2v+Rg/cWzDCNnhDW9Vv14WKdvclwIB33jBqnSks 0crAmxM7U1ZLfB+QRM1fMkB6HGfRDqcY6qevGlmAKJ9nXEYaxrFlt4sS6q7Fdx4= X-Received: by 2002:a5d:610b:0:b0:337:9d3b:c180 with SMTP id v11-20020a5d610b000000b003379d3bc180mr4025840wrt.4.1706808145483; Thu, 01 Feb 2024 09:22:25 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXAyBCUGeofnISmWVvuayh3uWyPjp7ReG6k3Z7Cg4Ixith4cEy/8G9skYPPoXvjaLvnvvELl90LT/8UIpCz+FIb2gNldRtIzSIMfa3zk7ldRWyj2S/GtzBd0x+YuoVwvsOVeL2PGmo0wEhKpRxxmj/ldV0D4/uICodrORh3mxhdKB7LhY9oZtv4MDLlmsfkWgnIvH3MWc7BIF1NWvp4PR8cNidJKPAfyY30tqwaMQdEMX3vopapymYiwLjgaF0+XwjKsKzGej1zgHEy3qOZJMot+uKeLK8Fk5xv+Ky6qoeoG3vdIyBY7s3v/TpMUCL9k/Y+Q2a/Zktg5Ubhfb1cz2arRAc06pjbJ2+UBOprShdj3dGyr5U9/EdtAmwNri8XqoOBAxt0PgH6XrYoVvRuvvWomLMPJkVwkb1ahmIujePs+3YQtV72NoeQHmvbuUQBOR4EhVAv4d+iD44CS3frSGvzy2SuoeT0IoKkEdmoosiBqeAEumgoRDYMGlktdk+hDmpW+FT/YtCfdh7hTG/FyXjq1jqQOdKhH29mOhxRvqd1m0BzPDYACSx/if5FW+tylTs= 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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:22:25 -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 1/4] dt-bindings: hwinfo: samsung,exynos-chipid: add gs101-chipid compatible Date: Thu, 1 Feb 2024 17:22:21 +0000 Message-ID: <20240201172224.574238-1-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789718113245888445 X-GMAIL-MSGID: 1789718113245888445 Add "google,gs101-chipid" compatible string to binding document. Signed-off-by: Alexey Klimov Reviewed-by: Peter Griffin Acked-by: Rob Herring --- .../devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 780ccb5ee9b4..b1d933808b6c 100644 --- a/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -13,6 +13,7 @@ properties: compatible: oneOf: - enum: + - google,gs101-chipid - samsung,exynos4210-chipid - samsung,exynos850-chipid - items: From patchwork Thu Feb 1 17:22:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 195406 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp314962dyb; Thu, 1 Feb 2024 09:24:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7k+TlVBC/ciG+H55S23tdjVcLM0nTgnJ+wmQ7lQviLHgO7/fR+w03H+7ssT9kJgKeOtR+ X-Received: by 2002:a05:6a00:2d01:b0:6dd:8211:9ff0 with SMTP id fa1-20020a056a002d0100b006dd82119ff0mr6818235pfb.18.1706808276784; Thu, 01 Feb 2024 09:24:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706808276; cv=pass; d=google.com; s=arc-20160816; b=zuB7IsOqeoSydtg0HMvfgXBu2V5VxZCW3Vcn8tBH1ZYTw6SISWCsLPKOCavcIcfKBM WetmXpGFqZxd21V7kibKzBVAb8g1kMQ55BIp+U6DXmRwQ/7SWeq6xOBitQEDrripNroL G5YRjk3yBifQKxUFMSHEjUYUQT+oa1Lygy4UwcxiKs1Pl2ZiUyesVR0qD70CPg+JH6oo 2d9SBgwoDlwgo9/iJ06nt+MWstMqjTzVpvgmdLTGBgM1/iHL2tFxpYjhNJf3dc8+4i4c 7VDjSGA0otKMWm7roVn5v0PShRb9bAhHgr3QZIFykq1j0Y2nc9eb0TNKC2s6L5EykFpv clCg== 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=oqglFOjWZ32x4zOs0EjnPV29zDu0VG4eHKNa8brIj7Y=; fh=O2pXOTeFcr2A9sjJgCaQIOol4QqGB6l/s3va5tptriI=; b=TfEdNqqZ418JCQed1100maeSASf/yJSqPyeaM8rZdJHujkftqWrhNd/qUYYI1QK3sd B/LB4QVaTRHgjbn5Z2LQtQuhqiNrm4dpO10U/gwQavKYGmcgmVcenUPRI+jSUwEMFMee GfdEjFpPqgAlHD5T5afhmCv76AVQNn8B/mUND1NYjWnp+D25qq9xb/1SwppT9b7ObhD1 ciCBAmEGMcjqEWRKwhXrPm3FOoi8W5+8zf0sjebQAq2wetdtUD3w92tRevFEAe3ev0CR lGPAWAcaJIMUFsHrR4dH02tT6F1bRCvtqibEHctWoQeBFYZfIsKi+YNlaME82ADdujMb yrVQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qYLvcazJ; 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-48581-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48581-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWJAI7qR2qj5Kn6v1LvwHO+UnCQDbSTByHhDkppsQb0fo5hCFQ+NKBcwgj7wxMmgsVc84tCOGFalN5nvMCVfdOYfM9/pA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e19-20020aa78c53000000b006ddd3208911si12092174pfd.155.2024.02.01.09.24.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:24:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48581-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=qYLvcazJ; 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-48581-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48581-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 3985729342A for ; Thu, 1 Feb 2024 17:23:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED2676306C; Thu, 1 Feb 2024 17:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qYLvcazJ" Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 531F11649B1 for ; Thu, 1 Feb 2024 17:22:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808150; cv=none; b=ixdJuTxNPy9YKFmU11nluGszlpnkDceRVogBEDhJRXuE35pFF9NVMkDxfKruKQBfCNQSo6UNDjF+fvg0Inv1er5mUkMA+uG1aBCsjasLOBWsYV4BCf18bQEYJm2Owu7kGJl7fuidA1BkVDQ7T1Ui5Ky3PyZ3msaeP6KXMHJ3oQs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808150; c=relaxed/simple; bh=iDCSG6+vZGjXW16iEBck9mBM4JX3eHfODAFknyZfAVk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F40nTGqna+Ex/2J4yKJZEwFzQgF3j+8eCRtOySyxzI9oZTlG2e1qGnK+T7qJHZnModTUckQ82o8cqkTHBEMIWwNGLJu10TqA7dbqxbkZxHx+J/dBqZ0fKH8EMobx/d7x0cnKzP8/V8OQNlUUMlIrYaCUqdJe9/tgh/Vzbkq5xwc= 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=qYLvcazJ; arc=none smtp.client-ip=209.85.221.53 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-f53.google.com with SMTP id ffacd0b85a97d-33b1b21c020so316952f8f.0 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=1706808146; x=1707412946; 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=oqglFOjWZ32x4zOs0EjnPV29zDu0VG4eHKNa8brIj7Y=; b=qYLvcazJXx9p1dsjfC4x3p4+WU6KaSWRfplTM09YKt39xVXh/U02MWuxPOJ5pSuLXU psgKIpfC2SKYQcE5lk/H3oiguKfGMXOY+ywA3lA6v7yJQ7FemX/K3BA0s16WGFv7OvsJ mof1WqDul2HQMI6wnFrLngMQYL7JfViw4n+dZFFn7uHIPGg48/PRhtYr8Cm2GRSn88KC 6HTWXHVpPEA+Nv94R8T37phfBsOBx5LVwv730ypeJMSTeYCWCOcTCuPqH+JLw6Aw/UxL psntcE2484BlFH7xfIJilb9nlv7vJpUcW0gI1NzfqEP0yNcX+NLYrddfRqQaP5LoYjw1 WeCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706808146; x=1707412946; 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=oqglFOjWZ32x4zOs0EjnPV29zDu0VG4eHKNa8brIj7Y=; b=uh7Uus4LEdSBE/FItglqdqvekBX0CdI+fuSM1eQ6OtpD2MMtuP7vAe+6P5IllXR5+D Hq62Ei49BFBt+6xlK1z3n6Xq3FFzCq/TCe+4J+clUZI/44mSq8zdoKjFChAsiGa+pL+V K7nSyrtDd2Sl98olBTBdaKbG4BzdSzWzSIpFqz8ysrwvjr+tKPd6eu7bLXVR3y4Fqm1q w6lPsdg0u36sBz7MITGFHr+j67yc7gTyjUd9KiNAnBK3Xs3cW5wAWWWl4MtgoUzhFb7Z p8EJLDUNhqMrqiechuRXEzETTBDt/oyvPthr77XPfdBD9ezNGGegbtjoY4/owXU95BB+ 0HaQ== X-Gm-Message-State: AOJu0YzG2f+M4qviuGtas53E2SYltUL64cgKvBp13j4UAbljmyf6g/jj AC2LF0xsjXcCk36NEn/fC+Po6zt+y7Jud2wFWe7Npeaq9p6bXst0+B1o44Kmg6g= X-Received: by 2002:adf:ea0e:0:b0:33b:17fe:7eb7 with SMTP id q14-20020adfea0e000000b0033b17fe7eb7mr1680144wrm.68.1706808146473; Thu, 01 Feb 2024 09:22:26 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWgDLUJomtN15g1opxXiG5rl9OiizKz5aXqpR/8NPTgDztCPLP6LXlX7gvUorVckRh6tNcOnnHb/o9tfpkM9Z9nXJtRde1/rnPToLU4WUCqTTg56TI7h+7qCLL+cwtpNiii/y4BAUVp8R5A5lAhaFi71FzU1lq+B0HMMnnWl4BaAXVB1pNLC0h2f40vEcIf05wcoiseoVEXcRQQEeqwQ1/OiVHDNsSmjoQhjfWyFUNG7Qj5K1qcogJ6HfnD9Cpymu/+hh/oApC8rwDaM34+QXVfkwy5VYC35jZbwHFUBtgBp2sGXrOr911JQNer/YMppGebUoNHOq6kkFWMWOPWVUTpFxG5fyAZYZ6WYQ+2hPd5BckOWVXUEXTJj+dAw41ZlzCDAWc205uhF6sEfynnmz2Jii+xyhiVGdGOR6Ts0UFRfG84GcQ01K6T0gn8XbbMCN/carFJhdlx2T/DEviVD4FNPqykzGpWkBQnPqdN5dQ98JB3fHeSzpuCE9Eu2ImZCpAQae60DxPOawrxrGrQnm+gXgAMLgdFV+iN3uWhtOMMO8MUymNISDmDh4XTZYODt2A= 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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:22:26 -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 2/4] arm64: dts: exynos: gs101: add chipid node Date: Thu, 1 Feb 2024 17:22:22 +0000 Message-ID: <20240201172224.574238-2-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789718195457096406 X-GMAIL-MSGID: 1789718195457096406 Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/exynos/google/gs101.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index d838e3a7af6e..156fec2575bc 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -283,6 +283,11 @@ soc: soc@0 { #size-cells = <1>; ranges = <0x0 0x0 0x0 0x40000000>; + chipid@10000000 { + compatible = "google,gs101-chipid"; + reg = <0x10000000 0xd000>; + }; + cmu_misc: clock-controller@10010000 { compatible = "google,gs101-cmu-misc"; reg = <0x10010000 0x8000>; From patchwork Thu Feb 1 17:22:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 195407 Return-Path: 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 (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 ; 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 ; 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789718202024061357 X-GMAIL-MSGID: 1789718202024061357 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, }, { From patchwork Thu Feb 1 17:22:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 195405 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp314541dyb; Thu, 1 Feb 2024 09:23:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYVlKStW/GHsk7mZYUFTHQ4WPngqbokPy6kOH5ukldOpwJg6RLTEzIagxD17PqEWSnsqT1 X-Received: by 2002:a05:651c:c97:b0:2cf:4961:86b9 with SMTP id bz23-20020a05651c0c9700b002cf496186b9mr5430316ljb.0.1706808236103; Thu, 01 Feb 2024 09:23:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706808236; cv=pass; d=google.com; s=arc-20160816; b=Pm4Pqx9ukISTyiPUbjKIV9UmGAX9TP90pdiP9WAMqFHv4r4zNJr6roNjciZVPkHvv+ hkkE3D3T3OBC/sMA4rwNUjCBFJR65ZRTpYXUYpcDs22xxGHQTXsn/W4SUN9ckU9giIuz 201+brTTDIC9ERDzXcXQEQVEZfKXYvem1UAPMgJ12KupBvCSp7WZm6Q3cP3pnYqVOGmH CkrBwx+gATeHoFAs9/221fEG32SC6yaSgTImq+nLTILwywjzu1GWYqhkF3jgBWQuq6Ov 1DgDwTVHIP3oeBXVXLH7iNjK4TDowkx8FaZn4snLMkw8ywLl8szwYBxIAuAOSkyE6JrP aREw== 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=655phT6p/xX4gabPq+CgbuzehrB6Qvw3RCd729athhY=; fh=2tGLlqKti1V8vwtrpQ/oSN3pafaP9nzfcNf4Bwlt/wg=; b=yDGraFplUp9TnM2Cq9qW4O7MR34ELrkLq0clMJyQVu3QpMdoGB7E8TsK5EEVfb3AxO WaJ6ezY1kC6W/wtEqTzxFEh/E575kkS6FWJHPCsnTx4G2HZpuS/kv54De5TKofrIpwIq tqPLf0qiP1i8dMWp3Zvo29CJvn38mSxjxlI2TuCWafxrconTlk/bx/ojpyJ8HXm/BJG3 P0Wxo3q63dtOkEubJj23wS0I5AJQjX8+y4dBmefxfMnu+7qtolYBc+FqE0YiySfnMXf/ WSr2BvNqTn4mWkWCNt9I0K9rScd6JCpiCPGKYErB04ErYs2gOJJMlblKkH6UrmjEaiIt bVlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JovNpSjS; 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-48583-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48583-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCV+8cxQk+UXwnqQEpnBJsJkC5kWDtHFdbkx32buQ+iohErYlpufOHM1iLOW4L5DVhaukuUcFNifwAeHYndB86yvDbam4g== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p5-20020a50cd85000000b0055f903e37f7si10457edi.116.2024.02.01.09.23.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 09:23:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48583-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JovNpSjS; 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-48583-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48583-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 859601F269B1 for ; Thu, 1 Feb 2024 17:23:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C544C6308F; Thu, 1 Feb 2024 17:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JovNpSjS" Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (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 ECEDC1649D5 for ; Thu, 1 Feb 2024 17:22:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808151; cv=none; b=OQRsmVWJ1dICPfKd1ao0OoZOWnIHIrT9WMVxhrYSKUyeOUQlhY78yAc/9gtqr6WqZj6Zdop6iVEMoIdS1zwhl2l9qp1jFVpNEuIO86VPF4ns9FasAN3tCReKodVh7uxEn9KA6/yQ0A8gEXqhqicyc6Tm9cY68cG4KGqwQZWbeR4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706808151; c=relaxed/simple; bh=FZi8cuS5zbsSseMLtcLBjqBxbx1ip5hphT5FWZ6ecYQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IgND2iV2k2+39wVasX3j7t0J3lfNCXH5Iu+rvsSS1C57i1/APrCqneZSKr8obi1I5IsbRZWjGo+QS7csxrS5Qb1kqUO8Mxrcjmymd0lTDPPeITHtMRdlJeQR34KfF3+8oNvYyWwAqnqjiBnTahigthC1D+K4tXnqC3mjlLYF3V8= 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=JovNpSjS; arc=none smtp.client-ip=209.85.221.44 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-f44.google.com with SMTP id ffacd0b85a97d-33ae7ae9ec5so746040f8f.0 for ; Thu, 01 Feb 2024 09:22:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706808148; x=1707412948; 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=655phT6p/xX4gabPq+CgbuzehrB6Qvw3RCd729athhY=; b=JovNpSjSeP7P82V7KZkXGFt1l+6umLQl3dX1Cn9/Diwi7oB+jrbIkx3i0r8cYLpcW9 LLOetjUICVvNZqzhPWNhQ5y6qLZE3RN3TBbTo9/cH1P8J0GojE1xuEOgydIhS79VH+8q Bc9EGibEj+JVxL/nEUCeW8nJnTPQIskTBAxr7iyP5heZycfOiIoeBPnTOl1c331+YVCq GPip5p8AQDbYpDruAVod6flcYvnMqBrpZVboGITIBPpl8oODQRaDWYTbeoVt1kfe+4XR ejcISiBW1m51VUF0VEFzg9EVNeJDviV+nFfwhTf07kvZ/sKeephbMUyUse/lOqtTGfUK dOqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706808148; x=1707412948; 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=655phT6p/xX4gabPq+CgbuzehrB6Qvw3RCd729athhY=; b=qnYXzrSxje98AtPTlBdydMfDIfgoocT53KdcV1V2OX6PiiwbAXDKn40R65IbS8g9Kz 9h7Y+7S4T7E9+bzYWSuyxJCxAhjubH+CBl6ADyCVGqeEh0TqhxWUDOXUiX19Lbmo5sxN 5FhY3qccn9RAQ0erECKW1W3q5XApwQGstcBNEJxVdLs2KiY8LvU8+Wox6gu4rVo1uknD +fEJyE8w8n3mZBpbxS3iFfhB+0zGlH/IPzNzq3/+Kn2NkM17Rm7utZeF8pRhrWeLWg/l O8EEhibGlY9EtSwstTLfaeu/ySosC3+Q8wNYXLrrSmRBhyf1krYoivbeH2Sda79jrzKy pDGg== X-Gm-Message-State: AOJu0YzoKRgRaabiqFDAXIiiV3uFhLrBA2Md6ot3flxVuj/bfgJEFQK+ T6z/ikz3GT5wJk6OVNkwm4krpn+d7IzRcuCb+ST95TtOWIr3UlWx1vm4YOkn4N8= X-Received: by 2002:adf:f590:0:b0:339:39ea:aaa3 with SMTP id f16-20020adff590000000b0033939eaaaa3mr4042470wro.54.1706808148176; Thu, 01 Feb 2024 09:22:28 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUdrtxBDnY1A3xcSW6aLqqdnaZ61n5bIgrQUbPZtoaim07Ow3vHyyZM7skGO5J14mICRMK8c/V12CHhtfZnPhvhARkbATId9ksintnLX7edGzdXf0n0m+hwRVJ+fABZYnzWuHcFrxVq6D5Okm72XGhVO4ZTJQuUWlnkY9V3I1q7kiEN/h+QNnUgzwUUUKrT26bAYd0qzSvFpYjcUCHAfE+3Nly0aL3OMbUAOlvnhZgc5Cl9AFH2cYyLIgvIEJFSYmxYNNGlTIwYfNy6dDtj2BFnIJDlHnovmzTDwoD55AwIgfi9GH92V1Ibn+IFZd3U8s9FEz7fpqAbR7z3RFrw0O1l5MweKVBCIC7443Hxw8diGijYa05UCV4QCliR0W1McSSdYdYlCdl6JX8hU/Yvrmz74jao1Dk/BEaiF4XGe9NNpnpedjpot8YAJqydMOO8P+ME/LbWMuQ3YS8b2wcmvEKS556Epq3q5Kfwt90HwTHiUjHBftpZq8dLMmYhWMwlTHjKZdrSBmTVbSDSlWsm51XYoaorqwsdI/jMTcuyTgRoopkLOGogGhm8bxqECVH4Dp4= 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.27 (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 4/4] soc: samsung: exynos-chipid: fix revision calculation for gs101 Date: Thu, 1 Feb 2024 17:22:24 +0000 Message-ID: <20240201172224.574238-4-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789718152909971122 X-GMAIL-MSGID: 1789718152909971122 The main revision for gs101 SoC is not reported in the CHIPID_REV register. The gs101 Product ID and revisions registers have a behaviour split between old Exynos SoCs and new SoCs. The sub-revision is reported in CHIPID_REV register in [19:16] bits but main revision is still present in Product ID [7:0]. To construct soc_info->revision correctly for gs101 the main_rev should not be reset from a value read from CHIPID_REV. Signed-off-by: Alexey Klimov --- drivers/soc/samsung/exynos-chipid.c | 20 ++++++++++++++++---- include/linux/soc/samsung/exynos-chipid.h | 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index 7fee6094db12..3b952ffd8cf7 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -87,14 +87,26 @@ static int exynos_chipid_get_chipid_info(struct regmap *regmap, soc_info->product_id = val & EXYNOS_MASK; if (data->rev_reg != EXYNOS_CHIPID_REG_PRO_ID) { - ret = regmap_read(regmap, data->rev_reg, &val); + unsigned int val2; + + ret = regmap_read(regmap, data->rev_reg, &val2); if (ret < 0) return ret; + + if (data->main_rev_shift == 0) + main_rev = (val >> data->main_rev_shift) + & EXYNOS_REV_PART_MASK_GS101; + else + main_rev = (val2 >> data->main_rev_shift) + & EXYNOS_REV_PART_MASK; + + sub_rev = (val2 >> data->sub_rev_shift) & EXYNOS_REV_PART_MASK; + } else { + main_rev = (val >> data->main_rev_shift) & EXYNOS_REV_PART_MASK; + sub_rev = (val >> data->sub_rev_shift) & EXYNOS_REV_PART_MASK; } - main_rev = (val >> data->main_rev_shift) & EXYNOS_REV_PART_MASK; - sub_rev = (val >> data->sub_rev_shift) & EXYNOS_REV_PART_MASK; - soc_info->revision = (main_rev << EXYNOS_REV_PART_SHIFT) | sub_rev; + soc_info->revision = (main_rev << EXYNOS_REV_PART_SHIFT) | sub_rev; return 0; } diff --git a/include/linux/soc/samsung/exynos-chipid.h b/include/linux/soc/samsung/exynos-chipid.h index 62f0e2531068..1eb13068f513 100644 --- a/include/linux/soc/samsung/exynos-chipid.h +++ b/include/linux/soc/samsung/exynos-chipid.h @@ -10,6 +10,7 @@ #define EXYNOS_CHIPID_REG_PRO_ID 0x00 #define EXYNOS_REV_PART_MASK 0xf +#define EXYNOS_REV_PART_MASK_GS101 0xff #define EXYNOS_REV_PART_SHIFT 4 #define EXYNOS_MASK 0xfffff000