From patchwork Fri Nov 17 14:33:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 166204 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp571181vqn; Fri, 17 Nov 2023 06:34:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNomljyuOhxU9ZPUStgFpIbae2NDbnVdEpHFKdWLvtHxfVomfW/vYJXBz0iLWoPr5yFvUr X-Received: by 2002:a05:6e02:20c5:b0:359:47b9:7bef with SMTP id 5-20020a056e0220c500b0035947b97befmr22718494ilq.1.1700231694867; Fri, 17 Nov 2023 06:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700231694; cv=none; d=google.com; s=arc-20160816; b=f447GW8SPx1UwvO1n5XSBSzwnh3rdT2mipEk45/D8zioHrw/1gH+wOU1FsFbn/8T7J ArHpVTQHjBm3d5hHLTF/LYdvd4RYkY4sy/5JdqUfnTo/IC4D88y9d6AlQpSjZMZoGEsy rgNuFHpLlo2zbxmO9CL3gwyLX9YFq9sM8mHlQGmMsa0IfwbUTDd4jpCuCdMdGeJ8kies LgClbMLRI0UsDLD4er3HWQdFPswkkNz9G1oOHYC4KB4IkUz+uqgpvjzWrHC2L+yRyZQD An2JmBU8Zcxq7bL+4/84mIlOFntWgdye2JwB1oXRdhZma0X4JSIWwz3xcyxO7WKtMkP1 kjWg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3dfNmD9UkyMozPB1+rlLIqboCKGY0kezri6Od962cVg=; fh=8GJQromneixMjq1/cCwOzEnnIdxLxB3Z9s2pqJRNY8w=; b=rLKzSPkVvPruj4jfefzMDXhyuldmEdZvecHa0oobjpp6wC5R0wFDdi5/WFmc0Yawmu JnWOYCfiNJLxdTg5EdkkpniTkg12W1RgUFx+Gmpe0zog50Iavgspm9U5KQoYhfPO0yos VjePaiHOB93eQBoyMfQs292dbFuO7p2aqj35TO/c5qKm0NjnstO2PV4hkhBl1rK86LR6 4JM0cDs01ezrkaQoT5xtwGfa6DBhz/r5oNpd4aVyXiOD0BADF4C5fneMsqSb0cV44ogb KyS2Ot/SJQgnnf7zgxgJNur3vR/v/7HwNKD8aKj6MPT0vqht1elWS4iTwLFMzseHGZ2U 3xxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=szJtkplC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id 195-20020a6302cc000000b005bdd6beacb0si1920316pgc.445.2023.11.17.06.34.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 06:34:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=szJtkplC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6CE60822CB3D; Fri, 17 Nov 2023 06:34:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235706AbjKQOef (ORCPT + 30 others); Fri, 17 Nov 2023 09:34:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235675AbjKQOea (ORCPT ); Fri, 17 Nov 2023 09:34:30 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A48E173E for ; Fri, 17 Nov 2023 06:34:25 -0800 (PST) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3AHB1wSV030506; Fri, 17 Nov 2023 15:34:00 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=3dfNmD9UkyMozPB1+rlLIqboCKGY0kezri6Od962cVg=; b=sz JtkplCULuzvm4Hs0VdDLL9Hsl4X4m8w1hdtd5a7iOcpfFDr1NOgemrKsE8vvJCu2 UJ2Xys3KqgMuddjTduJaLok1IALy0hDokTc2Pz4n5kqkw69UmldhvoK7tdQ44C3V p9tvlch70nDNVtmtl9OMYX3BXL57HNNYbS+ghEePLbuD4bbyBOHmc5tPDovInMAR I2UlI4wRvV+dUljeOOlaHsRSJOe4iPVnL4Xvm4xEgDNT3Uj+aihmvsiori/BE2uQ S+ylCSpMafVfizlrv20zCJ2iX/rSOWLxomfO0RS2KrbVcVK9HKbgaJej43jZN/Ef zPbLgyTLGxMffT9Iam0Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3ua1u2bs10-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Nov 2023 15:33:59 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7494710004A; Fri, 17 Nov 2023 15:33:50 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 59B6F231504; Fri, 17 Nov 2023 15:33:50 +0100 (CET) Received: from localhost (10.201.22.165) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 17 Nov 2023 15:33:50 +0100 From: Patrick Delaunay To: Alexandre TORGUE , Catalin Marinas , Will Deacon CC: Patrick Delaunay , Arnd Bergmann , Bjorn Andersson , Dmitry Baryshkov , Geert Uytterhoeven , Konrad Dybcio , Krzysztof Kozlowski , Marek Szyprowski , Neil Armstrong , =?utf-8?b?TsOtY29sYXMgRi4gUi4g?= =?utf-8?b?QS4gUHJhZG8=?= , Peng Fan , Udit Kumar , , Subject: [PATCH 3/4] arm64: defconfig: enable NVMEM STM32 ROMEM for stm32mp25 Date: Fri, 17 Nov 2023 15:33:36 +0100 Message-ID: <20231117153310.3.I01a380760a51fce06473104685c70aef4aecacd5@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231117143338.1173475-1-patrick.delaunay@foss.st.com> References: <20231117143338.1173475-1-patrick.delaunay@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.22.165] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-17_13,2023-11-17_01,2023-05-22_02 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 17 Nov 2023 06:34:50 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782822149483153666 X-GMAIL-MSGID: 1782822149483153666 Enable the NVMEM driver STM32 ROMEM for STM32MP25x SoCs to allow access to OTP provided by OP-TEE BSEC PTA Signed-off-by: Patrick Delaunay --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b60aa1f89343..1df4020ec688 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1485,6 +1485,7 @@ CONFIG_NVMEM_ROCKCHIP_EFUSE=y CONFIG_NVMEM_ROCKCHIP_OTP=y CONFIG_NVMEM_SNVS_LPGPR=y CONFIG_NVMEM_SPMI_SDAM=m +CONFIG_NVMEM_STM32_ROMEM=m CONFIG_NVMEM_SUNXI_SID=y CONFIG_NVMEM_UNIPHIER_EFUSE=y CONFIG_FPGA=y