Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp349002pxf; Thu, 18 Mar 2021 01:36:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOXMEzbvekDg7SX6fruVzB6b3iBWk8c5AWRPmuMV95siH5hmCSjvIIvhYsEbcPCeu/Lmr+ X-Received: by 2002:aa7:db51:: with SMTP id n17mr2256470edt.259.1616056594045; Thu, 18 Mar 2021 01:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616056594; cv=none; d=google.com; s=arc-20160816; b=MiNf7F7SdYt/+4Sh3myOZ99nGVXYpEusJKC/WULSXssEEbliO+APLW4dQIUD6icS7W cQH53yzFF2FXJ/AZlqkQOJWKPZYjPV8jzCd/C1qFU5TTJ4nuvXpUDi3hKu14NNZLLQad XHSrJFlKcNF0NZIGFc7jIjT+pijkgqZFU+a11kB6j/7zTUQkjT0RkHKUFJ+a68YRmvVG ZL2Nixe/PcMYZRlCpIjnMLZ34+SnaR1YLZcDtcKgRKlZJJSV5inX68kwoauq2D2nnnHw UEWTSWLU1kkmDgvb5kef2Q8rzBqRX+emQTF1o30pbuhxRsf07Y6P0OMdpKzMccHwQmmo ji0g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=UkQYujCU5/ac5fJri9Y/OOHb2OqCHcjc2jWw+xBSdVM=; b=wpusEU8b/wKvjwK0JjR+ZokU7RfFjyDdxERNJ8VUm+VgKhHIzkTIWATf3urI3Sm+r3 ikRkrz2eP/KN1CuSO9QC0q1+Z2YPnbG0BouRR+F1TToHX7buLmEu8Il+8VvYa2jZxqH+ ty4dxGvQmbfyBQ0/Aey/TGlvh28ZHNi3JDgip5xpuBwu5f3ca5aF5nCoIqtEVO1N/Lwp ImCXJf1p51rYpZY8Xl4tEJgOVVycI9TnsTy5H6FsD4g41RyYakY0sRR93sNZZpq+XeCi Bpjwr9HCDFV80c6oMDxLpohG8fOvtcfEw/XAbos/l5cZQCZzSopIwD5jnDLGw6Ql+KGf Si7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=HQC1T4OJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z15si1052732edr.361.2021.03.18.01.36.10; Thu, 18 Mar 2021 01:36:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=HQC1T4OJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229734AbhCRIfN (ORCPT + 99 others); Thu, 18 Mar 2021 04:35:13 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:54879 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbhCRIeu (ORCPT ); Thu, 18 Mar 2021 04:34:50 -0400 Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 6DF7F22234; Thu, 18 Mar 2021 09:34:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1616056485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UkQYujCU5/ac5fJri9Y/OOHb2OqCHcjc2jWw+xBSdVM=; b=HQC1T4OJAEEUv1WdFlzJXd9zeKiQS9JkKIefdijT/SdmYrQkAkzqetVkbI4IcSf3TnWNtH 1CXdqL61XWaDWpVso6CALC32Il9slf7Q24rKFdQTpSoQjz0aN63sKpNEaYdGk2Ru1RHRpw /q3GkmQqxFHnu8zZ5elitSqjup20XKQ= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Sahil Malhotra , Michael Walle , Guillaume Tucker , "kernelci.org bot" Subject: [PATCH] arm64: dts: ls1028a: fix optee node Date: Thu, 18 Mar 2021 09:34:38 +0100 Message-Id: <20210318083438.26536-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't enable the optee node in the SoC include. It is an optional component and actually, if enabled, breaks boards which doesn't have it. This reverts commit 48787485f8de ("arm64: dts: ls1028a: enable optee node") and enables the node per board, assuming the intend of the original author was to enable OPTEE for the LS1028A-RDB and the LS1028A-QDS. Fixes: 48787485f8de ("arm64: dts: ls1028a: enable optee node") Reported-by: Guillaume Tucker Reported-by: "kernelci.org bot" Tested-by: Michael Walle Signed-off-by: Michael Walle --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 3 ++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index fbcba9cb8503..060d3c79244d 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -327,6 +327,10 @@ status = "okay"; }; +&optee { + status = "okay"; +}; + &sai1 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index 41ae6e7675ba..1bdf0104d492 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -274,6 +274,10 @@ status = "okay"; }; +&optee { + status = "okay"; +}; + &sai4 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 50d277eb2a54..e2007ebacd69 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -92,9 +92,10 @@ }; firmware { - optee { + optee: optee { compatible = "linaro,optee-tz"; method = "smc"; + status = "disabled"; }; }; -- 2.20.1