Message ID | 20230614-sa3ul-v2-1-3a832b82339c@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1129792vqr; Wed, 14 Jun 2023 03:14:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ATtQEr+qRL+W4TaGr/a+Rcvju/KevmSNuL0Vwu1RFgHW6F/uhGDcYTORJ63AWXykqkSvg X-Received: by 2002:a17:907:869f:b0:973:91a5:bff1 with SMTP id qa31-20020a170907869f00b0097391a5bff1mr14241072ejc.68.1686737681674; Wed, 14 Jun 2023 03:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686737681; cv=none; d=google.com; s=arc-20160816; b=ViHojPX0yS0VbBx8kKkvaIX38tTax3SlSaFAly0w8Qxn2N8WkyIoE7Yp6sLbA7kBLx kf0nbLzhwKUH64hv+dQ149p2jYxhGZRoEPhS1A3qKIQJ+U2Ee6bEyjPYGZ1qP3N7AkD/ sOIp50ntvsVg6M/E/Qf63b05VlLLchiiDvgYUdu3Sk2MYtzzDAYxDlk0hXDQ5qgTR9yR qOmq0rNgxKryyoaDl2xpM3ri7CepRNVbwhvwf2JKo+gWmiuKayd0Dt5CMeq14lA4Dz9q LCzo/X4EdYFudqlXw56E81KA0tAaltSGESlY6RPfoDbk+qInH6dccNO0jp1o3Su+Z39H DEoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=QRGK/l0B6hsumWBFXxBYbdnIT7AJCivqxdHFN1d+CMw=; b=jErSLDCkwRwua+F7cHkBi3r0izrhJTAn5EemS3AM6aWD8AhhQ/z8RiByWJVjlNEAyK FAPgJdXzOTQOhVs3SFOCJeL4dj634r0JOh360JCixRXD29lNhCxp2h2EliE2IcImb8+Q TvUMJEef/wIIgHA6Zl/AQCXJejMb26nJSo1DPOZj7Umq7ug6g5yIEOtCwX39OgYtjyhL lMML63e3dVM3w1XpCohfbS0Ed8WRszy/fzKmVdEzKd/PfLHNeu38MgetrHQX0pDtldFo IJyeSxtxYluvjXU3u5XxmfxuOlXVAdT8zXfXChXY7ggLUBXWlycoqpZEvNSqgQA4NHXa lOPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dB0PIvec; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x9-20020a170906296900b00977ebc42984si7846625ejd.575.2023.06.14.03.14.16; Wed, 14 Jun 2023 03:14: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=@ti.com header.s=ti-com-17Q1 header.b=dB0PIvec; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242599AbjFNJt0 (ORCPT <rfc822;jesperjuhl76@gmail.com> + 99 others); Wed, 14 Jun 2023 05:49:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243461AbjFNJs6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 14 Jun 2023 05:48:58 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFAF32127; Wed, 14 Jun 2023 02:48:29 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35E9lPfE108113; Wed, 14 Jun 2023 04:47:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686736045; bh=QRGK/l0B6hsumWBFXxBYbdnIT7AJCivqxdHFN1d+CMw=; h=From:Date:Subject:To:CC; b=dB0PIvecIRJVObzdNmjBxVvCKiv2bdX4guJSl4z1IKu5CgkbQWrCPaAEeftC6bs1p gCpYQSDAmSKMjHVbmIxSH0dp7/IBuJV5yjC9b5zZ5PoCLRagDahZIiRfZ67DX2weZS C8t+plbcq5x0gpHi2gVwzUHOkgjl20X/TznePps4= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35E9lPqI017877 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Jun 2023 04:47:25 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 14 Jun 2023 04:47:25 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 14 Jun 2023 04:47:24 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35E9lOgS008848; Wed, 14 Jun 2023 04:47:24 -0500 From: Kamlesh Gurudasani <kamlesh@ti.com> Date: Wed, 14 Jun 2023 15:16:56 +0530 Subject: [PATCH v2] arm64: dts: ti: k3-am62-main: Remove power-domains from crypto node MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230614-sa3ul-v2-1-3a832b82339c@ti.com> X-B4-Tracking: v=1; b=H4sIAI+MiWQC/x2N0QrCMAwAf2XkeYWuLSL+iviQtNkW0CqJymDs3 9ft8biDW8FYhQ1u3QrKfzF51wah7yDPWCd2UhpD8CH6y5CcYfw9XaZEZSBKxV+htYTGjhRrno/ 6hfZlPcRHeZTlHNwf27YDnWyJXnAAAAA= To: kamlesh <kamlesh@ti.com>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Jayesh Choudhary <j-choudhary@ti.com> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1686736043; l=1274; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=E/J6WsSEaN6BRpocHKGuz8QWaNU9pO7nxprAGwZE4bA=; b=cyXcaX8mN8CMapm5bqNXpQqoI4v6tJenKqnu6x3xAh6Ur0L0ePFia4K4TXk8GmQ2OY46P5vf5 oh1EwH9CkuYCRt5r5tic3qVUb7mTc/dQ/T/i2zlqDXEjnIS9jTdgB6I X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,TVD_SUBJ_WIPE_DEBT,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768672651086893005?= X-GMAIL-MSGID: =?utf-8?q?1768672651086893005?= |
Series |
[v2] arm64: dts: ti: k3-am62-main: Remove power-domains from crypto node
|
|
Commit Message
Kamlesh Gurudasani
June 14, 2023, 9:46 a.m. UTC
Only SYSFW has control of SA3UL power.
From SYSFW 08.04.00.002, for security reasons, device ID for power
management of SA3UL has been removed.
"power-domains" property in crypto node tries to access
the SA3UL, for which it gets NACK and hence, SA3UL driver doesn't
probe properly.
Fixes: 8af893654c02 ("arm64: dts: ti: k3-am62-main: Enable crypto accelerator")
Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>
---
v2 changes:
-make commit message clearer
---
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 -
1 file changed, 1 deletion(-)
---
base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669
change-id: 20230614-sa3ul-cb4bd1bb4d08
Best regards,
Comments
On 14/06/23 15:16, Kamlesh Gurudasani wrote: > Only SYSFW has control of SA3UL power. > From SYSFW 08.04.00.002, for security reasons, device ID for power > management of SA3UL has been removed. > > "power-domains" property in crypto node tries to access > the SA3UL, for which it gets NACK and hence, SA3UL driver doesn't > probe properly. > > Fixes: 8af893654c02 ("arm64: dts: ti: k3-am62-main: Enable crypto accelerator") > > Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com> > --- > v2 changes: > -make commit message clearer > --- > arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi > index b3e4857bbbe4..18a6e9ffaf58 100644 > --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi > @@ -174,7 +174,6 @@ k3_reset: reset-controller { > crypto: crypto@40900000 { > compatible = "ti,am62-sa3ul"; > reg = <0x00 0x40900000 0x00 0x1200>; > - power-domains = <&k3_pds 70 TI_SCI_PD_SHARED>; Per Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml this is a required property. This would need binding update to make power-domains optional for certain compatibles. > #address-cells = <2>; > #size-cells = <2>; > ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; > > --- > base-commit: 53ab6975c12d1ad86c599a8927e8c698b144d669 > change-id: 20230614-sa3ul-cb4bd1bb4d08 > > Best regards,
diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index b3e4857bbbe4..18a6e9ffaf58 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -174,7 +174,6 @@ k3_reset: reset-controller { crypto: crypto@40900000 { compatible = "ti,am62-sa3ul"; reg = <0x00 0x40900000 0x00 0x1200>; - power-domains = <&k3_pds 70 TI_SCI_PD_SHARED>; #address-cells = <2>; #size-cells = <2>; ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>;