Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp551346lqr; Wed, 5 Jun 2024 13:45:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTvmd1WU5tLtiEEUsbZXnsbi6Gf0QwACzllbZGmyHKY2rxHQUO69XAKRNm6axF9A11Cw4jq5tKtOF+2seyP6ppojb9jMCSd7vAWr/esw== X-Google-Smtp-Source: AGHT+IEOdI7ys9mbtGQoiaesivgBjbIpcbiXWZn47fUz2Wgbz4j3zqqr36F2e/yTmg2KIk3cGnd5 X-Received: by 2002:a92:ca08:0:b0:374:9957:7333 with SMTP id e9e14a558f8ab-374b1ef3353mr36832455ab.8.1717620344759; Wed, 05 Jun 2024 13:45:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717620344; cv=pass; d=google.com; s=arc-20160816; b=JOX03v1bhC8stWWc2s29CY6bfJ5HEgdEbx5Fpd9FHA7S6e8TBamDROaG5m24XUVhl6 IJydP2MLaRx2Er6igyUiyxfKCmnA7SiGZGjbYcWAogb0ZSJvV052nhVb2iFu7EI9lJme 5FZbB/PCiwlWuV8wQTLqDEYMLOGETr+cOZysj6Fx9R/WA+vVJt6tlQ/d0h08r15EEaVj F1N4ojWU45tTHjnGYkSjP+8h0OyHJTUr2XRipD31DchaxDLlsnqqE9t3baTG3o0xofKc xlq6Qrmdged3ZTAg57MlGGebP+00Cvt0nesy7/Zrg02rQ/OTN3PaTeK+aFkNQlOq3wsE NjZQ== 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=1lbZJPsUoa4XmTTYCaRxmeVDL2GHCmOmzNtYyrZpNQQ=; fh=lgqc3PCImLr8Heg9SUNnfeThjqrWuv2YMo/unAqtZrI=; b=kJTUv0h4bjB6DZ6MWoWLq9BcBliy3rBn5t02uUctRrO9x27D84ycjlZzT5o8ARg4GN 0VDT9PijjPX6omKehH2b15ox5SNAcLgBlXau7vwmA8rlsyOhjEPE9c8C4bPOrORF2miJ DzSsoweOXCi96S6d7bKdLfmVsOKNde1kGKdDES+LS4uqH2VwZA6P2nbybhPZWE6QRSyP Xr7KAq7WgMZScPg0Fb4lrY+e9RkPTaFWi6X9HiEnrBp6i80+qz5mP6JCZcBo4yYDNGRh QZwMApMShuN5nbs/45lN3hCThy0OpKpDj2oCjmdRTPFep1MHwidD4ad+IQGsww6ysaED hAoA==; 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=c8ILcfTq; 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-203186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203186-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 41be03b00d2f7-6c359e0714csi123490a12.277.2024.06.05.13.45.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203186-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=c8ILcfTq; 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-203186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203186-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 35AACB21B7F for ; Wed, 5 Jun 2024 20:35:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 543FD15F31F; Wed, 5 Jun 2024 20:35:23 +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="c8ILcfTq" Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (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 9E00915EFAA for ; Wed, 5 Jun 2024 20:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619722; cv=none; b=HueQHP/wx4kDy3Cgk7YZcBrmq/lfYCw36QjXuCTxLodB1oKbK+PovsrqKzUnDJoXchTvqzpKsTUUNldiU3edj5qBGYF8GhEHJZ3rQPetB3uGHVmpa2NbokZmMviC8qsh9Pyr3Ri0x8vtecw2iuFaRd1BfaVtNrcq3ZFTpidauZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717619722; c=relaxed/simple; bh=5qMF4uBuJ8Ip1AMHaJyYMz8hLXxQs5EuH4BboueFRaQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dEyB+rNxZrQOvzh2oX9ZwP4gkbnELBkuc/rvBailQPqwHKur/5HASIkwBg16G+drfiu0TCisDx33ugLi8V1XcL/Dme0CQO+6WjbCFBIuL9xeWGD8A7IEHnUOvxA5agxtG7B85ZO4BMXSEhYm0O/wD+eope76L0N2BFnI1Cl4JS4= 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=c8ILcfTq; arc=none smtp.client-ip=209.85.128.177 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-yw1-f177.google.com with SMTP id 00721157ae682-62c6317d15cso1813287b3.2 for ; Wed, 05 Jun 2024 13:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1717619720; x=1718224520; 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=c8ILcfTqqrpGPAreJQvIqnCoSP8L0211K79MtH5QKUHVBnCtehcGMNhhkkKpW/8YHQ FoupHzhemdXvzX4rIKHHwtKh2BLuFOHOf3ztheLryZku3VBVMQv0FbDTys48RB7MudQk cPgD+74KcfiAaVNAMcOD+qOqJuqb8ozatAtPel3dN1fdUZ49aLV928+A3H499RouBNnu hXY9BMpLlp5yE/3hJ7eDG6+yCaJCME5XunF9ooPMoQP9TLPNXYUhSSU4wP/vnZRPsU/M xmnxXJO2XOO/lyIRkSiQFcmJH5AJuCsYYX8cRVvd9E1WXELgYXnm5DT1fuRGK5hGY0Tf XlHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717619720; x=1718224520; 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=p2/ogDIdrTZ+rPJfi3iq1FMC/M8Y1uY02wrxJ5jwzZY4JOlY7CFuHNYNubiUBzT8SO 1tkHkYWm+xRP8iVtSKxuQrtZLjN+zPuDMy7GggE61HD1w82+++79vcrslShrha2KakjD j7Vu5YAzEVf/Ea/Rk64m8vtUY7ZGB/QTAOjewyHVh4NdepgUCX2YHHRxeXSOTgd3abf1 tQHIyRDEZv/iJLE6uKNSwiZs0DInQxyIuiJ4v1nc+QrMg5rzfZBCVhiFpmgdu2m3hY5G xhqwL45ak/qaC6TZl1l2Qse8Vgf0B8dXuUbctZeCYxlXr7M/bAhgjyQEvcGYgNAHwv6y 5AZQ== X-Gm-Message-State: AOJu0Yw+jIiel8tX0GnyuH0hFHMckcnD7wgMTITUl4U7ltEmA6CFpPK+ DKa0vn3ubgV8mjJLaVr4KyXuMXLPebncgRtolJCUOTtRP7CeReYxfdDXENdb+2g= X-Received: by 2002:a81:4f43:0:b0:61b:28a:e567 with SMTP id 00721157ae682-62cbb4b437fmr36738297b3.5.1717619718217; Wed, 05 Jun 2024 13:35:18 -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-6afc72485f8sm25359866d6.5.2024.06.05.13.35.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:35:17 -0700 (PDT) From: Trevor Gamblin 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 16:35:05 -0400 Message-ID: <20240605203507.1934434-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240605203507.1934434-1-tgamblin@baylibre.com> References: <20240605203507.1934434-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://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.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..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á + +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 = "adi,axi-pwmgen-2.00.a"; + reg = <0x44b00000 0x1000>; + clocks = <&spi_clk>; + #pwm-cells = <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 +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.45.1