From patchwork Fri Jan 6 17:04:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 40205 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp927718wrt; Fri, 6 Jan 2023 09:08:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXtrhYzZ32O+OFtoyOpTmugNdWzkTQpJOB2pWJnK4QYMRlB1pNQD51dBzVmwrwd1VlUFjRnP X-Received: by 2002:a05:6a00:be9:b0:580:f5a8:2e2b with SMTP id x41-20020a056a000be900b00580f5a82e2bmr48540616pfu.8.1673024879763; Fri, 06 Jan 2023 09:07:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673024879; cv=none; d=google.com; s=arc-20160816; b=kRcUH63j1S66tCRRGVsk3k6UTG5MXC0ZrtqsaIcJiUhT1Hs/iWTCG3ZijNSDuO776E SasXWIXRj97YafMMz8iopIkCJZPZdZBLnfqHTuODxsISYdFEYsqzu+z0g7OhFGqZoJfg MIKUzRyk3XfhW3appPQl3QHr1x1jkjjSZpvidfTIk8nsGPNqCBYSRUMmay8CGJnzPq9c mqdmx5/SneiNrmn7XeO9WnGrVAr3knONxOMEBtZtZhPOMt6gSpmAdz0ztGaO5CwTHWeR AlTx/aUKk5X8/xoUBj8o/vlYP2HpJCIhw0HaXuxb7tsIT6YRO3r1scSq/+8UseIjC0n/ Ltfw== 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=ucssb65txyENbyaOBHFqS29fHGTTzI6kVf5XtyK6ClA=; b=0W0yY1/3dD3iVsPa4gcL+Z/O3BCavlY6mkI5A/2j7xrBYICkY+AdB9Z0pEiowHz0Cp nSWYNzCbPsUjBT7TsLk0yLYK10ogp4CRoNnqDFBO8n4rbhQ2PAbZeqsmNEGjHebISrn1 YxkUqkx6819PvoY8fAT4wEMzvteGbnNjLsxckvtZcpVWUV3ry1MalFYIvQ+KdvvyoCCo ddITQkf2+ZOi1I/SqZcuynLTRGZKgDjZbXhbC6mV1Kj6CXZIcjfhvHhPEJpuKsdszMZX RTie9wZD28KuH6HSiP+BmI28IDiFYNoS9KtAfnRdWwPFAvSY5LbO/9kwtbcXCa3Wcs4e rCJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=vdBYA5J1; 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 b9-20020a056a000cc900b00576018d434fsi1924356pfv.163.2023.01.06.09.07.47; Fri, 06 Jan 2023 09:07:59 -0800 (PST) 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=vdBYA5J1; 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 S232487AbjAFRFY (ORCPT + 99 others); Fri, 6 Jan 2023 12:05:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235373AbjAFRFB (ORCPT ); Fri, 6 Jan 2023 12:05:01 -0500 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AE807CBCD; Fri, 6 Jan 2023 09:04:59 -0800 (PST) Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 306F4nYt017057; Fri, 6 Jan 2023 18:04:41 +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=ucssb65txyENbyaOBHFqS29fHGTTzI6kVf5XtyK6ClA=; b=vdBYA5J1mOGI1HMgv0n1ehQILrl0VSbGx3t64h2WsARXUFIZkh0UanzyyXLZe+06BLcl xlxOGbAMjLo0/b1OwbULIlG3XhhoJCSztpT/iUusYnJ/rZfbMW+KYSOU4O0aweJVOMhs 7if6z8rjpxELopuPGH3ZRnORZJXTkTULyFfEDW4hoK4hnyzTglvhqAnpPhYKaHWhHtoK +D+X+s/2pijrJqVz1ybDCIU6ZtMNVWlxrHlEeohIWYBmfYpLA6ZXY8RDRZCTXmQpzmUU 2Uuxm0EZ3t9EpHF1sw2Pgu4NvYJ3Vf2RbWBI7Np8RByMn5LQ/JrwJEvw5pbxmK6F8G3N Ow== 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 3mx41mpc6d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Jan 2023 18:04:41 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 825DF10002A; Fri, 6 Jan 2023 18:04:40 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7C2BC219D9E; Fri, 6 Jan 2023 18:04:40 +0100 (CET) Received: from localhost (10.48.0.157) 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.13; Fri, 6 Jan 2023 18:04:39 +0100 From: Patrick Delaunay To: Alexandre TORGUE , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin CC: Etienne CARRIERE , Fabrice GASNIER , Amelie DELAUNAY , Lionel DEBIEVE , Patrick Delaunay , , , , Subject: [PATCH v5 1/3] ARM: dts: stm32mp13: fix compatible for BSEC Date: Fri, 6 Jan 2023 18:04:28 +0100 Message-ID: <20230106180414.v5.1.I167a5efc1f8777cce14518c6fa38400ac684de3e@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230106170430.1214186-1-patrick.delaunay@foss.st.com> References: <20230106170430.1214186-1-patrick.delaunay@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.0.157] 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.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-06_11,2023-01-06_01,2022-06-22_01 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS 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?1754293736318172147?= X-GMAIL-MSGID: =?utf-8?q?1754293736318172147?= Use the correct compatible for stm32mp13 support. The BSEC driver for STM32MP15x is not compatible with STM32MP13x. For example the proprietary's smc STM32_SMC_BSEC is not supported in STM32MP13x OP-TEE, it is replaced by SM32MP BSEC Pseudo Trusted Application in OP-TEE to access to the secured IP BSEC on STM32MP13X SoC. The correct compatible is already used in U-Boot and in upstream is in progress for OP-TEE device tree. As the SoC STM32MP13X is not yet official and it is not available outside STMicroelectronics, it is the good time to break the DTS compatibility and to correct the error done in the introduction of STM32MP131. Signed-off-by: Patrick Delaunay --- This patch is already sent separately in: https://lore.kernel.org/all/20221017134437.1.I167a5efc1f8777cce14518c6fa38400ac684de3e@changeid/ https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=685815 I create a serie for more efficient review. Patrick. (no changes since v1) Changes in v1: - update commit message to indicate DTS break reason. arch/arm/boot/dts/stm32mp131.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index accc3824f7e9..0b79380cc627 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -520,7 +520,7 @@ rtc: rtc@5c004000 { }; bsec: efuse@5c005000 { - compatible = "st,stm32mp15-bsec"; + compatible = "st,stm32mp13-bsec"; reg = <0x5c005000 0x400>; #address-cells = <1>; #size-cells = <1>;