Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp456479lqg; Fri, 1 Mar 2024 10:07:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWX/Q3AZuiD2VS6c+IwHe5bMEkDnxXUzPSL9sDzdxtngJMRK418BPBp/mo9mvv5XJ+vgkQT0MmAoYlhf0ujYnP+xCPfhd/6WDPRfXPQBA== X-Google-Smtp-Source: AGHT+IF3WhZg48kPEu3jpB/vSsszE96cnxKv2Jbh3XTJSS1e2U5ahoIP1lVjRsbqM5lwjBjhDzZJ X-Received: by 2002:a05:6a00:6596:b0:6e5:d82b:83b9 with SMTP id hd22-20020a056a00659600b006e5d82b83b9mr740964pfb.7.1709316425714; Fri, 01 Mar 2024 10:07:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709316425; cv=pass; d=google.com; s=arc-20160816; b=c+Ig7AawsvqNWd0uL9LrDtm5kTjBfAU1DVY6RGziXewCyq9PPCkkklVuLScFCnQ6gs Od4al4xEzwadjKNQticpu5z1xbIswm/HGR7sO0wrKKr0AujRPbtTuzpbm4y6/4ZG5i4A rg96ERxiiwGGIGI4ST3bGidw1OpNwH/i8BF1AAuRbixyvbZKSLQUdN+MmrAl/5Z3rNm6 8aiTaorS0eFfKcFMmPjurKI0+MPTin/pFbnpD/jHhV6gcW7XugcUARKwrZ+I2ubXuwMy cG62HGqplrOCzio/y7pum9ViaNPo7Qr+6UT2n8qS3Ojyw8OUAZpum8Qd38KgsqNtGa8v 0bAA== ARC-Message-Signature: i=2; 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=Juxbg18xJZd3rHji4DzaLEBNbibnqPm40zLT2aT7p/M=; fh=E0RkbRhMW0C2yOpSe80ba24nzD6ox2oM8aBAlY7+GCE=; b=Lm7th7wimpqdhzAopvtcHqM2/Fhc2ZqzRQa/Bxy8ST/baNb91haAVFPLGxzXAR5YuS cOvbx7VzAphkEIRV3Ejd9fQndcsMHUWTNlfGnFm0phBwzLkdvtW8woVz21QkqvSOKUAX dcFMXzo4IcUfdsybamBu25eF789ioyB98isDBbyrgJ5gE5EWaQB+S7+IX6AmHibmG4xr ieVW+7bCNaxxcyyLuY1NGuNTkbOf94qDqf5SyCS1SFmzgiz5DIhwBir2mReBZc24srSV R1KR64dFJUeFPQanVDY/dKt5HCCR4AwDIcjbNSuXydBKcdehFpZRrdDaTG/s+qxuwYTG DcSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=J+yiRCQ2; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-88843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88843-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m15-20020a056a00080f00b006e5bdfb0b5csi1858868pfk.93.2024.03.01.10.06.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 10:07:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=J+yiRCQ2; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-88843-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88843-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BDBEDB2E924 for ; Fri, 1 Mar 2024 17:35:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D1223A8DB; Fri, 1 Mar 2024 17:33:54 +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="J+yiRCQ2" 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 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-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: 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