From patchwork Wed Mar 29 13:56:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre TORGUE X-Patchwork-Id: 76586 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp441333vqo; Wed, 29 Mar 2023 07:08:42 -0700 (PDT) X-Google-Smtp-Source: AKy350a5Q2vmHY8613wRvSHxqXwlxpH5iE148+y8nCrAebWhTpF0wMagaJIWal33XbZfUA4pLwo5 X-Received: by 2002:aa7:96f8:0:b0:600:cc40:2589 with SMTP id i24-20020aa796f8000000b00600cc402589mr6986888pfq.3.1680098921933; Wed, 29 Mar 2023 07:08:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680098921; cv=none; d=google.com; s=arc-20160816; b=b4X7MlM3ylb46Jshy1esG9Wdu6RG+Oq2hVaatGfcNr3I9ZbjEPaCU1XR9n7pRTnq6e +sQnRicwwrE/QimxLiY3tGdR2DYfAtGAH8PkRJ+u66L/X0UH9N+JoV+8s7ijssMEyHSi /HomsY5FOI0ouEzTVBNzo3GWFMZrP100fMnc4m8383b3B/94/MhNpD5eLRNLx4JL+Ejv UVAdgjjn4OE2sJot+UTC/lRBtlcrSEv78rfFRHfM0Ar/7WSZZqiJYluAL+nLA5Op+HJB +Rpvs4eoClN+6W3GLyaDnyl6h0bhAtySaTEPGaUt/CvvjLr5rwDV7KJi3nO9E7KUOfG4 SGfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=IKR1z8cyOUAPzijPJ+kSX8y1J94ujv7QfUWuI6KPsxk=; b=gDt8fT4YrxMXYSjuKQUrNpcYk/ZjIHhRsnAx3tIijru772Vj9Bajdl0EPQ/xuoxY+u k5RVIZ6kApAz0d2VIC1zLdok/bqaRCcQvZv2bIDGzNaFXC5fDZKi6WF5HH4OPa/+vV2F Q/VxCMM6NiPrvUHbULeq9MnJaDaDk+ca/PmOEwBkDc+SD7s512cHYEqhBlqqhgNBC4Ls tp3EPigHrQsJlACV06VNs86QA7NZ/7u+i7ifGC2e5OcdriLaCW2tq8pdtA3JNbFDgarD MgMo4pS8ak/i66TP8lUNVsYmEJZnUvJAnzstl0e+xUm4Ckx22FluhAaPNxyJET+OXGEJ cSqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=tdng+2H1; 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=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a056a00169100b006281ec442absi19632064pfc.309.2023.03.29.07.08.26; Wed, 29 Mar 2023 07:08: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=@foss.st.com header.s=selector1 header.b=tdng+2H1; 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=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbjC2N45 (ORCPT + 99 others); Wed, 29 Mar 2023 09:56:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbjC2N4z (ORCPT ); Wed, 29 Mar 2023 09:56:55 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CC2EB6 for ; Wed, 29 Mar 2023 06:56:53 -0700 (PDT) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32TBtFQi005435; Wed, 29 Mar 2023 15:56:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=IKR1z8cyOUAPzijPJ+kSX8y1J94ujv7QfUWuI6KPsxk=; b=tdng+2H17VI5zMNTTrYe+bRl7uHiIzfnxWYZHv0/XTbKRMceUOz/VUWI2myWo4c7gp36 1lp9VLYlKHvcIgXQGz+JVYHsz6efztr/VOnno4ddwAWBcq64lXOqoxwhcUSAGaCghfOa loasBA6LJ/7tcJF5B8rdoBhpzod0wsnEfdT1NY78wKBsD7XavGObMvl2gpzcwWTv27X7 7el1GDB8eE6uFnRan6G1jlowFsw9k/dRMFZ+fhdHSYjN2B3YniIa3gqG/19bZo9zM7LR YkM3k2dSDF4cTKWBWZaBwd27EpyLWRADsDxaGCht8d6A5/NmBchjKwHmOklAu5i4qQV8 ww== 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 3pkwvsh335-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Mar 2023 15:56:28 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8F03410002A; Wed, 29 Mar 2023 15:56:26 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2BD0A20FA50; Wed, 29 Mar 2023 15:56:26 +0200 (CEST) Received: from localhost (10.201.21.93) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 29 Mar 2023 15:56:25 +0200 From: Alexandre Torgue To: Russell King , Arnd Bergmann , Mark Brown CC: , , Alexandre Torgue Subject: [PATCH] ARM: multi_v7_defconfig: Add OPTEE support Date: Wed, 29 Mar 2023 15:56:25 +0200 Message-ID: <20230329135625.28902-1-alexandre.torgue@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.201.21.93] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-29_08,2023-03-28_02,2023-02-09_01 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761711406869905837?= X-GMAIL-MSGID: =?utf-8?q?1761711406869905837?= STM32MP13 platform relies on OPTEE to boot: Clocks and regulators are handled in the secure world by OPTEE and exported to the non secure world (LINUX) thanks to ARM SCMI protocol. Signed-off-by: Alexandre Torgue diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 084cc612ea23..7d0222f7d76b 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -1212,6 +1212,8 @@ CONFIG_FSI_MASTER_ASPEED=m CONFIG_FSI_SCOM=m CONFIG_FSI_SBEFIFO=m CONFIG_FSI_OCC=m +CONFIG_TEE=y +CONFIG_OPTEE=y CONFIG_INTERCONNECT_QCOM=y CONFIG_INTERCONNECT_QCOM_MSM8916=y CONFIG_COUNTER=m