Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3088250rdb; Tue, 6 Feb 2024 06:59:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXdxjO1MbX4Ha6oGhH0mP5v/2fq1EtDnVKl78SQHbVnGgnzfqfpAeLKGk2tbSu8JtWvsq4 X-Received: by 2002:a17:906:3803:b0:a37:2bb1:7517 with SMTP id v3-20020a170906380300b00a372bb17517mr1897237ejc.45.1707231571092; Tue, 06 Feb 2024 06:59:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707231571; cv=pass; d=google.com; s=arc-20160816; b=NInKsSbhWvhX3vyxgmk4rKIFUmGxQ2rmq1qpiX76S5LfnHYH3Ty5axSdlZRZrSD0eG Rd7JPKkKrlHS9AVXmOJ8WjhgIdMjCiOjzrSqlOrcN4tjbgEpqEgKhQUd+RBt1IZCvndd hFsIuNb6VTbtbh8eXeUbPDPeOTEhK6scOYjMibtQQVp540ibjKsv405KtTka4D9LB6my WmT4IIv9DjLyDLiOZAUg2xqxzYiVQVfrxX43C2ncNE2GUy0klaF1JqBjFxnppWfz7a5X 23PFv7LoNV1zQxtXkRNbOy8ix1tBFMuGAtk9+MVknEGrm8nU3hOs2/m9Bq/dzKmoDG9j dI1g== 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=2ztWbj4IgFSONX7STfY3kK+zk6b/sTMzCGkHf/URd7A=; b=0lf1biX9Becgh+aHtFuO4ROJf07tuclgXQPVoxColUtevgg9z34CzhohCFgmlCQv8k /2J3Z9Lo8u0jV/kP3MLZHZTTWgLUa3qgeSVI1uVfUUtH3ccsEoAipSJcHT8+YptqJooR en/u2h8tDwJyTr1NMYE4FWK0nCxNU3ulB/cHSgZoQVwH4zOepux/ZJp4hrTCrAtfqFes tIZsGxnGwS13dobkCx1HW8B4bPaPwVIf8n0W3OAz65UBG7ySmEhPvxdbY2qrjXtPY/1e 4inxPOfEPV7bXNm3aUCV4l8g0z85KfgPHp+JVxMV2EWqLmKDS3OGWs67p8AbfAzWB9b7 daIg==; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55159-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWWuQ3hertQyti5K88QEa1fd1Q7IRwcIQywNkwvpEqKfNCfCO9FFzxkBgqOZaGagWpvOqPU9dA33Xe9SihkqdL22l5hyuc0tR0Jb50oJA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ch5-20020a170906c2c500b00a3807ff66c7si1168252ejb.604.2024.02.06.06.59.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:59:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55159-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55159-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D495D1F264CF for ; Tue, 6 Feb 2024 14:59:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 498B31339B6; Tue, 6 Feb 2024 14:57:40 +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 ; 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 ; 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 To: Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Tero Kristo , "Rafael J . Wysocki" Cc: Andrew Davis , Dhruva Gole , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Markus Schneider-Pargmann 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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(-) -- 2.43.0