From patchwork Mon Nov 7 11:06:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13034265 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 2FE24C43217 for ; Mon, 7 Nov 2022 11:07:27 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=i7c153F3ExhmNZT04IvPr3xWO4ojx0B4B/PqA84lgn0=; b=YamDxr1d9GMbxE DWxuvNtJU2UcZePmp0ppRKAamZRw+ErIYLd/vEZbeAS6kbhw3mYGQZS33kZrePWKX2qs/4mVTx0hx womc1uTI+BrisZudl7W4yWIUG+QpBkGHIgpiZWBeoMgxwFODoDYrDAdHV0cNefIilgMpWTrJLMx79 cSG//zSJ3QV5QfK1OhEQV8fsNfrSZHMRyv3JvKIeFiSOydJsuOhjjULhbvcogSXUHMdRl30t+YJyI dH7MwZEGx0gqXHMIpJcgmFAmTzN+egbTUWbsh/s5gnVO2OJSgNcDpKHrTsV8g8OV7aH3QfCkUlzT2 /W+ebtUbFOlSlIQeJR2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orzxU-00E1Fn-1k; Mon, 07 Nov 2022 11:06:28 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1orzxI-00E1BV-4x for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 11:06:18 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2A7B6AMN076508; Mon, 7 Nov 2022 05:06:10 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1667819170; bh=fuBnItlqZybUIhnMgrmAFZXstp33uvcW+tHsv8HE2DM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=b99SLdz10DCsDva2cyDrjH9bALJFk/fJB2vqJuPSAb3658NxVNLUl8nY66dl2lrMa JNqqvyyBg3eWElygtOuh5ZncPVHkqRNJNs2motABgii6C0Gn6vN4BHy8mBq6MUQold sFQ3HhWHArqgDkOf3VxANvt4T/oHRinAjCCtzdVE= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2A7B6AjJ001674 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Nov 2022 05:06:10 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 7 Nov 2022 05:06:10 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 7 Nov 2022 05:06:10 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2A7B698T074407; Mon, 7 Nov 2022 05:06:10 -0600 From: Jayesh Choudhary To: , Subject: [PATCH v2 1/3] arm64: dts: ti: k3-am65-main: drop RNG clock Date: Mon, 7 Nov 2022 16:36:05 +0530 Message-ID: <20221107110607.59216-2-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221107110607.59216-1-j-choudhary@ti.com> References: <20221107110607.59216-1-j-choudhary@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_030616_368733_E0AD53F8 X-CRM114-Status: GOOD ( 10.76 ) 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: , Cc: devicetree@vger.kernel.org, j-choudhary@ti.com, kristo@kernel.org, j-keerthy@ti.com, linux-kernel@vger.kernel.org, afd@ti.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The x1-clk used by trng submodule comes directly from the system clock after a fixed divider. It is always running and has a fixed frequency that cannot be changed, making it uncontrollable. Hence this property should be dropped from the rng node. Fixes: b366b2409c97 ("arm64: dts: ti: k3-am6: Add crypto accelarator node") Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 4005a73cfea9..e166d7b7e3a1 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -126,7 +126,6 @@ rng: rng@4e10000 { compatible = "inside-secure,safexcel-eip76"; reg = <0x0 0x4e10000 0x0 0x7d>; interrupts = ; - clocks = <&k3_clks 136 1>; status = "disabled"; /* Used by OP-TEE */ }; }; From patchwork Mon Nov 7 11:06:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13034267 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 E8BC1C4332F for ; Mon, 7 Nov 2022 11:07:46 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cwmYM9HGEvBQV4uUeZ+jv230TlepeFN6RhzpUuGMcw4=; b=mDTPGCBhxdfaq5 LZORmE/5EDQZFi7+74bmjbnEmzNo+3XqQcDZES4hfXU2YQ7DRUbUm5Q2rKjFq+rg/O0fsKAqq+wdx Vl8HrdZCRGgKEV9ZDqam2WeQOvzPGkMtj8tsxYIZCYQzjpvKf93nOyOnz1hZdCG75xgE3HEuJU3Hg h+dU3Kc+XOjBvKGf9KL4qQiWxTtJ9CGoOgH6LOMgTV5sXZH2+QS5rs684HjR6Vhnza1pFeaCZ2YrG Z34Ar4Cjv+IpAI88rcf/myRpZov9D9/XCnPa/kC17PjdgC2HFgyVfZxihOL8BqUvFf35n+Kpp19CZ jCwOTFouuRcXfuLF2B8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orzxm-00E1Mg-Sj; Mon, 07 Nov 2022 11:06:46 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1orzxN-00E1DP-9K for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 11:06:23 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2A7B6CaF086278; Mon, 7 Nov 2022 05:06:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1667819172; bh=H0pLK0kuUXANWglZ2uyviTK3U39iFowcYnUWSPOYs9A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Khq0HMg8mCrvnZCl8xzVNKMxv8yoJpRS4cxgcVk9aH1Lq+TjiDzAPYXd9wj+27JGe cs3onm8Q3TsVEXkbpAUw4+p1EcjBT4TT5l/pkyUVN0t3Y+n2qnDSlY3gDfEtIaqxMH fmujuVkDqf7Xw8pDNxp4lytwjgn6HA9gBFgryLFo= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2A7B6CKL095538 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Nov 2022 05:06:12 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 7 Nov 2022 05:06:11 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 7 Nov 2022 05:06:11 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2A7B6BIR007371; Mon, 7 Nov 2022 05:06:11 -0600 From: Jayesh Choudhary To: , Subject: [PATCH v2 2/3] arm64: dts: ti: k3-j721e-main: drop RNG clock Date: Mon, 7 Nov 2022 16:36:06 +0530 Message-ID: <20221107110607.59216-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221107110607.59216-1-j-choudhary@ti.com> References: <20221107110607.59216-1-j-choudhary@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_030621_435707_FF3C7918 X-CRM114-Status: GOOD ( 10.50 ) 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: , Cc: devicetree@vger.kernel.org, j-choudhary@ti.com, kristo@kernel.org, j-keerthy@ti.com, linux-kernel@vger.kernel.org, afd@ti.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The x1-clk used by trng submodule comes directly from the system clock after a fixed divider. It is always running and has a fixed frequency that cannot be changed, making it uncontrollable. Hence this property should be dropped from the rng node. Fixes: 8ebcaaae8017 ("arm64: dts: ti: k3-j721e-main: Add crypto accelerator node") Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 5c4a0e28cde5..f1403b79e7f5 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -355,7 +355,6 @@ rng: rng@4e10000 { compatible = "inside-secure,safexcel-eip76"; reg = <0x0 0x4e10000 0x0 0x7d>; interrupts = ; - clocks = <&k3_clks 264 2>; }; }; From patchwork Mon Nov 7 11:06:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13034266 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 D0682C43217 for ; Mon, 7 Nov 2022 11:07:39 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N6rz3TX39+xsy5mEwLnyqk1OYiPfgLcClphct99XStk=; b=2u2vLm9AtWy8vn ES2FyZIqtPDZWHl1Uy0JxHMJR7jkD6Eqak891N07BOuatlfT2L8/xnBikJkGIQw4Xwn2RVVb8xv0S YBbhTiOnn+xFfvrMetqsagu49Sgj5TLwXp5CRihaAV/GtlBobLEO/idaDZ1/89Svyxo+Fxwb4Gd3I n/tNMyXDvpmjl/6aPKNOf6KnDmHcVNC5obwzz/WwcaXb8lZ9+i/uL6pNDfSgeFl56a+p9Im7Lylpy LaOcadDA2RRlZtKTERNyvwPjdpemOp64oXD735tgh1hA8NRpuS3oOP5Pyoo1dMWL00YkjyI9uUZKJ Q+o91vdR9vy7PB5CNLqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orzxd-00E1Ii-HW; Mon, 07 Nov 2022 11:06:37 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1orzxM-00E1DZ-Ud for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 11:06:22 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2A7B6D1c072185; Mon, 7 Nov 2022 05:06:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1667819173; bh=LEmvCtwofs8iy2xfqug98l3mX+J6uPKlXM0R6VTybTg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Q+5jXlNIKzQI3AERkmnl+zd5mJFjfOAXKCj3W/7OM62IdcEETxxj5lKehznWUViq2 Cv7jSz3Llc6EjjTH+aKuFWIU6xcJ8Oxp56YbE4dj+3kdwdpOVCHWviXgPp8wrcLy5o /HQerC0n4MH+9KCYQ5feNLUxXgmHrHDE49iaYfDY= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2A7B6DG8001687 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 7 Nov 2022 05:06:13 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 7 Nov 2022 05:06:13 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 7 Nov 2022 05:06:13 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2A7B6CnT011480; Mon, 7 Nov 2022 05:06:13 -0600 From: Jayesh Choudhary To: , Subject: [PATCH v2 3/3] arm64: dts: ti: k3-am64-main: drop RNG clock Date: Mon, 7 Nov 2022 16:36:07 +0530 Message-ID: <20221107110607.59216-4-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221107110607.59216-1-j-choudhary@ti.com> References: <20221107110607.59216-1-j-choudhary@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_030621_102801_F353988A X-CRM114-Status: GOOD ( 10.96 ) 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: , Cc: devicetree@vger.kernel.org, j-choudhary@ti.com, kristo@kernel.org, j-keerthy@ti.com, linux-kernel@vger.kernel.org, afd@ti.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The x1-clk used by trng submodule comes directly from the system clock after a fixed divider. It is always running and has a fixed frequency that cannot be changed, making it uncontrollable. Hence this property should be dropped from the rng node. Fixes: e170ae6dd67a ("arm64: dts: ti: k3-am64-main: Enable crypto accelerator") Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index c96df4b9b3d7..ac04cf1d9c3e 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1359,7 +1359,6 @@ rng: rng@40910000 { compatible = "inside-secure,safexcel-eip76"; reg = <0x00 0x40910000 0x00 0x7d>; interrupts = ; - clocks = <&k3_clks 133 1>; status = "disabled"; /* Used by OP-TEE */ }; };