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: 13192451 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 D8FE7C74A5B for ; Wed, 29 Mar 2023 13:58:14 +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=VeOxtXapAHLMgVAL31sKqdQRAw0g0Vk+AkHGK9KEKQw=; b=YTjzSe0kQkUYoH 4xsYAeEyBFNre9Y3hmW1Gg2tkNA+pi09b075nnwTyooekWf6YQXbJ+KkyoYrtyhv8ixhTC8D6+33f yaMI4VQSUuLVWiPzKS0G9EQrgiTD2X14U9HwzCNN4U/e4canMUz7/zpBfmO3VXGvxetrnj8DwkXL2 +DmlK1nQ9yLH/uh4VnYSFYHgV+YrzjsT8Pq+TAZJeZPSRlv4jUBcK+KN0vHwiIdlpBuVrS4Z/S1Zb QmiEP8Kl3YqoaN7QfjPmhZN4d1uCdgbcp/bHHrMZUdRcKx5k9zsdOMljSYwcLAWvnqOGMkSrWRUHP 1Leq4pdvOlEhJXqIgnUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phWIH-000UCl-2e; Wed, 29 Mar 2023 13:56:53 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phWIE-000UAw-0U for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 13:56:52 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230329_065651_052651_08BC74B9 X-CRM114-Status: GOOD ( 11.66 ) 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 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