From patchwork Mon Jul 10 19:01:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 13307494 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 62917EB64DA for ; Mon, 10 Jul 2023 19:02:06 +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=wgqi3UUOrNTU17 LjGTHtBsSMqdGaNweEdxcmF9rKxFkRxRBt1KucWIBif2sj2KNf0KHzwAI/wWLwNMaLm9f9KJOzOoi /9thdM8JgBYMyo7KePK7CtJK3ATzZlj7d29KWp5alXSOh3fSKJn1PRun8l4Z+L8yZMtNm6MNE9H0o vT9eh+a8QLP3+0bZiiWOGnfnjbf/hG4hFXaoc8ugO+dO/zm/08E/hu1tFAEwvYw/YGGmav5o/fpXB SratlYLEA0kOOhPfug0YxroHyc7sY1KyVY7ZVGsE0PfOE7v9IYbb6U2A2egyvZ1Nif6IGIuc9s94r TXDsNTBU2ZabMeW0YoWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qIw8V-00CW50-2x; Mon, 10 Jul 2023 19:01:27 +0000 Received: from madras.collabora.co.uk ([46.235.227.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qIw8Q-00CW2D-2L for linux-arm-kernel@lists.infradead.org; Mon, 10 Jul 2023 19:01:26 +0000 Received: from localhost (unknown [86.121.239.69]) (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 B575E66020F5; Mon, 10 Jul 2023 20:01:12 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689015672; bh=/UrdOsiu0BTagsy93+I89v+8FHLbrrLTy+GX8Y1i0Lo=; h=From:To:Cc:Subject:Date:From; b=Eh1alHiAd/5UcEG/AZBaocn4wyZf9MmnhgGCERyNpFbzn72qaA+Iq4VIDGqLvYly8 NNHzwXfZJBDcrOwmAd3to9hSDW8hIOanaaQwCi6UPo+Vsdkf+bzc5f9R0w5hSDI1bl X36bYhLKamsAjgfMdq2olGkB9Cx2qFS0joGm6C5QGS4/dSmAeSlR1UF59tNy8o/gWj WgAMF0P++ABiCmFED3avRAx6OOrtNJ9qQU6byllem19tfwm3qTGSTBTSKfd0Gb692r z9VPAfMdCjGtPuUl9Rmf7ydmAahTVRYTwcZqA9XIAgNRk9rhsAXKm9O5s1w27kB1Af fO2hRcBxDq3Vg== From: Cristian Ciocaltea To: Heiko Stuebner Cc: Catalin Marinas , Will Deacon , Bjorn Andersson , Arnd Bergmann , Krzysztof Kozlowski , Geert Uytterhoeven , Konrad Dybcio , Neil Armstrong , Mark Brown , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH RESEND] arm64: defconfig: Enable Rockchip OTP memory driver Date: Mon, 10 Jul 2023 22:01:07 +0300 Message-ID: <20230710190107.32451-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230710_120122_909953_FFA5E6BE X-CRM114-Status: GOOD ( 10.18 ) 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