From patchwork Fri Oct 28 14:52:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 12383 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp884435wru; Fri, 28 Oct 2022 08:08:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Q1P9S/lzVwxKEA8QW7YxOLa2DNjbXLtbsV0C1n+JGOQFyYYzqiBzLcsiu2DuY3G0w9l6r X-Received: by 2002:a17:90a:bd01:b0:205:fa9c:1cfc with SMTP id y1-20020a17090abd0100b00205fa9c1cfcmr17256017pjr.116.1666969726929; Fri, 28 Oct 2022 08:08:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666969726; cv=none; d=google.com; s=arc-20160816; b=L061mOXT09Vdof8Uw0HzGUwLDcy+BjqnxAQ8bhv1Z9xvpw4M3vmF3uepZangKhk+Qw TCaRW205j5+pL/L7EMCTcViac1Jn2djAEo0K0w954IwoBl4m2S+fP9L+3a6HPRK5U5XG ul/MJeQ1ZgnCKMggjAALe+yZW9JpDkddLjAuhl0DbQAglJPlG7W+xwTD6kbVMyVHV5AO 6I06vCZ+3VDsL+5WlBxB7ONMhOVcNvc89bWyqvWb3dqXja+t3CZyM3LPDm55SpYOw8dI b83aZHisybfoOdrILJ+huFDDMmfrcn4X2qAf8b37YeLJTmYHLi9APp60TtgTDI4Vqnoq H32A== 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=1dFK6BhRh9rGt4YtoWjgXHrS1kbo/86Rt3Cu9/GTxX8=; b=UHSeTyrE7+b0oMAX8PUS3CCQLKZZ0k6G6yuDOOxTrO3+2+yhTFREwhmVOXO94nvzgw ONKOaE8vku49zFENbRqzdZrxFC0S/oR+u5+meceY0NtdYLXnopntfH0vLsInkDM2l1mk iTH4X9Y5hSDj0QiloWtNY/B3JUenK7y9VB3Dt7E0tJTfDB+gOE6h1tShYfhesJPnWzcf JtUSOeKBHQnRUR9huQS9eG32hXDO6nFe1dgA3OMfRd1dxXGF7FbbCiXt4B7sE+NpXrIv XRZ/gulwcAxHutGh5Jxk6plejg9mYgu29M6XsywbR795kRT6DIBLDppF6Pz7NvNRdn7V 3dzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=3xPKGTJg; 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 d6-20020a170902cec600b00186be05c702si6183192plg.530.2022.10.28.08.08.32; Fri, 28 Oct 2022 08:08:46 -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=3xPKGTJg; 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 S231158AbiJ1Oxf (ORCPT + 99 others); Fri, 28 Oct 2022 10:53:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230483AbiJ1Ox1 (ORCPT ); Fri, 28 Oct 2022 10:53:27 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36ED51FB7A1; Fri, 28 Oct 2022 07:53:25 -0700 (PDT) Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29SDTjWe006843; Fri, 28 Oct 2022 16:53:05 +0200 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=1dFK6BhRh9rGt4YtoWjgXHrS1kbo/86Rt3Cu9/GTxX8=; b=3xPKGTJgcXva240kixr7RzNsYCkUFs0kKNCHXAInh+J8JDQsZruoLMdTlFHDJyOn9hWG Y9Qf73UyP8JGBb+rCEc1mdH5gi4yBk5Vg3TtWSuiVGtgjV9xpn3DMbdPQDRHIvLeG5HV UviHjzcX4ceCQg3scCOipVgUQpfxpGV7OQt7LrhYAqKqmpUhF5kFHOA9jMfC05fJtRq4 LOzkXFFGkSMxuqBzwSNDvbP0OI4CYAgM1j0iiQqAVHBF3keSu9GBgVY8Jyl4k1oJwO13 yC6msLyVzg8y6tnIluO0OqTl1isAD0kBhqTBl9zAFMCr+OfWHPkJlZO74cPNYnLHIMCV tw== 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 3kfajfdjmk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Oct 2022 16:53:05 +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 95E07100039; Fri, 28 Oct 2022 16:53:00 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 90F84228A4E; Fri, 28 Oct 2022 16:53:00 +0200 (CEST) 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.2375.31; Fri, 28 Oct 2022 16:53:00 +0200 From: Patrick Delaunay To: Alexandre TORGUE , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin CC: Patrick Delaunay , , , , Subject: [PATCH 2/3] ARM: dts: stm32mp13: fix compatible for BSEC Date: Fri, 28 Oct 2022 16:52:50 +0200 Message-ID: <20221028165150.2.I167a5efc1f8777cce14518c6fa38400ac684de3e@changeid> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221028145252.2115933-1-patrick.delaunay@foss.st.com> References: <20221028145252.2115933-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.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-28_07,2022-10-27_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?1747944448407041982?= X-GMAIL-MSGID: =?utf-8?q?1747944448407041982?= 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. 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 dd35a607073d..89a027f894f9 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -398,7 +398,7 @@ rtc: rtc@5c004000 { }; bsec: efuse@5c005000 { - compatible = "st,stm32mp15-bsec"; + compatible = "st,stm32mp13-bsec"; reg = <0x5c005000 0x400>; #address-cells = <1>; #size-cells = <1>;