From patchwork Fri Aug 18 10:37:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruva Gole X-Patchwork-Id: 13357743 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 20B19C001DE for ; Fri, 18 Aug 2023 10:39:19 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tqSwZ10upSERGR66U20VQKlnKTd6qWbvdHKGza7MdX4=; b=SXk3V6JlRlmGPd OY00jJKLLmtX0cfiWiNlaeLhgvEcteJNxd62n1f2WJefdQ1eywFRWOQImVCFvPbo/fucploXFxcik CSc6q0Y0on0I0DnMmpq/x7fgPfYDaoaPm+MQ3qFyqPRYq2fzwMvanHklR3i6OOvpCm3rvEVg+CEH8 jfs5NRIPUOd1nf8KIafPSGaiETeeLfRtxYOwy30AHXVJOUSsOquR1aWNjT4zkEEHsTIJ7ou63rEwm yK1/k6tUYB7vBLuD4B3sb9e9a5dRpdk0Gz3agIr2ouMfoVDHi6Oxe7HL/dfjosCE6zjt4QtbHWpxC JEvYkM0O4GbS0kZ6j+bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWwsU-008HXL-1n; Fri, 18 Aug 2023 10:38:50 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWwsR-008HVl-1Y for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 10:38:49 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 37IAcign060787; Fri, 18 Aug 2023 05:38:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1692355124; bh=++tHZOxQVyjXEzaxXM5oI+J3Y6rU4s5mxcooRIrhNZ4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Yo+N0lHu9wTiLa0xrZQv6S/XFh0+cD0SqzFV/quAIOuCoA66Drl5FJX3xBE+pfVuX G9iEK9OroIlFyCOHBQrRPChL2yDeSL0CLZU9XMQVIoj8WIhO8ww66szqvMP+jixoH5 AyWUsWOjvtHyLg5Sox8TJf0AvR8VfPyikkp/IjBw= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 37IAcil9020280 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 18 Aug 2023 05:38:44 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 18 Aug 2023 05:38:44 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) 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; Fri, 18 Aug 2023 05:38:43 -0500 Received: from dhruva.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 37IAcZ5a001102; Fri, 18 Aug 2023 05:38:41 -0500 From: Dhruva Gole To: Mark Brown , Nishanth Menon , Vignesh Raghavendra , Tero Kristo CC: , , , , Dhruva Gole , Vibhore Vardhan Subject: [PATCH 1/2] arm64: dts: ti: k3-am62-main: PM fixes in the fss node Date: Fri, 18 Aug 2023 16:07:49 +0530 Message-ID: <20230818103750.516309-2-d-gole@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230818103750.516309-1-d-gole@ti.com> References: <20230818103750.516309-1-d-gole@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-20230818_033847_596926_155AA4D8 X-CRM114-Status: GOOD ( 11.04 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Make use of Simple Power-Managed Bus as the fss bus controller is under the control of a functional clock, and also is part of a PM domain. * Specify the appropriate k3 pd to the fss node as per tisci docs [0]. [0] https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/devices.html Fixes: c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes") Co-developed-by: Vibhore Vardhan Signed-off-by: Vibhore Vardhan Signed-off-by: Dhruva Gole --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 3 ++- 1 file changed, 2 insertions(+), 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 284b90c94da8..b23c9e3d91cd 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -640,10 +640,11 @@ usb1: usb@31100000 { }; fss: bus@fc00000 { - compatible = "simple-bus"; + compatible = "simple-pm-bus"; reg = <0x00 0x0fc00000 0x00 0x70000>; #address-cells = <2>; #size-cells = <2>; + power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>; ranges; ospi0: spi@fc40000 {