From patchwork Sat Jul 15 01:03:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 12080 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp2815172vqm; Fri, 14 Jul 2023 18:05:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlGd4JZP8KPabnsmvtg+WMej+/RzqaICltF4Ir1Ovjh8OIPoMcM/DCrxD9Yxzy3Qc44IU54v X-Received: by 2002:a05:6a20:1d5:b0:132:f3c0:c743 with SMTP id 21-20020a056a2001d500b00132f3c0c743mr5278700pzz.61.1689383136520; Fri, 14 Jul 2023 18:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689383136; cv=none; d=google.com; s=arc-20160816; b=xNgKJuaaPt0LPcNi8c6Qn+9SdKk36Syzc75fT+A7YfSJjzaIGhvMPD4NwXTq/TY4by Fla4fSqZtasVMckl7iDNYaXytMNK0gfFVsyvWkozrSH9Hngh9RCI1cNcqvM8KCCmSR1z YJ5iY61FOY9qESB3PPg6BboYdH7Og/H5rEYd7bimdSkgonQtlC0NAziIlmdVpP6q8ycr /PDDYq4PHLjv3SiR1ND/K2BXRZyMhOy0dUXdyboAOBADeLidG8Jl2H860lmj5rHtqITb 1Ub5abrcYkOcprQ5vnBsmQBzCGJa2JFVOaNHz96ViU/nBcj2JTDY82X2kE24m0svhd81 oxxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=qEK4up5+HzrG94K096UCGO6VgFD8rXmDGVP3OyNtJwg=; fh=8SPOXdXcsbbrdLjCtKFrhdDDaSSTCLFzjvpt84tri9w=; b=LUJWsEdMM4107wBVLB9A9NYZ0PnW3ojUW4nYwdETNYA7zI5ReIFlvwct9lx8E6J58b J/e00gnwbPvVHG2WVisXwce3uAj7aVojukZwRy8+S7Ea/CBSTLgWz1OXbIQl6r7DjKKs Us6Fa15NmdWu/uXirDja5b879gbCRhRQwZjx6cOX8XVInVNDIrYD2QPSUonOnY3wDgHX Ul2bLpmQ6EElwkrLG0jkRmz+U6nxm2aU9Wi6ySjgekD1ZGIma94r9+EmnLLqLd05wVpm YQPPTQac8jTN0MRKIhkJNHgr5Gj6DFnVK/yaWUIYhNBydfX1oCvX0TDefv32VX6DbPsA brlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cd26-20020a056a00421a00b006817ac73c65si7681296pfb.156.2023.07.14.18.05.23; Fri, 14 Jul 2023 18:05:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229478AbjGOBET (ORCPT + 99 others); Fri, 14 Jul 2023 21:04:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbjGOBER (ORCPT ); Fri, 14 Jul 2023 21:04:17 -0400 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7EB353A9C; Fri, 14 Jul 2023 18:04:16 -0700 (PDT) X-IronPort-AV: E=Sophos;i="6.01,206,1684767600"; d="scan'208";a="169014684" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 15 Jul 2023 10:04:14 +0900 Received: from mulinux.home (unknown [10.226.92.194]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id DE3E240A10D5; Sat, 15 Jul 2023 10:04:11 +0900 (JST) From: Fabrizio Castro To: Mark Brown , Geert Uytterhoeven Cc: Fabrizio Castro , Andy Shevchenko , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Paterson , Biju Das , Lad Prabhakar , linux-renesas-soc@vger.kernel.org Subject: [PATCH 00/10] spi: rzv2m-csi: Code refactoring Date: Sat, 15 Jul 2023 02:03:57 +0100 Message-Id: <20230715010407.1751715-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=1.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771446611908675526 X-GMAIL-MSGID: 1771446611908675526 Dear All, this series is to follow up on Geert and Andy feedback: https://patchwork.kernel.org/project/linux-renesas-soc/patch/20230622113341.657842-4-fabrizio.castro.jz@renesas.com/ Thanks, Fab Fabrizio Castro (10): spi: rzv2m-csi: Add missing include spi: rzv2m-csi: Adopt HZ_PER_MHZ for max spi clock spi: rzv2m-csi: Rework CSI_CKS_MAX definition spi: rzv2m-csi: Leave readl_poll_timeout calls for last spi: rzv2m-csi: Replace unnecessary ternary operators spi: rzv2m-csi: Squash timing settings into one statement spi: rzv2m-csi: Switch to using {read,write}s{b,w} spi: rzv2m-csi: Improve data types and alignment spi: rzv2m-csi: Get rid of the x_trg{_words} tables spi: rzv2m-csi: Make use of device_set_node drivers/spi/spi-rzv2m-csi.c | 139 +++++++++++++++--------------------- 1 file changed, 58 insertions(+), 81 deletions(-) Reviewed-by: Andy Shevchenko