From patchwork Fri Oct 18 03:48:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chi-Wen Weng X-Patchwork-Id: 13841078 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 1BF02D3C545 for ; Fri, 18 Oct 2024 03:50:47 +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-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=SDMWPTZLTSceSfSI7tlS46UKbSdC7kfiGzUwE2DAU/w=; b=eZXI1ctRGrVwkhYd2EzZImvrgn e0eiGu5fY386fvToKLXWxpmqFt60+qmRoSh+kWpidYoqBz1brLTBEL1xKX1Zc9QG/ShaXpg6CX+jY uXLBnnU0hYgAef7Rzm6cIAazlZptTE0TjLCzo6xISivH3crbyWLE24mFYCnX+h+VqBJmHdiyzR+rM qLDatnKXCdJawLEmDJRFQ3JFge6KWPGeAZyC0bESU8SUEeDWS8HGebag+T/46Ylwt0SWBWf1HY9yD 4sGTGEFGCBEqM+2IJClKu5srUUAR1OZOhOtspxD+rNBrlLlb2JXlf6bZ9d8zKwaNqKeDDTPf2kT9r NFotPz7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1e0a-0000000GpXd-0cRD; Fri, 18 Oct 2024 03:50:36 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1dz7-0000000GpOM-3aXt for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 03:49:07 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-71e49ad46b1so1131928b3a.1 for ; Thu, 17 Oct 2024 20:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729223344; x=1729828144; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SDMWPTZLTSceSfSI7tlS46UKbSdC7kfiGzUwE2DAU/w=; b=M8+LkPNCbfhTRB/MvWBCdFUvcSuq4I5eki73pOrvUvArJXuN9TEsP1R7U7uWbdjkOa bpsG4Hx2PL0/kykBMMcnf3r5inZ/LKwdjqPz0Y3HjgNJ/l4k/bLH0qNF+DmbltSFExqr 9uwBaldYHEjykwl+HtE/ZRgSH/1mckplqRHULBZA0r8LTxG3a8p0STOjxNHBUGKyniPY qPZda1zfuwFF3rX5wFjA85tJ4NB7GnccMthxAxn7j9RU5jMLt/tQnDspaWlz6YP/UYyL 3Ujz396nwOgTTAPBESvCkhxXmAWnqke3KJYxn2R3fGmS2Ke6KBi3AY2s6LI/ndamo44F h1FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729223344; x=1729828144; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SDMWPTZLTSceSfSI7tlS46UKbSdC7kfiGzUwE2DAU/w=; b=MeHWPzpFp3wGv9IY6/4VfSsTQs4idGpNad20XcXhzmV8gTGMyrqMU5qQFGlKgEJWuI yJMzuwL9Pws9cxRJrYhSv7uRounzU3HbYMu2zjshbSOl7Ag2ZOrv/6+unDfwfJ7zPs3L V79AEhli/yFFRX7HZoYh+Bi1K5quQAw3d2p428DX0fhvZ1HG8YEbIoifp6VTCPjhU/Kb uAB6nPz8UUotKoulsCX8sASqwuKMEJ3TuAXdlDvS5Bc6C/T9dro+N9uzleB9a7pmjnrN EoGY2XwqdmYlqLeS9Gwpe76t590Yv6u3sszvYUbJ2i+6aIS2Xuy2jEyzNugXlVZTQQ7C Xa9g== X-Gm-Message-State: AOJu0Yw5o6icwt+b6a5uoYo7MiXolI5vq9TqZeZJf2MsqURr5/rsMipk D4nEAUGZkFvU05vaYY0b2tgc4/qgc5ovdaL/v13zz4NqxY1jYkg9 X-Google-Smtp-Source: AGHT+IGqGNFGFh04PA1HczFsT4xsywTPwJ8IkIkw+augztSfLxDrKyN0WuJARigS0ey1NnO+gF9Klg== X-Received: by 2002:a05:6a00:140c:b0:71e:6122:5919 with SMTP id d2e1a72fcca58-71ea332adfemr1406062b3a.20.1729223344455; Thu, 17 Oct 2024 20:49:04 -0700 (PDT) Received: from localhost.localdomain (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ea333d6e2sm459066b3a.66.2024.10.17.20.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2024 20:49:04 -0700 (PDT) From: Chi-Wen Weng To: ukleinek@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, ychuang3@nuvoton.com, schung@nuvoton.com, Chi-Wen Weng Subject: [PATCH 0/2] Add support for nuvoton ma35d1 pwm controller Date: Fri, 18 Oct 2024 03:48:55 +0000 Message-Id: <20241018034857.568-1-cwweng.linux@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241017_204905_936101_AA3C519B X-CRM114-Status: GOOD ( 11.93 ) 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 This patch series adds pwm driver for the nuvoton ma35 ARMv8 SoC. It includes DT binding documentation and the ma35d1 pwm driver. Chi-Wen Weng (2): dt-bindings: pwm: Add dt-bindings for Nuvoton MA35D1 SoC PWM Controller pwm: Add Nuvoton PWM controller support .../bindings/pwm/nuvoton,ma35d1-pwm.yaml | 45 +++++ drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-ma35d1.c | 169 ++++++++++++++++++ 4 files changed, 224 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/nuvoton,ma35d1-pwm.yaml create mode 100644 drivers/pwm/pwm-ma35d1.c