From nobody Fri Feb 13 00:20:39 2026 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 30A7D188CDE for ; Wed, 5 Jun 2024 16:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717606619; cv=none; b=mTWP17YrKMAEmnzElr/OZCP3Whkr3e2XGY0HU99MkgORXEEGdq3Tk0m30pdwwgtzXFB/oANjaDUucQB++Sy1ay1P23M1oaW9s1YW6jhT80RXD4xZKTvmM+BrgQnQO8LtElZtzuJD97SUVqLFaGY8WTFaeqaC4rO0GQWDxeoiE8M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717606619; c=relaxed/simple; bh=5qMF4uBuJ8Ip1AMHaJyYMz8hLXxQs5EuH4BboueFRaQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=R9UQiCRhCvI8GU6SOcMHGdE02ID8xyaLrXpNPpN2Aox+2wt+g79/5ckpqD8nup+vRCVFrofTn36mGdz0L6GalwsUYp1qD8EtEChsMqZplBIC7P0ezHriz8K1a40qjHiRijxsE8F8fFCtEhHHzGObIMZkh2FRbT+kOb3pTYddjTE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=ZK77r6Na; arc=none smtp.client-ip=209.85.219.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="ZK77r6Na" Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-6b041fa2a54so6130226d6.2 for ; Wed, 05 Jun 2024 09:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1717606616; x=1718211416; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1lbZJPsUoa4XmTTYCaRxmeVDL2GHCmOmzNtYyrZpNQQ=; b=ZK77r6Na4rWvGpUjC80dIVagKXdwgCnYob6zpagwJstYsQNCJtWSPbsUb10dHxC0mK WE6QGYsaB5v6/LRegC3noloeojh5l9c9h55uy8goFX/+BOffMaVzN18esI9YlO6OnSS0 itOJiX/ZVqJfpPo+eRPPfaf0WLz3rAm6y1iYtYBxm/lp4JdYQpNurHv80/E4Ptu3Mo45 /0lzgv45ULDNr737L2dcTY0W2GznjA+GA3X9sX9qJmjDM3J5sXG5p4FjwvemkN1jv47g QRPz0d+7pXfJZXeOvMFS2RRsRV7/kZ54SMk+kRdouJQkAYJSLZQuyf7QDO0VzysM9DMJ m27A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717606616; x=1718211416; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1lbZJPsUoa4XmTTYCaRxmeVDL2GHCmOmzNtYyrZpNQQ=; b=DO/GfYo0lotLgIRuNKREHmOwSvb0lXYfVD33QF27XT0fxCboIbTpxowLOSX7wSrpD4 ghsleM/pnDEHUfvJzVPE6g0AtJ9at/245FFY3hRtlTQFI3twIjlQksJeHS6YnbhwuDwS L3dcoVeWMpRoTqjG2W+DE+7IGFTL7GsNFrl114As1kLu5T1aihzsnKCiTVzQMtyyo4Gz QRdRnwYOtkW+RhwBBjcW0xjmcARLh5Oj+LMUAX8Ozm/QHQd+WWatknu49NPdZcrAOFSI pOSfuZo+SO5T51kycML9mDveraJFr93kQU3k2xorlNBsFzn/6/BTnRHGY70fXt1cbVe1 sTWg== X-Gm-Message-State: AOJu0Yxd+iWvIqT1ekv3si5IHj/ggSpXC5Rsdt6R/KcZkPyUBU3RL1kK oTELEK6m2fZELXeO7ktsG0E4S9ye0vXI9/0mpahx3jS2jmEj4kB2qQdRHR5kNSw= X-Google-Smtp-Source: AGHT+IGTqMOIy03PkSG6J6j9dYkzBOKgHNptkE3fDF5UcoaLs0qlIDIRmWKM7B/yEsIATwRV/I5gMA== X-Received: by 2002:a05:6214:469a:b0:6af:c1bf:701f with SMTP id 6a1803df08f44-6b030a5c1d6mr37986326d6.47.1717606615952; Wed, 05 Jun 2024 09:56:55 -0700 (PDT) Received: from localhost.localdomain (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6ae4a74d6fesm49187586d6.55.2024.06.05.09.56.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 09:56:55 -0700 (PDT) From: tgamblin@baylibre.com To: linux-pwm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, ukleinek@baylibre.com, ukleinek@kernel.org, michael.hennerich@analog.com, nuno.sa@analog.com, tgamblin@baylibre.com, dlechner@baylibre.com, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Subject: [PATCH 1/2 v6] dt-bindings: pwm: Add AXI PWM generator Date: Wed, 5 Jun 2024 12:56:42 -0400 Message-ID: <20240605165644.3221716-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240605165644.3221716-1-tgamblin@baylibre.com> References: <20240605165644.3221716-1-tgamblin@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Drew Fustini Add Analog Devices AXI PWM generator. Link: https://analogdevicesinc.github.io/hdl/library/axi_pwm_gen/index.html Signed-off-by: Drew Fustini Reviewed-by: Krzysztof Kozlowski Acked-by: Michael Hennerich Acked-by: Nuno Sa Co-developed-by: Trevor Gamblin Signed-off-by: Trevor Gamblin --- v6 changes: * Update documentation link in commit message * Make sure to include missing Acked-by lines from v4 v5 changes: * Modify to list only the supported axi-pwmgen-2.00.a version v4 changes: None (rebased, added maintainer's previous Reviewed-by) v3 changes: None (rebased, added maintainer's previous Reviewed-by) v2 changes: * Address feedback for driver and device tree in v1: * Relocate "unevaluatedProperties" in device tree binding * Remove redundant "bindings for" in description --- .../bindings/pwm/adi,axi-pwmgen.yaml | 48 +++++++++++++++++++ MAINTAINERS | 8 ++++ 2 files changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.ya= ml diff --git a/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml b/Do= cumentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml new file mode 100644 index 000000000000..ec6115d3796b --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/adi,axi-pwmgen.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI PWM generator + +maintainers: + - Michael Hennerich + - Nuno S=C3=A1 + +description: + The Analog Devices AXI PWM generator can generate PWM signals + with variable pulse width and period. + + https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + const: adi,axi-pwmgen-2.00.a + + reg: + maxItems: 1 + + "#pwm-cells": + const: 2 + + clocks: + maxItems: 1 + +required: + - reg + - clocks + +unevaluatedProperties: false + +examples: + - | + pwm@44b00000 { + compatible =3D "adi,axi-pwmgen-2.00.a"; + reg =3D <0x44b00000 0x1000>; + clocks =3D <&spi_clk>; + #pwm-cells =3D <2>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 85a32423e9ed..e3cb7465fcc2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3465,6 +3465,14 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/spi/adi,axi-spi-engine.yaml F: drivers/spi/spi-axi-spi-engine.c =20 +AXI PWM GENERATOR +M: Michael Hennerich +M: Nuno S=C3=A1 +L: linux-pwm@vger.kernel.org +S: Supported +W: https://ez.analog.com/linux-software-drivers +F: Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml + AXXIA I2C CONTROLLER M: Krzysztof Adamski L: linux-i2c@vger.kernel.org --=20 2.45.1