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: 103035 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2245235vqr; Sun, 4 Jun 2023 10:30:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6kYakO2PykHHPkv+gKsP/FGb9Llrcpd2mVDJ8VTlCt5NDjmFfX8YIsyE+eJceDYAoTZQqJ X-Received: by 2002:a9d:69c3:0:b0:6b0:a7f8:aef3 with SMTP id v3-20020a9d69c3000000b006b0a7f8aef3mr8123067oto.25.1685899841405; Sun, 04 Jun 2023 10:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685899841; cv=none; d=google.com; s=arc-20160816; b=eDbNnQEZsz5hERvVWZc0WBlfK1hzvim4fE0PdoiPolvLqq7Ju3hRgzI2rqEYVSWEAd Ds5q135CeG45kuCt15gJtai1BZGF/ZWWNTHGsFYkwx+EfbwJ30SyzGTwvLUIzOnyQP/H Q3Q4ln5JrWTY77NOrxJpfkYSND9wI3xUZ1Nseq9KJUNyhI+5pxoOKD/6LkwTY4/O0qfa hErFf5zaEhIULFqFCsxnVTwA6Re0OddygoyvrpVqppts28Ab2ZeJ91r0cUIelLmzWR9B wIZDZz3vDy/0TWfwjP3SkvR5h/Mveh6O2hh6bedPtvK3asz3m5k+eFC9KmNVrokB9WRe tlug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WHLMKWf0AV2D8uWFnDNegkhS+vwTCw+hl0/dX8BAAGw=; b=p6oCDtA8afekGcrSpr9Zi4WZGmgEogg8FJO4k/KlzbPrnAGjINwys5+zkvVD6SotwC xW/AtO6INsaJcGcj6j27vpkOMyPNY8bRW819H7E/mKDz8QU1Jyx1R8E9U5O3kH9UoZsk KqSwPsdVtGOG0SvEAA0fAwKUIIJ4qhHaLvwuZoImka2sWFjn814UcxNUHNT5uC8jKQpq /fljwcyQ03ATpCbOvQGsTuAm50pGF/jVSQlfKVj8AOgnuEJ6NlkAI/oN809qrlRJRkrg 9aWAL8SdfH8s5e9KzCG2DtbfD+c5ISOMlMvDK1sEujCjc1QxIH9v8QHxYal7GWFh2sza 3/jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="Ltv//Ic0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b66-20020a62cf45000000b0063b872934a4si4125699pfg.340.2023.06.04.10.30.27; Sun, 04 Jun 2023 10:30:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="Ltv//Ic0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231805AbjFDRNx (ORCPT + 99 others); Sun, 4 Jun 2023 13:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbjFDRNv (ORCPT ); Sun, 4 Jun 2023 13:13:51 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E75A5B7 for ; Sun, 4 Jun 2023 10:13:50 -0700 (PDT) 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767794111820586000?= X-GMAIL-MSGID: =?utf-8?q?1767794111820586000?= 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