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: 8507 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp689171vqo; Thu, 20 Apr 2023 16:32:56 -0700 (PDT) X-Google-Smtp-Source: AKy350ZTfpXm15gmsRS5VutDxVSKo7p8NhmLR5BFVMm9pyJWi950gbTqGvkcWQrAS1PVqM3LM0NK X-Received: by 2002:a17:902:ebc6:b0:1a5:22a6:4e6a with SMTP id p6-20020a170902ebc600b001a522a64e6amr3560494plg.51.1682033576383; Thu, 20 Apr 2023 16:32:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682033576; cv=none; d=google.com; s=arc-20160816; b=PH/QbkFLdfB2Ne3zYk60MDrmz290piEdXpuhDyqeSRcn8TQm6DHM2KOfUbtVTiJIAf iNU+VA56T9sK0B/BS2ApMoPTOIqOaQ8/g8pmBtXjShAkwGNdr6Qr/vdUReBi90E4iyGV icFFDn4mgVBqTh29tHYk3/FpC2Xompyf7N8uSqQpzyeJyUCGzlWQAefG8xNdtYgUUu2c JuqZ/RkI5tJ8rAvEy1aEvL37oghYa+KyDVaXfcG22Gf/COuY9G/tpbGuTd/jSb2Wsd1j DxdcGoX5JjwlZJSJG4nBiNxrlv6WqLInqOdXLzogEZzj3zKZAuRnyNLf28+ByWQ/uRgw c9XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=E+Qyt04K+cwxKtktAlQdeskd6hGLgvRojjnWA7oW9g4=; b=Keg6xhxGXIVEoiodJun0tFYNy3uYEyi6PB+zRn13jgy0ewzCccgO0MiPbBRVeyyUWo GZPr/TdvJ9vHDbJv28tgZrTANTuG7bj4iFiXkKSE2jgO7isHuoHohCAe20ur484ndHhR H9Bd+YW2LI2ieAEw+mWDrbpvBbM1MsLHPs7JLjVRZTKZ1R5JMRsHiEMR86EWiIrnDQcg r4tGpwb8OobOwE/1FYvdgB5hcRUHnQPtg3SRHmxZsq/YEtQczmDU7hb3WduheOmPfz5D K9So02GWRBH2nod0NZ/WDLf3U0bJ6sDiYaCdMtBsiDnmqwdVUqewekjTEYkDksu9A0HO oZOg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a170902684f00b001a5824e78d0si2928046pln.94.2023.04.20.16.32.43; Thu, 20 Apr 2023 16:32:56 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232762AbjDTXWg (ORCPT + 99 others); Thu, 20 Apr 2023 19:22:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231611AbjDTXWc (ORCPT ); Thu, 20 Apr 2023 19:22:32 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA4093AB5; Thu, 20 Apr 2023 16:22:31 -0700 (PDT) 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763699565324918179?= X-GMAIL-MSGID: =?utf-8?q?1763740039135603640?= 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