From patchwork Tue Feb 6 14:57:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13547421 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 54F5DC4828D for ; Tue, 6 Feb 2024 14:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YQsBJt2dsW5FPdmMOC507VpkcPW448qYhxh6r9fo6YA=; b=ynijNLgstIA6xo a9o/sTcLI8mZ1SK7d7oS6ah4K/TjDyInJIlS80/5qGWvZQCOlx4Q/UxrrssX4kZhNlKmz+7jcabAw GI794Z8SwRWW6hY8sIp0K32pPqpzngzmlWHODf/SAbb4HysZzUGbjEKFC2v46Si4+sXGXhq0IJGZW 73cTQPWELoqt42KEzgbuisJVDm3nZIUs9Qvop7W0O52hI/p8LwQ4j/NwetttqqYke5rUPvuog46Wn vVzwlkqvZRY77k7EUmxthqFMs47ppNFQyY9vGJMguXHJwwA4XLs8yrLyd/CG0T7GanoOSAmm0uY/0 ZZ/Lj9gM4EqXIDR5G/5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXMtQ-00000007xcU-1oHm; Tue, 06 Feb 2024 14:57:48 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXMtM-00000007xXS-2GcK for linux-arm-kernel@lists.infradead.org; Tue, 06 Feb 2024 14:57:45 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33b436dbdcfso956651f8f.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=lists.infradead.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=xglgMrLlrEM5M+6mcOjVdXoKrIDGkkmbuPlW+uhdjipYvDsIhqg+JLyoBwtB/xyMAR aBZSZKqypUonfkd+rTacSAHBeh/24/0tzEUdO+8rcorVNSB8Pb+kxcq2fs+zWSVDadEb FHlDOYvjNQF0rPnKlyiV/g2A90dgpHC2tlLTgnqvzaujQBHaXCKly7ORrTFr3bkc2tK4 UrfpJQS4KsEPuf4gTh23usA4miHAiTnnVETi1/B5D1XDzEv/muWzYMyNi5rrpruCzEsE znyMQNimd9xqVxntydvkjc9u7Cv3KfaV3grCGxvJnFKoPxeAAydU6STNMkMM8Ts+czKc mCOw== 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=VUMpfamjwsudZiWEp57WZfXE9ZVm09KQfrMyYSoK48nWJTCI5JX/BbPVpzKgHw/K6u jOI6Ny8Lm2R7s9La2ZakMjXPloPmI1Ah/VYM4WWqFtW9HR2N7Gpmyz8KroffzNwel8v9 bRkds2d+fE4QEQ2DRvDK1cqoeG4iBwKMSU2t46i8PoMnIeLkuIldRjmHhw0g6t7Cydcr QsCh98tocoIbFX+w/S7VY33tiSgFTM01UV7p1teyL+vbHb3Wk/SDFj+xyR23qhBvWUXb GmLhWPX7k8DV33c36X5z76hIE0wHH5soaoFG6+GHcn51a7VbUpp6T64zPVMHxUBZNZMj nXlA== X-Gm-Message-State: AOJu0Ywes+mLxkcsoCKuzhvrLBWM5f1t7VoYcUTnmMbIRa/ng87BgmpW UPziAc2XDa+0bp1OCfRqwX2dS9PC942jeukRJZ69YTjzKQjazlbTwm+M3ciHz10= X-Google-Smtp-Source: AGHT+IHeUAmaOBGgpivKhM4wX2IuW13WEvwte78xoboY3NHwL6YsIiphL2GESDSDG6g+c8QiLXAkAQ== 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240206_065744_613765_E8DCA37E X-CRM114-Status: GOOD ( 10.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>;