From patchwork Thu Apr 20 23:22:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 13219273 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 DF507C77B73 for ; Thu, 20 Apr 2023 23:22:46 +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-Type:MIME-Version: Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=E+Qyt04K+cwxKtktAlQdeskd6hGLgvRojjnWA7oW9g4=; b=2kIG3523f5Art7m9ONwPWauivp U7qTUDOTXOOh6lX2ZIVj4nkWO4OGiRT/ux+fBm0vUE3O9OztOaUcNUkdWtW10lVxVyzS3ZdjZiPkO poHvfJSy3YMQ4aNTiAluRYHvZemdDxSuxk9n/HNFNZf9USRVVXvhyKQsGlLxuevWOUkQyZYBlpGwG hGZSfGNOeSoKAdTyt0ho8CBiaSTzKHbj194ozx5JcxmcudtJJipIKNhqXyDmhKhUUu19MuVnNP/RQ /uY5HXtowO8e3MnMDGWskaGFi6xswnt82DLF4YSuQb3AKHWpawSpEkQpFKfr/eiCt+GhI7dAN1pCm IcTUri/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ppdbn-009FKx-1v; Thu, 20 Apr 2023 23:22:35 +0000 Received: from fudo.makrotopia.org ([2a07:2ec0:3002::71]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ppdbk-009FK5-1U; Thu, 20 Apr 2023 23:22:33 +0000 Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1ppdbf-0003Wp-1K; Fri, 21 Apr 2023 01:22:27 +0200 Date: Fri, 21 Apr 2023 00:22:20 +0100 From: Daniel Golle To: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Thierry Reding , Uwe =?iso-8859-1?q?Kleine-K=F6ni?= =?iso-8859-1?q?g?= , Matthias Brugger , AngeloGioacchino Del Regno , John Crispin Subject: [PATCH v3 0/2] Support PWM on MediaTek MT7981 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230420_162232_522368_BE0F11E2 X-CRM114-Status: UNSURE ( 8.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Add support for PWM on the MediaTek MT7981 to pwm-mediatek.c as well as new mediatek,mt7981-pwm compatible string to the existing bindings. Changes since v2: * improve commit message, adding that alphabetic order is restored Changes since v1: * use pointer to reg_offset instead of u8 reg_ver and if-else Daniel Golle (2): dt-bindings: pwm: mediatek: Add mediatek,mt7981 compatible pwm: mediatek: Add support for MT7981 .../bindings/pwm/mediatek,mt2712-pwm.yaml | 1 + drivers/pwm/pwm-mediatek.c | 39 +++++++++++++++---- 2 files changed, 32 insertions(+), 8 deletions(-) base-commit: 44bf136283e567b2b62653be7630e7511da41da2 Acked-by: Uwe Kleine-König