Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp63167rdb; Mon, 15 Jan 2024 12:12:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGk8XxaSUSLE22lqxBhaaRjGQ+5LVRaFUel9eyDxHsQcaXdtHd5j7D5+asyk1QxxIj9OyjC X-Received: by 2002:a17:906:f17:b0:a27:e214:96b with SMTP id z23-20020a1709060f1700b00a27e214096bmr2579129eji.112.1705349558877; Mon, 15 Jan 2024 12:12:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705349558; cv=none; d=google.com; s=arc-20160816; b=YrOqKRwO5BSs9dCTOT8uJm3+KZe4U82XxThN4YHArFGLbUi0ExC6XzvGqqqXKL3KIb vqDKzNy32mARkPW+/QbBh1zGfD9NYitGuwhlKqHTwoo7CywN1JXBP+qPxk+tS05W9Sq5 t8ggGPv8T+l5Ic7IiXUFPS5YRztadL/obL+aWpHNEIlF0oPDMtuiL3ASATPWR+1bAZ7E xfaEwqCCidFzWx+wiRYq8E0Iw1wdI+sWOoYwKcG0AbgweVNCBYbpg3scBtv6P5015fl7 mzAHkZYs5QpWCbq2XhlL250GYTmjrBXRdX6xIdgrAz9EA7jAPh+5mUrL6y4AXWEueF75 Dqqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OoGYdHuOEch5eGoOUgb3CbwIdtVZ1B+1VuVUe8FdGw8=; fh=MA5jXtglGo32jqKUylCWVZodKd3/OzMW/7pH04YKHbk=; b=FsUBonsYZZQu3nwjnLZRp14IABIs5ME23811YQ1Z736PEhE999K5fA+pTZSef70KHA 5K0s8BdKo8I6d/7TnUXjBGXhLT0xBiVYaMJZfyi8mVnJUM08KJM5uIFIpVuBdj6QFW1a plEWL/au7/hVs2YkobCncehV85T4pp3LMJHfIlNgO0TrHtzCUSOq09Q5xEAQv5dmhF4S lEN3jCdjURkB7HptAWBUAUczFQ+Uo/tGt3l5cpRsG9xPXo8X6W+b54hQZsN7ecG3xJti ghb38O+bh1wqkC5i8Y+4oLcbyHeYXjlRGYX2rVRsfEUu+NPIKAgMrh6quRi8EZQxag0D 1MeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=qkxkutBw; spf=pass (google.com: domain of linux-kernel+bounces-26465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26465-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q5-20020a170906a08500b00a23619be213si4088236ejy.159.2024.01.15.12.12.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 12:12:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=qkxkutBw; spf=pass (google.com: domain of linux-kernel+bounces-26465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26465-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 947761F22D20 for ; Mon, 15 Jan 2024 20:12:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB544199AA; Mon, 15 Jan 2024 20:12:28 +0000 (UTC) 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="qkxkutBw" Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) (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 7D8F219470 for ; Mon, 15 Jan 2024 20:12:26 +0000 (UTC) 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 Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-598e01ce434so1173462eaf.1 for ; Mon, 15 Jan 2024 12:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1705349545; x=1705954345; 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=OoGYdHuOEch5eGoOUgb3CbwIdtVZ1B+1VuVUe8FdGw8=; b=qkxkutBwONnkNLDxt2Rt7GfUg+ZG8foCxf/FhUNUN4cDCJdsbhrDbCV2tQf6U6Hi82 hlC3R03m5a/Cnqo32GQDSAIr3SmLcRSG9CQ7szwJumS6/aX/mRWjF6h8Ijug7gnTXkRI gyUTqOmZYIzD7lK2vLgRvpLKwrQXNEUcZldaxcWxs8K2TViwEj9K7REjJPdfYt9BwlRD ynzovUHmAw+Phs+hkAeQU5NYW06Y0SlW5F1LprGIZADaZfVY+7etv6NJzBDKRmXXPu87 Cc1HBckSML0F9ZNs1TtPRwAcuJptqLqLFcfObgGsqkPEdQrHtNCAqZMENmP0jqBj1IYE jxqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705349545; x=1705954345; 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=OoGYdHuOEch5eGoOUgb3CbwIdtVZ1B+1VuVUe8FdGw8=; b=BYwpA3DZHe5bf6XoBwCHHe+ws78aajvzGwxT7xFTZq99FqmNV+z7Gk4mYwQOBDXpj4 /hQ5uq7PDrU4oRKj3NIA0lzs/3W9CXlXwtlywCJ5Y3D5AN1LPjadBsh/7jidx6Jom6tp O63GPAS2kRwCx6acNKkoxBANBuTkwBpRq+n6yc2zNxK9jmhsIy1lDPyQlurdzO7c9Ss4 FdU87lJrsKZuMgMtWhY1xiGJj+J2soV3HcVwotc6/mq/z31b13fMj3jGo/2VssbBTNyB jJPxjLUM4vOwENL2jXAk0iit+C44aC829cOioblctUvV3oYVz3EtG8Ko8QHs6TNjehgD 53fQ== X-Gm-Message-State: AOJu0Yzvd4LEBZITZcf2QjoFzP6Lp4zHsFAlNVQ268si8E8a7alxfFTo S0yCUYiWhGmX7r1gR36TztrgvXccmva6CQ== X-Received: by 2002:a05:6359:6b81:b0:170:64cd:8aac with SMTP id ta1-20020a0563596b8100b0017064cd8aacmr4081881rwb.62.1705349545406; Mon, 15 Jan 2024 12:12:25 -0800 (PST) Received: from workbox.taildc8f3.ts.net (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id y26-20020ac8525a000000b004298b33cdcasm4219170qtn.50.2024.01.15.12.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 12:12:25 -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 Subject: [PATCH 1/2] dt-bindings: pwm: Add bindings for AXI PWM generator Date: Mon, 15 Jan 2024 15:12:20 -0500 Message-ID: <20240115201222.1423626-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240115201222.1423626-1-tgamblin@baylibre.com> References: <20240115201222.1423626-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: 8bit From: Drew Fustini Add bindings for Analog Devices AXI PWM generator. Link: https://wiki.analog.com/resources/fpga/docs/axi_pwm_gen Signed-off-by: Drew Fustini Co-developed-by: Trevor Gamblin Signed-off-by: Trevor Gamblin --- .../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..8f16b2e14154 --- /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 + +unevaluatedProperties: false + +required: + - reg + - clocks + +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 c6c7b50e6ef6..7b0f3aec5381 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3415,6 +3415,14 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml F: drivers/hwmon/axi-fan-control.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.0