From patchwork Thu Apr 20 12:35:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 13218724 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 E0420C77B73 for ; Thu, 20 Apr 2023 12:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7Gt7ddZ1m+uWSj0UKRfp4cFKFnc5wlSqOlbMcpUFm0A=; b=l6ilyLpgcy2AoS tr2MF34G7a0FTopENaA681FIYXa0EuKDgo0lpP/ghPMWwZKWwXTh5fp49ubKtnDBAMhQ65P3Df5GT PYdWcGtqfZI4RMUUxw111tpN3smN7ghfdw9tEgCTsQ0bu/Sokw2LlFeOAu/jVqxUF6bUtaXwQbcKQ g5ZcKoivDMjjzZ+tQRBTBmvzr4axeQ8HKEFekJ5Eq/39swOLJ7mQ3gJyZ0IAGo2GPxzmQp+MNQXI4 J2LNmW2kA2juHyVAwxqEHrStux1mTWfHMremnqkiGpm3G6W+EKgvFJYfYf3Jc6lGYSRULYz/vWm/J +xzNRf7omm5JBWR8gGDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ppTVf-0085Ci-1i; Thu, 20 Apr 2023 12:35: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 1ppTVc-0085BE-28; Thu, 20 Apr 2023 12:35: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 1ppTVW-0005Um-1n; Thu, 20 Apr 2023 14:35:26 +0200 Date: Thu, 20 Apr 2023 13:35: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 v2 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_053532_697999_0368E752 X-CRM114-Status: UNSURE ( 8.27 ) 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 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 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: 3cdbc01c40e34c57697f8934f2727a88551696be