Message ID | 20240206145721.2418893-1-msp@baylibre.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-55159-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1596047dyb; Tue, 6 Feb 2024 07:00:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwoGj5hCEtO9v50a2kQxfhmXyLPwZGdHOk3YnURbR4Hpu7UqhItwHzLWzxk98ET+iiu5xb X-Received: by 2002:a05:6300:8082:b0:19c:6b59:b9fc with SMTP id ap2-20020a056300808200b0019c6b59b9fcmr1848567pzc.24.1707231657791; Tue, 06 Feb 2024 07:00:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707231657; cv=pass; d=google.com; s=arc-20160816; b=TxoZWKbnLze5cclYnXuDMsszDuCtBxDyPwNU5hsJn4QPny4DrkMzNBmbafH8Vx/1FK VUsfFAQLM0CC1pPw1Amk1Wf3V7ed7Yd2vFTmttKE5jfTQtvID6/jUa3sb/U1n5tarsVf lokQL1JCnaXvhhCKetwZqSa0ZEwBkQ5Ss4l5nwlxynd2zh+/eomgxXh9i7TEgSOq8aH7 JQl+uCgZCEmTMdotNS6LfEl071VXUXMYzzjUNKPOUqVRSOGNF0eqECRyKLMVq5vAMjyU czS48/fq6g7Y2L5oR2hFZczVusuKpsDFlMav7V65w5cS3FuFycajlLptVz2ULTzaIJgS L5dA== 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=qd/yin5VMysEvNts0gZadD23DoOM8LUOgcjY6AROhAY=; fh=9zVd9kNj00gX4hZXWnsKcFkJyw5qqaBpLP5hlNhzoek=; b=FmITqP+J0ViW4OiEiGGI8ESqs16vR22BSSXrKpIT5dhL7+8nRwzWqRBAq4W8SjTmwX y4NrJjQXV7W2a9ikEBEXVyz4W/z4RXV+EEgvcmxMo13sOEQtshYepf+5Zx4qZ6ki8eFG lwlb3+AsKwKEyDzsVVXQhEfwNjPtXYGpHh5e9SAvDRrDCwfYjtUK6DnPv+V2CFd8xnX2 PuF0lCg5XKlm6X85HObvmXRvI7iP2HGjCcP8ckid3eQShqgOPqml+p/AoA0CD3xUlN62 nfEczpEwDFRHIYSqCDA3M56ScpUkrDB9/nGvsHxPVMgIIl7CDfAJtfwhUNnQRn6/+kJa 5rMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="Bm/23kc0"; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55159-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55159-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUYX2Sci6QKemijIlleTpZgeFe6SY7H/rCYPRC2bOQsnq9/yNJ534OW6pyhe6gKNGu5nWzdkmMRCyB3UH3EyeNOi3tjNA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h8-20020a635748000000b005cdfd4aa8b3si1728617pgm.193.2024.02.06.07.00.57 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 07:00:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55159-ouuuleilei=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=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="Bm/23kc0"; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55159-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55159-ouuuleilei=gmail.com@vger.kernel.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 9A8EA282C06 for <ouuuleilei@gmail.com>; Tue, 6 Feb 2024 15:00:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 628D3134CC5; Tue, 6 Feb 2024 14:57:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="Bm/23kc0" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.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 5C655132C13 for <linux-kernel@vger.kernel.org>; Tue, 6 Feb 2024 14:57:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707231459; cv=none; b=IVphwayORM11CTe+ednr5tywVkG9ZdVHT0IUws9u8pHv0UujjI+EDfcatCFHSRNQOpRZCyyN4jKggqMx+eAw3wcgaKPjvQgw8wdhYyKslowPubn8B2P3VuUOtRiZNw7HmYF/dV4m6lXNqSbHcAsmoS+ldn/IZJpldSm1+fxrTXQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707231459; c=relaxed/simple; bh=SkFzRVizX3/7zSePWgBSFxKQK0lRv7CXVzyQ0OMy4qY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=olOAeXFsGq85bBFHzpRRCZszoh0UZEwv4D103tgXi/5NckIIa91+vZ5Q2UEUSPmhuG1q7GA9j6PLZAE4CifVzgF1lIrmSqXOMCdtNqWBx9I5T3fzKZXubXB3b+AfEYFfqClZw+TBhhWiHX+boiVgUEA1Xl97fKWG6gypZmB0r2Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=Bm/23kc0; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-40fc6343bd2so38603005e9.1 for <linux-kernel@vger.kernel.org>; Tue, 06 Feb 2024 06:57:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1707231454; x=1707836254; 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=qd/yin5VMysEvNts0gZadD23DoOM8LUOgcjY6AROhAY=; b=Bm/23kc0Ms5YB0lnK6BhEjO/Lt3vff9S1kuSA5ZCvTENQtNQEOOktHyIl/DbLQb/ze 4oxMjBqZNweCp2xuwvoeJI1uoKnBGCUISbI1bqpsjH9msGcsLOV+vKRHBoG6G1XgLHGS hrFurQm6XHePcqMD0cqgdEHxKLChbohAGxtYW71A24GIQsigKSNZtuiRtQCouY7JK69l HD9Q2Ux7l66w5XlcpsbewAiXbAHJw6EDo9C0m77xQaam/zUzi7laarPuw6k5TWfUWV4Q P1p+vVvKYE8r2BSuoiik978DI8APmwXv2mEiCyaaEXBEKM86A7ZlKAJCs/PrHcIPDpEJ v7tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707231454; x=1707836254; 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=qd/yin5VMysEvNts0gZadD23DoOM8LUOgcjY6AROhAY=; b=VZpjZZB6EXxWs0ju6Qn1329jyjm2X9wGZjqGF8GdCDeDb666MeeCt7UDWyBryqgzuU y1RAH62CbV0uMKrrAtTW/j01KlRVao1QrGp+1trs8yMkiFmQSnnAn6i4s4GnGgtJDalJ Q+/JAh7AqNKoXb5vmLAFzRAGi179I3nZyoQ7A5psUR0aUbvM7rmbx5cgKX+NgiYatfgS en85HzQjbu5faea1lssQaYeNtKDwIeBX0XCYDC+VTRAm4V41Vh+KGbZFEiRsM3cdaFQG pGaPQpQE8QATDMXbKHrWB9ZyCf/lq6zoqPaXneceve3PXpoGmB5XPW5hSQnbovTQK/F7 Rb2A== X-Gm-Message-State: AOJu0Yzp5HhbBqxKIzFNPNHQTSJmZXid4fX34LGARE2Dhu640SJVSKfd 9DSLG4vuBOi/jF+5RFEDsR78N4Z6OCpo7OHcFKJ5QTomDnsjk7vdT5Tf/wMjzWg= X-Received: by 2002:a05:600c:1990:b0:40e:b0fd:3c09 with SMTP id t16-20020a05600c199000b0040eb0fd3c09mr2173252wmq.9.1707231454609; Tue, 06 Feb 2024 06:57:34 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCVT2HGPPh7VxjWsMbUaOVrJSYCzgoyTXQ2+KTDlQ5a49yS8VdgV9HXjUVlPEY3cJ5iR3QQsmBMolekOX0OYwPBywCZ/U0VnmcW3WkdEytqBfEQHzkW55XVabAFDEbYvjuevDWfEzdA1cGYxU9ImFBWd8cgRWEdET/N3ZUZtmx3j6gGl7X8X5pAyuxfg0WHU/iq99R08xQF3NoaqtRl8JiJMvP7MiZbPDxHnAQCKNU741W93qle/IQzwQB8sEb7KIfuTDZxwZS9VkHST2Bmf4ansRptnISA5rtVGBQY3I2flGxy9QupXZC4RUknVO6cnpI8WUK6tvBPPgKxNn8QPNGFbb+jeiyA5dFBPSwKlPCU8ELl8ud0aa7xEnXj+ENM0lx3y4wd5mi5wnjD8g0i1B2iTTaw9xSGhnY4QXfJGgk5lzCa24YgrJKgGwkYLa+5A/u7ckc+nGjDJ+FvMaGZYIAu9MknZ4PHSTRFt Received: from blmsp.fritz.box ([2001:4091:a246:821e:6f3b:6b50:4762:8343]) by smtp.gmail.com with ESMTPSA id l14-20020a05600c4f0e00b0040fc56712e8sm2257896wmq.17.2024.02.06.06.57.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:57:34 -0800 (PST) From: Markus Schneider-Pargmann <msp@baylibre.com> To: Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org>, "Rafael J . Wysocki" <rafael@kernel.org> Cc: Andrew Davis <afd@ti.com>, Dhruva Gole <d-gole@ti.com>, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Markus Schneider-Pargmann <msp@baylibre.com> Subject: [PATCH 0/3] arm64: am62: Use nvmem for chip information in opp table Date: Tue, 6 Feb 2024 15:57:18 +0100 Message-ID: <20240206145721.2418893-1-msp@baylibre.com> X-Mailer: git-send-email 2.43.0 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: 1790162142764216889 X-GMAIL-MSGID: 1790162142764216889 |
Series |
arm64: am62: Use nvmem for chip information in opp table
|
|
Message
Markus Schneider-Pargmann
Feb. 6, 2024, 2:57 p.m. UTC
Hi everyone, the OPP table on am625 currently uses a syscon node to get required information from efuse registers. As efuse registers contain many different information, this series adds nvmem support for the TI OPP table and cpufreq driver. This way just the specific information can be referenced in the devicetree without the need to use a syscon reference. The nvmem layout is added in my previous series, links are below. This series is based on https://lore.kernel.org/linux-arm-kernel/20240206143711.2410135-1-msp@baylibre.com/ Which is also available on my public git: https://gitlab.baylibre.com/msp8/linux/-/tree/topic/ti-chipid-nvmem/v6.8?ref_type=heads This series is available on git as well: https://gitlab.baylibre.com/msp8/linux/-/tree/topic/ti-cpufreq-nvmem/v6.8?ref_type=heads Best, Markus Markus Schneider-Pargmann (3): dt-bindings: cpufreq: Add nvmem-cells for chip information cpufreq: ti-cpufreq: Support nvmem for chip version arm64: dts: ti: k3-am625: Use nvmem-cells for opp .../opp/operating-points-v2-ti-cpu.yaml | 16 ++- arch/arm64/boot/dts/ti/k3-am625.dtsi | 2 + drivers/cpufreq/ti-cpufreq.c | 105 +++++++++++------- 3 files changed, 83 insertions(+), 40 deletions(-)