From nobody Mon Feb 9 20:30:14 2026 Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (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 6C35725623 for ; Fri, 1 Mar 2024 17:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709314433; cv=none; b=sD6c07ZWHjYaHO4ThoH8UzRdPP40i/DLtdOjfdcQgL2JfLmbwxfbLqqG3jZ+9vY0a9oEnBeHl+HTBtS9RAyHmGKgKx4lMCpsGNe8RxEr7BzjEav12FleF4Ql8SmvWhevsCak1onBoruWhxZo2BDwHGMQu629TtN0/nip4wZGM2A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709314433; c=relaxed/simple; bh=eDOV5VADLuhmamPXiau7MIQpJJpDlwx0jJbL6ICaRbI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hmG1TyyGRfeh3ewqW11oNCAGiVTWcotnM5E3DIWARpqlttxz0U/FK1agrnB/5aXXiqB0SXxp4h/pumAviECf/OR9TR8A3U2wo68A0YV1XqSBsXd26e+cm+hwoy+Ec3tWTxlDvHROEiBYR+cXJijBIm95nxbes+ai97v729Yjud8= 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=J+yiRCQ2; arc=none smtp.client-ip=209.85.160.178 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="J+yiRCQ2" Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-42eb3decd57so17532761cf.3 for ; Fri, 01 Mar 2024 09:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1709314430; x=1709919230; 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=Juxbg18xJZd3rHji4DzaLEBNbibnqPm40zLT2aT7p/M=; b=J+yiRCQ2pcVTs6/X7YBTp6BoBm6drIz+d8f0JiiF3//NieXNQLkZfg5h4PNeqUb/BI ikQ7gHgZY7V5KIz9Ip3+hZk02MSMkQwAOXtzn927KA8aD9vMs77RUv/BDdcTklwo+Mdb WpX24fNU97E3fsFmFgDnRHAnqv6LuNsbF4AFiNdhL9OyBSNi5/I99YU1K0HCP3nj8V4Y C4VWw/LLDTAVH9dIaiS20s7aQXR18Co0N0jQ08VhFad8LRApmhjGzl5u5Bi+GgYTjKvl F+HqKbFzaubhCiFYzGwyTBv71NE75ak6f07VkxnGv7zf9YJmLbTuxWbmboKKp9ONIkyo QhyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709314430; x=1709919230; 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=Juxbg18xJZd3rHji4DzaLEBNbibnqPm40zLT2aT7p/M=; b=DN/5mKMpwbxWVysTeg1x6mMSSSgtd1xEJTzLHGC4PDfHLy+bRRZEu1CbIpW69TUcGj eYI7kKR3YrBOgeA66CSjwBIJf8ODZCiCBIFGnbebo1AhMgZJrhc1Cw9Tme/fKNn0BuuH eALO8MLMfkH4nSWKg8wc1Cxcj/7o2XpQHIJiR0cXHgX+/GfehfUx9EcDTm0tuxhdYviI 4HtetIrRwBznSwucdFvNMH9iu4+FaCQFaeuUnlAiKyLneZdOhtaz6i0bjd0Yp9kYT7ca NXzGo5CeU2uUEyOnonW1JCNlcy1qmyNwzAcnulAMTz/cY0qHuQoQR5ST2occ1uwJuDhG B4Mg== X-Gm-Message-State: AOJu0YyDyJ2fvCA/29g+n5gM67Mh4QsM6QO6webpGK9b30XChwSUacst GGIvcaUKj5IO/WDeo4USgqj62+l5y/5PqLF8suIe+PKvrBy33y96cPjzQA6egIg= X-Google-Smtp-Source: AGHT+IGB19uIFHvCCyYMV82pyo7ziPJ0KeqFUF1gDDCITNbAmrjmgyaYjdIIyS2Fc2u7sEwUsMKpWw== X-Received: by 2002:a05:622a:19a2:b0:42e:c411:8f6c with SMTP id u34-20020a05622a19a200b0042ec4118f6cmr2477322qtc.44.1709314430435; Fri, 01 Mar 2024 09:33:50 -0800 (PST) Received: from workbox.oryx-coho.ts.net (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id t14-20020ac86a0e000000b0042e6b901ebesm1885433qtr.40.2024.03.01.09.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 09:33:50 -0800 (PST) From: Trevor Gamblin To: linux-pwm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, u.kleine-koenig@pengutronix.de, michael.hennerich@analog.com, nuno.sa@analog.com, devicetree@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, tgamblin@baylibre.com, dlechner@baylibre.com, Drew Fustini , Krzysztof Kozlowski Subject: [PATCH 1/2 v4] dt-bindings: pwm: Add AXI PWM generator Date: Fri, 1 Mar 2024 12:33:41 -0500 Message-ID: <20240301173343.1086332-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240301173343.1086332-1-tgamblin@baylibre.com> References: <20240301173343.1086332-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://wiki.analog.com/resources/fpga/docs/axi_pwm_gen Signed-off-by: Drew Fustini Reviewed-by: Krzysztof Kozlowski Co-developed-by: Trevor Gamblin Signed-off-by: Trevor Gamblin Acked-by: Nuno Sa --- 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..63461920a362 --- /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-1.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-1.00.a"; + reg =3D <0x44b00000 0x1000>; + clocks =3D <&spi_clk>; + #pwm-cells =3D <2>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 8d1052fa6a69..8a4ed5545680 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3431,6 +3431,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.43.2