From patchwork Mon Sep 30 09:30:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13815798 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 A16D6CF649E for ; Mon, 30 Sep 2024 10:04:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=IZnHv/RgvzeYV3uzmA6kz/gXBAAORwLBuWyDnXCRNF0=; b=lwGBV8MvXAhoPV6nJ3Pg/6/0qr JfmIwOs1fSSY31PwTbYQ0uh/XYFyf3swww/JzwwvzTWEMixMOMpsMX4DMFcDMoLBgpcXSsK07HQGq qA6bTd5yhXHWfTYyeOewNBNl0JsnLpNfROcDHOo0X5rjmvXc0G/UGYXo4QUcR/0RPoumCjAyRdoXV CPEP/2kFpQSi6fnR98HpfdmvQoO6dv3rxF1WAEo468a+zuFvsjzUXlTp8fpeFr7PuyclA55upDaMZ P84uPOIB+MrU2AHDBzHxWmto/JOrChRwhADbqL9WnFsdXkOKzfX1A8IJCXs+Q191ml5R8Zxv0n9bH FPKg2tAA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svDFs-0000000GchN-3yZk; Mon, 30 Sep 2024 10:03:48 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svCkI-0000000GXBH-41cC for linux-arm-kernel@lists.infradead.org; Mon, 30 Sep 2024 09:31:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1727688659; x=1728293459; i=wahrenst@gmx.net; bh=IZnHv/RgvzeYV3uzmA6kz/gXBAAORwLBuWyDnXCRNF0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=mfdwHh6mfZseMdBzY4Y9hsVBaIbQlMGlyng1wxhHjSpaUNsUPLA+lyscU3vK36eO 68wZ/KlcL8bhaWC8ElKuSEQVFbI0UYYB9d3eVq4BdEa6eCmtpPuUNEIrK27TzbKTl N7KzOi0xN5iphDojDCIg/oAIvMexrbMh+CrdkbtwK2Yvx0dSNuCGkP3G103UTwaOL gu0sUcVHHdDotza0A6I76NnKctf9TpuaaFG+EDO8cTHXLvVzpJ19CQjQ0mx02iO4p lDlT0YK6+keDECGVprSnc+q8RaJ30ZJM2Wmrufno83rEpRa7ZyqcQQtlbXRyn+7Of /4IaPj/2X/j14g5owA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MWASe-1sNYlt1fSM-00SoQI; Mon, 30 Sep 2024 11:30:59 +0200 From: Stefan Wahren To: Mark Brown , Carlos Song , Frank Li , Fabio Estevam , Shawn Guo Cc: linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, "imx @ lists . linux . dev" , Pengutronix Kernel Team , Stefan Wahren Subject: [PATCH 0/3] spi: spi-fsl-lpspi: Some calculation improvements Date: Mon, 30 Sep 2024 11:30:53 +0200 Message-Id: <20240930093056.93418-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:ctLek0nGFhy7LJsXbx9lkpiShaCF9HIsO+v5L4WJsV1XSn851+P dQ+AT6Jpz6k0nSSf0kB8KiUv0phYB6Aewsc6W7GqlY4xP0pbFfPRmjoLxUOYwP/Jw/tljdI jzaO3DVTDFk1KLSRWj0cgiYPeA0EzvCC6vscsbGu9Zrz3PetLpJ+QrU0DmbMS4lSheQZLXE ww9O/R8+63NWoFTBjBs2w== UI-OutboundReport: notjunk:1;M01:P0:zAN84iu1REs=;AEbWaILX4i9BzVoD7d5s68Y5QRn PjtulRTzZYycMqraxerC1MlIdfCr+zVQIQuU/xcFcJGtCaTTHQEbhiBgTbbH2a2U4ykB9xtxk JfoZ6/LYptuN6xBq208bUJkl/aPZ8rjycEhZfvDAesKGAOcnuheE/wNluAypkD+N4rGSkDIwh rTMFSGWq1cBUGfv3wpEX7XY6EoFRqbJFEJ9hwKFc6xpwCB90FkKzWr00np/bzsy3xZg7q4/yb 3hkyRQIpxHGbo8HN+tomb7TBBl7xTnn5VPr7r3nxQdSS49eMFoK7TMnG+NMJk6NWTyW4l4Bsz pCEt9xqaDiChAvMLPHes04lfwL6P0rsN8APIpo/aSEaUReenifqh9hRlzH6182x0XaxEHWD3O 2eUeaQjRuIzDWfLcx732uvF8rGzhXGrRFojJI+5LooBlncbudaF0kBycs2Fj2Oa7+BufSVvZV qf+SOwx+FHcXgPcwCKSSLjuPwg3A1t0PKRp/BRC6d2adJmvoPMwvzmm0FU9XH4+ioYmU9u2fF +2gCxFpUp6DOxy/DgeJ9qgXbnMtbpzzhI9NAXltYoitPFN20M8TZdoQmhzlw1o4bFjWEtRXXB LtQitTioX9hhreOtmVtTiScMLyQn3qjqhMC77bZZf/RUCw9AuR11U2T1wWtyYqGF7jCU/TJrU bS9e3GbhZBBY4Ch8ENnR6M93mUcCqsDrjhMZIH8qzxIksXWDIMD6gWM0HNhXLUhyD4VTw1GJn tESs3CkUHKOHAUbhu+53eGbS9nMT2BjgcoEhprN7MZi009Q0AgPA8JCI6IgHZHWLh7rqBbGhW uv5+euhtld0NOHaSJvgWw10A== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240930_023111_307315_5C076911 X-CRM114-Status: UNSURE ( 8.20 ) 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 This series contains some improvements for spi-fsl-lpspi which are related to the calculations within fsl_lpspi_set_bitrate. Stefan Wahren (3): spi: spi-fsl-lpspi: Adjust type of scldiv spi: spi-fsl-lpspi: Fix specifiers in fsl_lpspi_set_bitrate spi: spi-fsl-lpspi: support effective_speed_hz drivers/spi/spi-fsl-lpspi.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) --- 2.34.1