From patchwork Tue Sep 12 13:51:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13381719 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77861CA0ED4 for ; Tue, 12 Sep 2023 13:51:48 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlie5.idc.renesas.com [210.160.252.171]) by mx.groups.io with SMTP id smtpd.web11.25596.1694526701025490175 for ; Tue, 12 Sep 2023 06:51:41 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: bp.renesas.com, ip: 210.160.252.171, mailfrom: biju.das.jz@bp.renesas.com) X-IronPort-AV: E=Sophos;i="6.02,139,1688396400"; d="scan'208";a="175825291" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 12 Sep 2023 22:51:38 +0900 Received: from localhost.localdomain (unknown [10.226.93.97]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id B79A04006DFE; Tue, 12 Sep 2023 22:51:36 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org, Nobuhiro Iwamatsu , Pavel Machek Cc: Biju Das , Claudiu Beznea Subject: [PATCH 5.10.y-cip 00/12] Enable MTU3 PWM support on RZ/G2L SMARC Date: Tue, 12 Sep 2023 14:51:22 +0100 Message-Id: <20230912135134.299576-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 12 Sep 2023 13:51:48 -0000 X-Groupsio-URL: https://lists.cip-project.org/g/cip-dev/message/13061 This patch series aims to enable MTU3 PWM support on RZ/G2L SMARC EVK. All the patches are cherry-picked from the mainline. This patch series depend upon [1] [1] https://lore.kernel.org/cip-dev/20230911144702.948246-1-biju.das.jz@bp.renesas.com/T/#t Arnd Bergmann (1): mfd: rz-mtu3: Link time dependencies Biju Das (10): dmaengine: sh: rz-dmac: Improve cleanup order in probe()/remove() clk: Fix undefined reference to `clk_rate_exclusive_{get,put}' clk: renesas: r9a07g043: Add MTU3a clock and reset entry pwm: rz-mtu3: Fix build warning 'num_channel_ios' not described mfd: rz-mtu3: Fix COMPILE_TEST build error mfd: rz-mtu3: Reduce critical sections mfd: rz-mtu3: Replace raw_spin_lock->spin_lock() arm64: defconfig: Enable Renesas MTU3a PWM config arm64: dts: renesas: rzg2l-smarc: Add support for enabling MTU3 arm64: dts: renesas: rzg2lc-smarc: Add support for enabling MTU3 Hien Huynh (1): dmaengine: sh: rz-dmac: Fix destination and source data size setting .../boot/dts/renesas/r9a07g044c2-smarc.dts | 12 +++ .../boot/dts/renesas/r9a07g044l2-smarc.dts | 21 +++++ .../boot/dts/renesas/r9a07g054l2-smarc.dts | 20 +++++ .../dts/renesas/rzg2l-smarc-pinfunction.dtsi | 20 +++++ arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi | 23 +++++- .../dts/renesas/rzg2lc-smarc-pinfunction.dtsi | 9 +++ arch/arm64/boot/dts/renesas/rzg2lc-smarc.dtsi | 14 +++- arch/arm64/configs/defconfig | 1 + drivers/clk/renesas/r9a07g043-cpg.c | 3 + drivers/dma/sh/rz-dmac.c | 17 ++-- drivers/mfd/Kconfig | 1 + drivers/mfd/rz-mtu3.c | 30 ++++--- drivers/pwm/Kconfig | 2 +- drivers/pwm/pwm-rz-mtu3.c | 2 +- include/linux/clk.h | 80 +++++++++---------- include/linux/mfd/rz-mtu3.h | 66 --------------- 16 files changed, 186 insertions(+), 135 deletions(-)