From patchwork Sun Jun 4 17:13:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13266711 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 74AA1C77B73 for ; Sun, 4 Jun 2023 17:14:23 +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: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:In-Reply-To:References: List-Owner; bh=ZGy+3lVUKuCdvvhNIJc7VEhRkQAFHBGgPCCk6HJiWzk=; b=ddORV0I0byn8hY YOa7ZxIJBVanuPjLVIe8MJeQwyJK9hnUvuUNg7ONE4Aq9A2CgCOwTjD0onLmPQbFl8xYL+Upy8u4j zlJY2s0ug8krTIWx/oWfc4MxlVPBz3yrFz55VMH8s4ZrQeTDmhO/mOmOwBu2xOd00lNXkc2jd0Uo4 FlqvtoMjg3ZsBqmE8E7J9o6ojZPTqVblw96MQzi8DyK7doPIywJRcFt4In6lS1HToasnTSe8t4Zbq aURY96AF+wtcr/WDihxHy3+9L5195zJfP/foCoBTfPDMDYwZ4vCJOy2IRokQ2euBpeC2P/yBZpAmB z1bZcYoJRqDWKOOIxSjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q5rIh-00CXbQ-1a; Sun, 04 Jun 2023 17:13:55 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q5rIe-00CXaH-05 for linux-arm-kernel@lists.infradead.org; Sun, 04 Jun 2023 17:13:53 +0000 Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7B9356601F25; Sun, 4 Jun 2023 18:13:49 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1685898829; bh=/UrdOsiu0BTagsy93+I89v+8FHLbrrLTy+GX8Y1i0Lo=; h=From:To:Cc:Subject:Date:From; b=Ltv//Ic0oU00qRfNZsspBro2ipD2RP+f6VlmjMZa2W7E9KCXFB4XsG2utLCvdNAW1 2gtEXiopLMLLUJafNnNcQuDScSMDGObzBHWhzSbfk+xBjNwQ+DBjTxDTlK87ty/gjH FiePdyVXPWj9T9G4oltu1xaTs/WsORrY9B/bF5Qd3pBIwSawmbG+WIyXMG2OaB/0Cx K4YIIuyFzxVjr9JqILx5KPxbZrQfNxxsO6QsTr15ThZGQgZixjDkrt6VTAzi0lBTGk gCwvQ47YnOFAxZigT93Lll+f07muzZ18VFxbRjjgTDEdttPTvUtH0RQOIkz6+TwusU Dza+MSyieRyGQ== From: Cristian Ciocaltea To: Catalin Marinas , Will Deacon , Bjorn Andersson , Arnd Bergmann , Krzysztof Kozlowski , Geert Uytterhoeven , Konrad Dybcio , Neil Armstrong , Mark Brown , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [RESEND PATCH] arm64: defconfig: Enable Rockchip OTP memory driver Date: Sun, 4 Jun 2023 20:13:45 +0300 Message-Id: <20230604171345.1215276-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230604_101352_209599_8EEB1A16 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. 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 The Rockchip one-time programmable memory driver provides access to various SoC specific information, e.g. leakage currents of the CPU/GPU/NPU components found on a RK3588 SoC. Enable the driver as built-in to allow client device drivers (e.g. cpufreq) to access the required data for proper settings adjustment. Signed-off-by: Cristian Ciocaltea --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a3112e2bf5ed..8cd4d06a8e7f 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1399,6 +1399,7 @@ CONFIG_NVMEM_MTK_EFUSE=y CONFIG_NVMEM_QCOM_QFPROM=y CONFIG_NVMEM_RMEM=m CONFIG_NVMEM_ROCKCHIP_EFUSE=y +CONFIG_NVMEM_ROCKCHIP_OTP=y CONFIG_NVMEM_SNVS_LPGPR=y CONFIG_NVMEM_SPMI_SDAM=m CONFIG_NVMEM_SUNXI_SID=y