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: 13834002 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 DAC7ACF2586 for ; Sat, 12 Oct 2024 22:13:54 +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=cZNSdazTjP3w23A8/v0d2E1klY AuD/bnvlj+wNtbxsVkUEkXMKuzdeyWKKQqDseSv/E0ZtaJYMfBe38H0Ry/q37rArVfp8di+0wUkrT UpKyuWu3hAQZOw4YaoqqGtPV7CVfsyAFeT65RcdGeFNN+qOaY5f0ocVTDvuAdHHCdd8itr2wrwlKL 06hKwy+HnvmBGWkGP8+5bYJJpLKHPpIZsUMZ5677Ryag9UeUPRUJ5WfrHMLHPlahitjgnYyjNwONq I4UzpDDP3OVeheEplae8hkBN2ZlK9D7n2Fy/MQlmsHk4MYV2JWsP8WN9xbX48y/UE/4fyjxIKxelC L0H6zklw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szkMs-00000001vI7-3Dec; Sat, 12 Oct 2024 22:13:46 +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-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 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>; + };