From patchwork Tue Aug 20 12:12:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13770048 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 AEC5AC3DA4A for ; Tue, 20 Aug 2024 12:13:50 +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:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=L259PivsoRij+1noWJ/1Klvj0GvBnfQNbVr97dnTFXw=; b=enS++8GKbDKvzR YJ6vJAzrKCTdjT9psHF8A0esBOLfmhpQL5atIgj/xHF8AaMHOi5JaFtqfW9UTS6SkxQ558amTR+nj +neSCL0p9dUwCEA0dsbzpqp4FX/oz9lAzf8H0Q0E21Fyz+R9wCwpQZgcV0sVBPvapF4QD6WEHnEuQ KrbOm28R5LYJoiuLnYKamuUcFgIYBaBUdkSSdAc7RN80XwUhEAFWEAIdnXoXOmzFAPtCZDuAo6ApE HyUhUQyKI7ZmPTqIS+CNnX2ahob48COJtGKFF2mXwktAcAVxQT7rP8hfefSLX8pit0Y2uCnYXnJnH bhmEjYinqlmtOmYkX5uw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgNk2-000000058ji-00nx; Tue, 20 Aug 2024 12:13:38 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgNjJ-000000058ZA-3dTX for linux-arm-kernel@lists.infradead.org; Tue, 20 Aug 2024 12:12:55 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C257860C5C; Tue, 20 Aug 2024 12:12:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECAEDC4AF09; Tue, 20 Aug 2024 12:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724155972; bh=wAFYBWvy2aohpaOsZuTOOMzrh2vQd2xgJrn5HVeKbBA=; h=From:Subject:Date:To:Cc:From; b=gzuryPV6ZRSA4NOtDIoEPUBEXUkwvR8RB+06b7TFwf/sp4nuTz37EpijzD2swElwJ gBuqqgOfaa8oezPQKYPNhiu5uBQB62goReYbzNkNlCeyxPphpAfx/sV0wmLr58sCIK wyyefVPs9LFePS20ukz3jHu9Ze5j8OuHz6hUN3s2wteJm6kaHH4VSS2m7pujGDGX3u MoOXu2nOquL5qAGNAyRm/mLUpKaIS2FBnFjbZkD4tSK/vy/UhbExsLyZjCuTH+SdDs cgCJ8qHaDcqjExxrP2I5iLOV4Ds5jJIHJiKClC13p70q0KgteT5S33BJfszSaPIKIN M/xw2XwGB7apQ== From: Lorenzo Bianconi Subject: [PATCH v4 0/2] Add PWM support to EN7581 Date: Tue, 20 Aug 2024 14:12:14 +0200 Message-Id: <20240820-airoha-pwm-drv-v4-0-2b1c2b760744@kernel.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAB6IxGYC/3WPy26DMBBFfwV53UF+QDCs8h9RFg4eg9UEk4E4b SL+Pa5bqd10eRb36NwnW5A8Lqwrnoww+sWHKUH1VrB+NNOA4G1iJrmsuBYajKcwGpjvF7AUwWJ tncSe8xNnaTQTOv+RhYdjYkfhAutIaLKmDxGpFI1UqlW6bsrBr+U5EE6PsH9HmvBcBhp+TITXW ypav3W/QV2RcxpegwsEOxACTrMDo6oWXc+1dbqLkn0FjH5ZA33mg1Flz39fogIOqFrtFFaiFbu /Rcdt2162fVvTLgEAAA== To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Christian Marangi Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, lorenzo.bianconi83@gmail.com, linux-arm-kernel@lists.infradead.org, upstream@airoha.com, angelogioacchino.delregno@collabora.com, ansuelsmth@gmail.com, benjamin.larsson@genexis.eu, Krzysztof Kozlowski , Lorenzo Bianconi X-Mailer: b4 0.14.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240820_051253_990543_412E8A9C X-CRM114-Status: UNSURE ( 9.78 ) 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 Introduce driver for PWM module available on EN7581 SoC. --- Changes in v4: - fix compilation error on sh - Link to v3: https://lore.kernel.org/r/20240818-airoha-pwm-drv-v3-0-e398f3e41916@kernel.org Changes in v3: - fix compilation errors on arm32 Changes in v2: - fix compilation errors - fix comment style - get rid of MODULE_ALIAS() --- Benjamin Larsson (1): pwm: airoha: Add support for EN7581 SoC Christian Marangi (1): dt-bindings: pwm: Document Airoha EN7581 PWM .../devicetree/bindings/pwm/airoha,en7581-pwm.yaml | 42 +++ drivers/pwm/Kconfig | 10 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-airoha.c | 408 +++++++++++++++++++++ 4 files changed, 461 insertions(+) --- base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b change-id: 20240818-airoha-pwm-drv-de5df2ec00b0 prerequisite-change-id: 20240705-for-6-11-bpf-a349efc08df8:v2 Best regards,