Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3089494rdb; Tue, 6 Feb 2024 07:00:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJ2zoprITvWIysIrzFsPHNGqLxM8SUKQTJP/82u/vMXZiDpwCJjGHFe7/V5ZHDZ7dtQYnk X-Received: by 2002:a17:90a:b005:b0:296:221c:f358 with SMTP id x5-20020a17090ab00500b00296221cf358mr2457355pjq.20.1707231657350; 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=MviJDruxyI4IgNaSma1NPFRTUTwEDTOrF1Z5VbnFmlsW0y61yCJ2cqbuGz3uR0OfBh fzz+y9oYmgTGvvtIEpPq8tsRyVMFliWqMPI84l7+FNE8bUYFIH0bd9ZqPRTAjkPBZtk3 ERt6MmkjT+Im4EFCaAtVY08VcHyZO8lFmvdMxGf/aKNN4AUR6O2fSM1QPo3EXZrs+uQL CXL3ynDrOwQmKTQaRTe63ZGLDGSYiJ8SeKkK0JoSdkbpbcJL6/Une9o3bIXbQneoaGlm hl1Xh3ZoG3OawZw+xLZWf2afuRuMTAPhK8GfSljp4psc7Cpf4Ux7mfeNvm8avE7JSx25 fvPw== 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=gASO78qnd+QKC6Tryaqp/xMfAhHvhZxuVEnU1FHt3IQ=; fh=YEHY2w9CkHvtjhv1/+qi2OtNDgSeYSH3in4ZAg7kLr8=; b=zSSo9zdYk3zcAXY0HRB4l5eKi8BTKsA0gog/Kf+v5bKRsThJ4w3z24231u5A1Ae1PS 5JG4oxvByUpIecZNLdAoJaHzJ9h46zvfmb0RDe7HHvr8rzhUSzmX9pTAWPNEnovVgthW QLqFKrss0j6cNbV4gnLvKe9muTDpxzXs54hT8mD5733IRt/vNCqao9lqETVlRnRaNFzI OLNHH9Usjq6qqGwEhJAe/lXHlCeAug+lPgrrOqBE2hEz2Umj0Ifccd5X/qteTl8KhXoP ha70o8QlGJTF355e4J/rSvXKHj0T/tLiMwC0iyFXsWKwyduIXoszoK6ye550Z6q6fOl3 sQMg==; 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=jmNeG6Ka; 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-55161-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55161-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXlZnHioo3YFQfWHCkWjBXbTEkywveisXGHLIpHDasUP0CTVuPGseg7aeW4YqIaLSmYH2yIfBYkUp1hsMJUJP2ZCkXXc1Bjp3rGsW901Q== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l13-20020a17090a49cd00b002935f38dcf1si1227561pjm.181.2024.02.06.07.00.57 for (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-55161-linux.lists.archive=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=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=jmNeG6Ka; 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-55161-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55161-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 231C628D451 for ; 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 5E069134CC4; 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="jmNeG6Ka" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 AE8AE1339A9 for ; Tue, 6 Feb 2024 14:57:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707231461; cv=none; b=liYGaC3bcPwR/kGLu4jtMPLaFh/TlVrtJSTlC1mmaUKAN2WhU6c9CkYkzRVkRsAa/g3ii3sHeqsT/VWPdiZ3XE09Cu+IL4odMNKKLLFUu1AlgfddaOTSgI6CPepSoHWNJr/XZuf5kjlEIJiA+VUiQQNRaNnb2KXj/KTnoGQCkDk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707231461; c=relaxed/simple; bh=At3NKgE1b3gmQgeFp6wQ2Vd4bXzt+qAWBTc/hTeP86c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DHuLqoBEa3Xhx4JrqT3vusapHefaa3rVc8L0Q3IMiGck6dXw2SUpeTMJkF4RZrLcEKjM74ELadfMukqlFIsW97qoU5st8HRU7aUJ3xRorpgghQz6nMU3psWzn5CvBY+1XDex2zF9aaQ/HKWHvH8AX+OocXNh2JaMkVRNDKf1jks= 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=jmNeG6Ka; arc=none smtp.client-ip=209.85.128.49 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-f49.google.com with SMTP id 5b1f17b1804b1-40fe2d3d5a9so6009855e9.0 for ; Tue, 06 Feb 2024 06:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1707231458; x=1707836258; 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=gASO78qnd+QKC6Tryaqp/xMfAhHvhZxuVEnU1FHt3IQ=; b=jmNeG6Ka6mK5PBQeg5+cSTHQc18pmDVl51g9Vritw5BI1+MxHq9v4N9I1l/MMjkMcR aITzRkUbxwQiYu2gqcwQ2BIfY43fDMEUhS+h9AyngMTeEnJfGKsrBDs5X58CKCIB/syM vgDI69KsoDoajaXws2etgus1ULixRRpFOAmolUUERCtDkfK3GYeYdXWPkDW1rDhJjuZz v/fgVWD8TFSOPtfrh/22tzcHqT9Vj32A8jPvmwHX7J8HG6akuP4W1iEvoH05Wc2HKY4T Cg3vRBStqlFhjI56hBJIvNCH/NMg3B2f102vTPdIV8XS4fmKoHawWEAUA2jOxkgNo1Yj WjGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707231458; x=1707836258; 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=gASO78qnd+QKC6Tryaqp/xMfAhHvhZxuVEnU1FHt3IQ=; b=pY1uv8edjIK/DLzBuR0m/hZqnVmN4DBjzklqPUdHyY5LRUjm6M68f55T3CzGYFY5sY nckKb7ZCsJs3LBqhrc5HEadS/WRSTYWJE0gUZZgYKBZURGpcFXL7Bapq3tq2QQFmlUQO Ee4R6Xup217lQzLDErMT1m1qhpfYEKxjd1eJ3nF0mmHxao1jUNPgDRuyYKUSJ3J2emZm S1m4a2lptEgYi1YzLVPQux6sFI6NV14FP0ECqwZvlCXHRjeRmbgs0brkaEZIov7uJ6zA tdjRP/Q81Y3INvPm2dVxSfNpqoau5/Oim9dm7AmSEp5M/0LmkjGquKWdfc0fsTYvArJ8 nBFA== X-Gm-Message-State: AOJu0YzT/zlvbKl1btqou/B6IbkqPKPWgBZTeDelnTzzGLyZfAj6jQRW JRqvbR4qlwRP5OL5QR6G9IGVA3IuEeijXRcyUxC8Odgi/TJHPB2GhhgL770BFGY= X-Received: by 2002:adf:ed06:0:b0:33b:2658:cb3f with SMTP id a6-20020adfed06000000b0033b2658cb3fmr1379548wro.64.1707231457878; Tue, 06 Feb 2024 06:57:37 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW+e3f5uvLGpr7flmrRvo7g/ZKUCh94rCar9aQ2aSwAPj/XhZOEv5Lhb2DES8a71KjQJwvfWXUMUYDSTajwyx8IisYphxcpVwURtlN8y+wGHywkjUR7SFw0DxyjGKvx86titt9zgHSb5CSpKKu6ObesGMlybdi8rmzkL1RHLwAnOQxULy7MwMWVmSjr5WtwWNO6rwpgbx8r0XLUUXBzRoNZL4pRtaimUBJ6GOPz2w61B2/KbajRd9z/vlUxMj0UCDhcj447yw44xT5xiAbrl51P6I6w8yfDJn9NB1BnkjsxL7/mH8D/v+HEUu9OPkzwI7y3w6hQL0LI82jEo1amSFpaFlOh5fmdBujRB086J6Vq2DI1QdO2XOZwpbxWhH+bByLavXAVp0gnqyXYqAPT5DB+CYGxIpUyIcQDKfRK/TlJhS9HNRPVlwFOEsxuVb15xFojA7FDoAlBOeQgDbJUFh8yatRIJs4QDNBC 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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 06:57:37 -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 3/3] arm64: dts: ti: k3-am625: Use nvmem-cells for opp Date: Tue, 6 Feb 2024 15:57:21 +0100 Message-ID: <20240206145721.2418893-4-msp@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240206145721.2418893-1-msp@baylibre.com> References: <20240206145721.2418893-1-msp@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use nvmem cells referring to chip variant and speed grade for the operating points. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am625.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am625.dtsi b/arch/arm64/boot/dts/ti/k3-am625.dtsi index 4193c2b3eed6..d60e1be9eb89 100644 --- a/arch/arm64/boot/dts/ti/k3-am625.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am625.dtsi @@ -105,6 +105,8 @@ a53_opp_table: opp-table { compatible = "operating-points-v2-ti-cpu"; opp-shared; syscon = <&wkup_conf>; + nvmem-cells = <&chip_variant>, <&chip_speed>; + nvmem-cell-names = "chipvariant", "chipspeed"; opp-200000000 { opp-hz = /bits/ 64 <200000000>; -- 2.43.0