From patchwork Mon Jan 2 17:10:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 13086884 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 C43ECC3DA7A for ; Mon, 2 Jan 2023 17:14:32 +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=LXOR6/y00UqIHk KFJ9eUhwkclNEjPNTa+uUa7NSfitYkyhiN/ZbUnNlBZ91twYhTun8s3gDHn1cqNQxQF1rW62+/sDU yR1dk5s7iSwFc69dVj9AFLfFNqWxAAruALeV9wqU3NU3b/+1LfQhCagpBhdnCu/XDhmCyfL1GQjTV DcD1INDtDDZ4AkzQ3t39tBuk9Zo/q3HQbh+KplAzl36kXBNoi10b1AMXZSrSr3lPuau4XPSdcsp9i P6BmUI/RX1gSm67R9VQQJjnO7+wTln/EWYMA+RxSbrBU3/lFkNAUmssHNK+Y8S2kIH9LGzXHWBrGj q7FkPcTnIg11kJeZGCDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCONE-00D0Ix-MU; Mon, 02 Jan 2023 17:13:21 +0000 Received: from mout.perfora.net ([74.208.4.194]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCOKk-00CzCM-5g for linux-arm-kernel@lists.infradead.org; Mon, 02 Jan 2023 17:10:48 +0000 Received: from toolbox.int.toradex.com ([104.59.205.51]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPSA (Nemesis) id 0MdsFf-1pSgIX3UCL-00PZd1; Mon, 02 Jan 2023 18:10:32 +0100 From: Marcel Ziswiler To: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, Philippe Schenker , Max Krummenacher , Marcel Ziswiler , Fabio Estevam , Frank Li , Krzysztof Kozlowski , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo Subject: [PATCH v2 3/5] arm64: dts: freescale: imx8-ss-dma: set lpspi0 max frequency to 60mhz Date: Mon, 2 Jan 2023 18:10:20 +0100 Message-Id: <20230102171023.33853-4-marcel@ziswiler.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230102171023.33853-1-marcel@ziswiler.com> References: <20230102171023.33853-1-marcel@ziswiler.com> MIME-Version: 1.0 X-Provags-ID: V03:K1:jpgyUorgs+0IidkM+eK6IH865pHwT9pfiQJkayIVCa5/d5Nhbeh RqTYjPVuj33YauccSM96zLCpOarNEqFpYGaaJzaAu9x+DxsPG+QyK9s++MgOyxaN7ok0Jac 5DIcJ/VYfef08zEml457of5VRGYbfKUjLvHN4POvlAg5uv8I89oK9JbZ7BrFysgoDH7aAde wtR5VjVHxhocbelUfsv2Q== UI-OutboundReport: notjunk:1;M01:P0:YH6chr/nMXM=;VuIeU5GGZbrUICdPF4S8C18uYLx wDeF6xSLVbnfhCFhD3lmNN3sbHwAIP3xsJudIYzo4/ekMbC3744KGND+TcwmvQwE0VrCIawBk WpaPDlPZBomzuHG0t1sEw5xiqpUBPj1yuTWFqM6OuDLr/FZEOmjnU3quxjQwQsCISvUuFNMb4 yqecnvQo82CojX5Vol0Vbagn2dBmMr/noVAXxOBQF150gq73rsQrMMaBzFNcyLazD+X1tj1Fx 8Auh9E+390gkOXZFcbMp5pN35hUY57yyPmoBuMxW6zmxURVD8xRIgKg4bZp9iOh73l/Ymb48K hfvJut16N8V83jvBX+ENmZllUmvE7WKc0WvxtiabjdFnj6japfXM6grHCJRLtKR6BEbBMbh5M NT/g2udtUJGmU8dhyGWWWLkHSKFxd5pkTPH+mhppKrPvdMOZ/IHK8M2lN9oL9tR/jABLsJL30 X/gDZUesZS0MYfEuM4JmvU03GWqbkj7/k3otaSiBv5+apoKjHj9QgZE5zF4d2ujX1g0rsQXqD 35Aca4Z3Mf4NxoFUERKPtVF8xOoYglGs5sWja6f6Mq9sQZaLvdGl+pwkmurLW1qFc/fyFL5zY SzI0npwbC3EXkHvWNnlC4lZqDS6bkau6z4kOYB344KeEl2ho+nIwlU82Tu3WY1KT+Ay4c1XpD ZCTeay/JH/hyiV2ZXdo5eXhZTNF6KxZjdzOb1FpToA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_091046_362901_89B646F6 X-CRM114-Status: GOOD ( 10.60 ) 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"; };