From patchwork Wed Feb 8 06:56:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13132499 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 582D7C636CC for ; Wed, 8 Feb 2023 06:58:31 +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=nKebEhR3pc6o6cYOAjrnrWITXKWNVsx0bNjvUOps+2Y=; b=n4K2Iu5pBpOUUz pynQoLaxkPVLzHeoCa8JyLtAJo9i+o6FSdubqPEHtV1lo26yge8ihX0eSwSoZaiN4rG4io6lJ/vui onRxHPlWnLhywhgAFiRbO0+Pdm8Z5eF0U04FUg+YFglYnPO1bn0fOclH6hoQjMHf/O8E0UBPuu2+J 98IbJGHf9u3Fv/0xMJRxEN3ZRLV5As5JzW+Hb54oXiKiLl9ZQJhhK6qN2fqz1AC95JcBl7lfhle7u Q/7S5pFBj2Wt02cpR0a6TpJtl6GD2GLXe3RpkPSTjS7o/8Q8ehTUim2+BsXlfHqPKyNkxBcXnZj+F MtS95tzEiglp9oeyBe9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPeOa-00ELVD-U5; Wed, 08 Feb 2023 06:57:33 +0000 Received: from mout.perfora.net ([74.208.4.196]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPeOH-00ELQa-Lh for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2023 06:57:15 +0000 Received: from toolbox.int.toradex.com ([213.55.227.109]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LijEJ-1otcLy2abN-00cy4C; Wed, 08 Feb 2023 07:57:04 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Liu Ying , linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Philippe Schenker , Max Krummenacher , Marcel Ziswiler , Fabio Estevam , Krzysztof Kozlowski , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v7 03/10] arm64: dts: freescale: imx8-ss-dma: set lpspi0 max frequency to 60mhz Date: Wed, 8 Feb 2023 07:56:34 +0100 Message-Id: <20230208065641.23544-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20230208065641.23544-1-marcel@ziswiler.com> References: <20230208065641.23544-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:xE8izTO0sxLPo5V9m6+AOLPY0T64Gw5oqyClAQIClR/9MSFaZuz xoICTvn/9tsBO6JlzDNcQq3FRo+kmgVnrCZR+vLuazlzVSBdCYPIJEC5fj65xEO9seL5fcd khFwBFQwMlWlfJ5zbyn3w09yayc41lcY2aPX6+CvX7drIQnTSTFYG9g69L2SwNXBoTuU0XT nAdEACrOmpMALWpSXjL1A== UI-OutboundReport: notjunk:1;M01:P0:GGoPvCIvcq0=;RqZG8lhrrR/+CYpgiKTrLO5mBIZ KryUFaL3atY6BY3NxxDWZZg5ImbzJgBTcnv/dy6/Hh3PWgEmxjRgrKeody+4fNfPV3fiJLD9T 9klh0r154Yk35FCuzNzanu1NExIoK69/0KEpKjkKRAF7nUpxSraRcrpJGPseRbP/4Lj4VzUgm 1UC/nb0NKE7XtWGTLqM/VB8Rsy6JvLXoKPIWhgeo8Uv7BGopSyllHGFs8V/jBUa0xVh8CrtnD n0eoZ9xlzLEXa/g8WmiogQn66GcRYwGbOn7JO++kWSpxBDiprG0lMOxzdWT8/WrlSgVHaMslD suEvhOLX4QJzamLVVJFqrxD4tbLNlMTKsRv9W4HwsJn1F9LmFSTQ5beKnvVJ931lfAieDMbJ9 Sr9gyekcI0jCj8liSnpHc0T71wk7NOZTrbUHosUYEF3RUFfeUEq1A14pcYQJp/lAU23PLH9e8 5UsHJaSSPQnrm9xMIWf4P5GAUwboUSCMUkbhswK+9ej8J/VJy61CFar0jsthS7Cpr96QrMflh v53CWCnA2VpqZxt+vEWpqM1LmpvFPQf9RpdQ2Dx3N0icyWDEnwLSXYRW0ZKBpMHlNrzC0dTOL PpOWCPxoAl9ZKBtd7rb6UGOvNicHkVYsglZEASdtmHVXhR17dfD7c+R52fybTckAJGcNAqbLn TeKO6tU5p/T1z22g5e4GmPjTp5xwReooLUI3kvbeeQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230207_225713_800779_026D689D X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. 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 From: Philippe Schenker 60MHz is the maximum frequency mentioned in the datasheet for master mode. Set that to 60MHz to match lpspi2. Signed-off-by: Philippe Schenker Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler --- (no changes since v1) arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi index 6e5ef8b69bf8..6ccf926b77a5 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi @@ -31,7 +31,7 @@ lpspi0: spi@5a000000 { <&spi0_lpcg 1>; clock-names = "per", "ipg"; assigned-clocks = <&clk IMX_SC_R_SPI_0 IMX_SC_PM_CLK_PER>; - assigned-clock-rates = <20000000>; + assigned-clock-rates = <60000000>; power-domains = <&pd IMX_SC_R_SPI_0>; status = "disabled"; };