From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (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 B19F327473 for ; Fri, 1 Mar 2024 17:33:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709314433; cv=none; b=WIIySMUjulk6JJkbGW9NMDqpJLGX4zUKQCutneK3rtqhvHrPwjYr/CaRkQUvKUNupULn5FOZXiGJaTVKWtxo4SXW8jmoUDt2l/qOzfXRcoy/J7xDTHWw0zGtWnDzkE8khg/hBXjzApG2l659+DgYNoxN+SPfYELBgzZ4vipzfwQ= 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.176 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-f176.google.com with SMTP id d75a77b69052e-42a0ba5098bso15329911cf.0 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=UGlWARhhixQxdQ61xHgEG9ltKYcQcR5Rf86xDUKoob6RdKQYZm+0uvlW4ZoKJsw0U7 oUTDQRv2kydqcekyw/XSTJD3bjGzfY25X6rK+8ljRy5FhsE4tcXk5TtIccnD3/VLScir Nol2oFNP/agSctemCam8DnM0FHVv2Z7qw9bubeIamPXjbYXC3zOVpdk35ltnq0h9e17O BqIrCp6eltnDpj0+PGfXFPSAHXWWVYFxleh1bRolMzovxJWg/OCXj6lFMWtEmPxDHsV/ uOlO6wy/RuDiTM2zvzPhSJ7mBM2/KN6hBjMwIr9HFuLWPjlH2m0oMINiCsHWDFJ8/Ejv c3Ww== X-Gm-Message-State: AOJu0YxZSJ3Xc5WPueYp+Y3F9dLRSUgDfD/c1Y6MCGHu/vuRlJMMIsW3 Q4Tk5gGQMixNmTR516fxvOibctr9Smcxi5gCa0YZ83vbZRE8fSnX8QmN3PkUMqEVovu3YC9qF6Y 3VzA= 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-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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.yaml diff --git a/Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml b/Documentation/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á + +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 = "adi,axi-pwmgen-1.00.a"; + reg = <0x44b00000 0x1000>; + clocks = <&spi_clk>; + #pwm-cells = <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 +AXI PWM GENERATOR +M: Michael Hennerich +M: Nuno Sá +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 -- 2.43.2