Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp394524lqd; Wed, 24 Apr 2024 05:59:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUYogxiaMyZc/ywQYE7yLpxbiQDD/JZhZWEImQ1n+4xHJceb+zQ1E7hndm6BkpR8jD6xKJShi9UHiq5O59psB8vIGxk2sqfxUhlPRmd3w== X-Google-Smtp-Source: AGHT+IFFNlNSucGurXtdJhIYPugu93JF+FsJJsQufZ1VSFYbz9wwP9WPRuDcz4h8zfAUPFnLLEPH X-Received: by 2002:a05:6a20:244f:b0:1a7:91b0:4f2a with SMTP id t15-20020a056a20244f00b001a791b04f2amr2573799pzc.41.1713963559720; Wed, 24 Apr 2024 05:59:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713963559; cv=pass; d=google.com; s=arc-20160816; b=zaakvVk88KLIzTUavYAKCgW/0DExH8yaGEnjVBkGayKdg++UeOdAPlspV9x1B6gIT0 aLv7nXPdqdw2Lfb+mn/dbA94IrIK8Abtlp7iA0AJiK76GD3rC7mmwZGuostW+55JM16H ECq8nzLh+yfbym9XIlYhK2igGKUOkw30lE5jfTFyZEhDnkd/MlDExMYbV0p8QwraBDIE BqcS6po8phpooIk7JAJb8u02QJDUMi3W2mRBNfjxn3xcqERnjXkqiBrGsFD5gKqX2aWm 1TfxKa4rmj2l+9zu6LBQ/tFtEdzHH4KafzBKeAjFbGaRfv9D2/uUkZXZ3F+ZYRXsBjPG Vpng== 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=D6/gcqb0M9BBcfqCyY9UV1SBtUrd6nOAQzyn6kSwMpc=; fh=3r5oKnR8fGzzhdveN5e+DIBQRSbA+shmZVjZh7tLrFs=; b=GK//BzFpc+pyJb9nt3V9Z9+xmgfb62VhXPHpdwGQuofhf2nQtrKBtf3ctcVlvsV4js X7thFZhUNirGEZpM/Ze8fzmzlYblMBnt/jwapXIgYzroCybMwSwOHUh65bgK9Xr8Orp2 1pfN/XmXO1DmroATSD3llV2JPQBlTx3KbYq0OGP2JG61JHdFR1WYUd9jWAP6kSZfdHsp 1RXLCuDHkmDvnJ24+WZBVD8mDg2zUOl+WlNKEqEm17uw88uwzLbSie4/XyYC23XiSkPe FKmX1FYdFGMx7gtYjxXf+isQl0rZNuikHPs9637sDpCVBcitTDH/twMnslDEfYKSqulh uCBw==; 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=b4ZKGQYH; 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-156911-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156911-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f6-20020a056a00228600b006f2b141ef86si6311496pfe.136.2024.04.24.05.59.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 05:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156911-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=b4ZKGQYH; 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-156911-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156911-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9351A285704 for ; Wed, 24 Apr 2024 12:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A94DB15B96C; Wed, 24 Apr 2024 12:58:57 +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="b4ZKGQYH" Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 F0F8B15ADA6 for ; Wed, 24 Apr 2024 12:58:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713963536; cv=none; b=sxXitchYu02n4ZObf8iOdfXn2pWVndtceozgcZDdi9fjy6kV+fRqRFp53CpQ8STTQuDaBJtkf3448M9ur45r5G+FGCam9Z6UvDJ+033tKS/+U8jvOQA6v5jwguvCRacmBglQyBUbUiS3Hu0nM+HN9vf9wFfxdKRquDFNe3lykbk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713963536; c=relaxed/simple; bh=T8lLPOkWXbFH7sg12jo67en/77SFP/tup9Kzi/vq+14=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QzfcICtYHUZ8ObQ3ZFKHk5XGm0R54lw35RYqCCYj+YfJp5JhJjcAojnowj1WNh1fNREIR09VPp+mOFcgbazva8oY1eOUakrMShOwBFXZrF7a82q+PxcEBuiFN4mA0tADVVYuO9TggB3DmEHYDnRecdk5C/LfULal8Ag7FlAX+DM= 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=b4ZKGQYH; arc=none smtp.client-ip=209.85.128.169 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-f169.google.com with SMTP id 00721157ae682-6164d7a02d2so79108717b3.3 for ; Wed, 24 Apr 2024 05:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1713963534; x=1714568334; 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=D6/gcqb0M9BBcfqCyY9UV1SBtUrd6nOAQzyn6kSwMpc=; b=b4ZKGQYH2rm4UKLDPmoAMjffphcqNwoInzlsOnE10QL6PNgOu/WFkyGSe8EjbntG69 SjFjFpPkuI3lZxc6pb24UwO796ZBQp447sH/UTdXxzB2jN/KjlplzuOxKyUmiVDcZZop 861C6Ncro8w7VcsTXhoX6TTbh3q5ugFJ7Oq4MUy7KzIsdQXZTmBSjAnE7mKSeMbIQ0eL dR7Yr+iVoQsD7ou7+PNJOzw2jynAV+cPgOFq5v6STHt7RDY3d3t0m4Ud3O1z0x3nwtrt DOFDRzcRRlmcnbpi1PuUuUEex0aMWqahQLHs3Dv+yJWnysrajxZBs6mTa/zcUAT10+Y3 hICw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713963534; x=1714568334; 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=D6/gcqb0M9BBcfqCyY9UV1SBtUrd6nOAQzyn6kSwMpc=; b=J1UjYDWdau7VgWSvyk8RtUkpwVd14bl/KJ6VAnFza/pyQ1HxunDVKWb8f68REfKJFb oNVJ41bDlXdn823PkIXMvb28umLV+Bq+HIny5xCzkJZ+Hpk/sm9MELhwLcNTHWqbpJRt PbNQi+fHK3gnRZFUsF/64u3yOXAMu+G7sltXbwYPYhPCHsBswnVWxXiWQfqQ7u8G/0/D zmfKX+hpO6MsDLigbp691Nnogn/U+6HXOCP9GLRF8+sKLA1UNqcVMCY9kXt3BCiYNStI Gc/3B0LFqXq0jXx+IPR2qmvE/D0DEoP9IVx7Qg3X909SrJ2suxWJeSHAAcAcUr6jWUNw Z8jA== X-Gm-Message-State: AOJu0Yzmmh65P/MtBiqwbTXj+Zs1Mj5r0xtaNTK9eiy8X/JLyUNYgert yMDjIhh7FCV7od/Pl/Bva6lAaQr+PKVr2Fp6CaIs2oS4sspW5+ufSYAJBrEeoAU= X-Received: by 2002:a05:690c:67c5:b0:61a:d86d:fad with SMTP id ic5-20020a05690c67c500b0061ad86d0fadmr2166628ywb.51.1713963533965; Wed, 24 Apr 2024 05:58:53 -0700 (PDT) Received: from megalith.oryx-coho.ts.net (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id ki16-20020a05622a771000b00439c3072d24sm2399995qtb.15.2024.04.24.05.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 05:58:53 -0700 (PDT) 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, tgamblin@baylibre.com, dlechner@baylibre.com, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Subject: [PATCH 1/2 v5] dt-bindings: pwm: Add AXI PWM generator Date: Wed, 24 Apr 2024 08:58:47 -0400 Message-ID: <20240424125850.4189116-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240424125850.4189116-1-tgamblin@baylibre.com> References: <20240424125850.4189116-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 --- 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 ebf03f5f0619..d02ece54ccf6 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.44.0