From patchwork Wed Jan 18 07:26:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13105746 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 EA932C32793 for ; Wed, 18 Jan 2023 07:28: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: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=kWoleaOMHcFfLXqP535D1Z/K6JK/PDTraUtVksaurvQ=; b=jDWMh2KaP7nHUz sBWsu31JPg8fbr+F0ZIKRac3V2G1dm+7DjD+dz+WPPoj/MwPywdcVnJeeETyeoMbAaXlJTeT0KRgU SuVUzPAhByf4jGL6u7sMdMsfMxSbPBmGwy/g7+vnccC0FDYnD4nRZoVQEEOJ9z2MMqnen6swwx5/i V4yODuqIddNUqxJ8O8IW5dvjqD8loCsuuiVM7yIAG7AW50oA2xDFVDcoYShz9Q1Z71C/yUhBWc4P6 WKZHJGhp1HlREIThfmySAIPgkNc0Ndikwm508MsglD2VQxpaWjo1DHW+zwvoZ+UKuRmD43mgcKWSa a3rl+1kVKjUeHt79qpbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI2rQ-00HCFL-FU; Wed, 18 Jan 2023 07:27:52 +0000 Received: from mout.perfora.net ([74.208.4.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pI2r7-00HCAp-NU for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 07:27:34 +0000 Received: from toolbox.int.toradex.com ([213.55.225.137]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MStu7-1p7y5x1Fg5-00Rrds; Wed, 18 Jan 2023 08:27:24 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, Philippe Schenker , Max Krummenacher , Marcel Ziswiler , Fabio Estevam , Frank Li , Joakim Zhang , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v4 03/17] arm64: dts: freescale: imx8-ss-dma: set lpspi0 max frequency to 60mhz Date: Wed, 18 Jan 2023 08:26:41 +0100 Message-Id: <20230118072656.18845-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230118072656.18845-1-marcel@ziswiler.com> References: <20230118072656.18845-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:IhUQEeVbH/l4gFaRA/n2cPwKfb4490yN08djRG9UjAk+8/sLvCU t41LOzLB60HPHVIEZHnwCDFN2El/0qaGjXTLrKfsm2+7+bN5T66zbRZYLxzr0BpWOZ9nPYp 2bEdR49dU1qXMHIR6XWqo1F+AnsOSjsamjHgsPWWC9QkavkUHiE2n+aCHWm6krutzK4Elu1 8WK7AbiRl7t4CS3BbNedQ== UI-OutboundReport: notjunk:1;M01:P0:Sb/rNCGwTWo=;aJaJwQcfAM2m1NwfhQNES01yagz O9Ve8jMQ456X4OQkkC1Q+fSwZJO4ZwOm+yAmnCEnpJfTR1kmOYqkjw3Mtp/0QA3U7rw9B2XtP Z0mzoNmqZ2CyLvgRRi6p/sRTRomdDPT8DhmXHALow/5IPqXzyKdGMNwI29u3Dc+ewGln9tB1G fJ44ldCUDvgyjL0z5eTF/6uUmYs2rw3/YdYwq2VsUc4ECQkfzDPua8CV9jZG4FLAbOwFuKymL ldOcf46zNigJMuVHKAiC+wDwF6FEVNU0TpIttc4UUfpbTtArCfpqPse2mq2+ka9FgmhEWd2Hm DlLKhQcWUiUeRFQMI0FqO1I+xRbPrKwxWWLyKN/9cBwVXyNratqkKYOWgjiWN1IrN/xWLiVax j9BkMrWMcBw5HJEv5MWQOjegVBSuPVuAQnIGdtFZGSIk6d9KVoLW/JptW75VckYsWVZoe/w+v L0LmWKqoDDLYmQk4tLJXRL1x/zL2q+W28fKG+dAK1COleqLF6efRtLBnk/7KDn6hWyCoA/lw9 Jsp0gwK2h3ZBDCAel+mpJyfs1vryy6cQbBZPYwHQJ42i0bn+eWWRdS648RTH6ZWCh9MLNHwWl bsTlIiFrGeizTAc62ffr1Rjyt2Rx535FZ8XBnSG/UcwHOrPtCPBoPtJx1rsqSFaR55NcKqWGn NWVGVX6NqneYgni0/rnBckeRyI99mmXfYCmAJwQFoQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230117_232733_857998_FD17F381 X-CRM114-Status: UNSURE ( 9.40 ) 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"; };