From patchwork Sat Oct 12 22:07:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13833530 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 359F1CF2587 for ; Sat, 12 Oct 2024 22:13:48 +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:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=aMohHpUiNjGEoojteGSz3nOcL08AqhYCjLoRoM2utUY=; b=YLJBgMBgxR1SgsN2KCfdJ4odFj Hhz+PZoHumTuDG97pUXjIm2fZRfrZ79mtVhsktyq4Y3sFuAC40nsVFEI94TKk8HDtsh6GKHN8bT4R XCYLKt8cgGRdUes0Q9LqA65ECOrgjPw2wxZZyN8EoFqhb/z5cXrANxGTLiWlUm+o1KcfVQtoXJjn9 7kITbTOKxWnV/37/DvB3vOZvD0x/tkUAmtB/JmBj8bM7AWRSU1w5qcNTCCjK19di1MkDBJ2/5BL3+ bvoodTQxvTS5A9XrD5mH0S3OP7TB7M5jkUtVBMH0NgHq4BZAjnZOrSRmOgDM0Q87yw+LWwB6tnMzM LOcv18ZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szkMt-00000001vIO-1Qh6; Sat, 12 Oct 2024 22:13:47 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szkHc-00000001uiK-3jqX; Sat, 12 Oct 2024 22:08:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 665C1A40AEF; Sat, 12 Oct 2024 22:08:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 846FEC4CEC6; Sat, 12 Oct 2024 22:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728770899; bh=smbpZHj9Fc2SUqJDB42k0u1ZQM85V3W6kg2ptqohN8Y=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=anNf1kvFupZEGY7x476OnekTaXHAdi+tJcpYIz6rWpdYdh7IWh0IPYZ13/xVno0BW exF+u1mrPPW17xQFR1mr72LhI0RM/99u7TzbopZ5RyCVFSpUgrs9C9wC27QfcGozuy toqHORGDFeq2f4MxL5dDY1GMBq1IIMHAeboKWPS/dWlJBcTKibmQ1fLZwWt99yQUHl H9Svb2rp9e9uDTZ4decF87pnfdUDcXj5XO8e9YvHiTboyRnSOVQk0/FcYMgadlYnaQ brNr1kZe+Rta2kXFEImYENXV7vgwxPfuEyysswzNE5aLOFwYKnVAJPLgIyHwgbXri9 vqtJpMptBap3w== From: Lorenzo Bianconi Date: Sun, 13 Oct 2024 00:07:09 +0200 Subject: [PATCH v6 3/6] dt-bindings: pwm: airoha: Add EN7581 pwm MIME-Version: 1.0 Message-Id: <20241013-en7581-pinctrl-v6-3-2048e2d099c2@kernel.org> References: <20241013-en7581-pinctrl-v6-0-2048e2d099c2@kernel.org> In-Reply-To: <20241013-en7581-pinctrl-v6-0-2048e2d099c2@kernel.org> To: Lorenzo Bianconi , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, upstream@airoha.com, benjamin.larsson@genexis.eu, ansuelsmth@gmail.com, linux-pwm@vger.kernel.org X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_150821_024909_5D25E332 X-CRM114-Status: GOOD ( 10.01 ) 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 Introduce device-tree binding documentation for Airoha EN7581 pwm controller. Signed-off-by: Lorenzo Bianconi Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/pwm/airoha,en7581-pwm.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/airoha,en7581-pwm.yaml b/Documentation/devicetree/bindings/pwm/airoha,en7581-pwm.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f36387572a9781636aeacdbcc8947017c7ca75a0 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/airoha,en7581-pwm.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/airoha,en7581-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha EN7581 PWM Controller + +maintainers: + - Lorenzo Bianconi + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: airoha,en7581-pwm + + "#pwm-cells": + const: 3 + +required: + - compatible + - "#pwm-cells" + +additionalProperties: false + +examples: + - | + pwm { + compatible = "airoha,en7581-pwm"; + + #pwm-cells = <3>; + };