Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1930738rdb; Wed, 31 Jan 2024 13:41:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtQ0pxH8ZMvajrQm2wKIBlHRNApIY6hXhfPN6X9VF6Ud4+1rR0ZME8onmAnvgj4nuZm96u X-Received: by 2002:a05:6808:144e:b0:3bd:e783:3df4 with SMTP id x14-20020a056808144e00b003bde7833df4mr3325745oiv.47.1706737284019; Wed, 31 Jan 2024 13:41:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706737283; cv=pass; d=google.com; s=arc-20160816; b=amIaMY/RsGXipFgJws31DVehZW38Ly+TfdDKfybIGPkQlBbrOsLdOyGgSGpvVRuh1f Y6TFG+zMMG4N2o8N2r+w4YDJLhpParzFIWzLtc5hn7B/u8UfuPU7gwa7lUzicJuUPjUB IsLTOaXZjGKDSjSzYTsQm/qYFKFURWCY75hgTXcYOR4jHGLVLSSNNca7Vhtsq4tisE0I iTibvKWJMvNRJf76GKfYoGEu6H3a1wuu/o/Paf3VpIm0SAulU8gB9COBxxKvP2rXV0Ke W0OO6nMK5Af9ce2uq+37KYqzFh7detTz0YKS35u1YpXL8trbAQG70nCvdoOW86BuewtT cMhw== 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=ki773j0Ev7Hoz0mDYF2rJmieDOfkk6uGJjHoeASEx1g=; fh=lHGn/9ld+VrRr3zHs2W0LMfFx3LFllHFVZ+Obxoj0NQ=; b=uPn643rfaXtRyK2PGGHTbP0lag6E9AunSwoGgcUl2o3QK+VqKRUfm7EGk/l1UsgkFz lCdzQYhFv/wfjaYhk+UHDzpKHInmPuAZQ4sym3xiGypAsgR9LUeRBSHucLT9OqKP0dTY iDgV0MQH3PHloVomFhER8bueu7Pr6vQoeXBWKd+egAfv5V61OgUjfrmKbOooOQas1K0T oVYnogJxM1pJeN8ODJcPPzoMsr+WuYZhRTDVKRnomcBrEktlwipd5kBzIDvzujuJw50r kkkToZvZBm5l02m+1kE/ZNIFkYSkDXQ28XFn2fORJz8hDftj1ZZLi/EjV+7S2nb7mqEk bp6w==; 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=Rjm2pb3a; 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-47184-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47184-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCX0SqDnie9lq/c5DmuBKJHyhcFQ3jhFLh0nW/Ez9JOOtcaTWGV9EAyVj/HaA6WWEp+8S8zFsInEJH4UBHyQ8kwEFW2OgKji24XcPSIngA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b2-20020ac87fc2000000b0042ab228f5dcsi5168982qtk.779.2024.01.31.13.41.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:41:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47184-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=Rjm2pb3a; 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-47184-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47184-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AF7741C24608 for ; Wed, 31 Jan 2024 21:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE9E239FDB; Wed, 31 Jan 2024 21:40:51 +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="Rjm2pb3a" Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (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 B780B39AC7 for ; Wed, 31 Jan 2024 21:40:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706737250; cv=none; b=J2C6lTvrxd1gYXhUEx4mzQIX2feKGWaK6oM0R24nB3ADoWD6tbhv1u1+XwtOED/tel4vNjwPGcfUyvvVhmleweS6MLOvs3BCtWdpt4bwpDTA16vhc/cvpTl54cg/j97fESrBWTDXlJ7B4napUQDJypuuQfOd8QRZWqQwXCTXKZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706737250; c=relaxed/simple; bh=0D3PvBuznXcah933PtyrJperA0WBujRtvSxVac3ciJQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XeYCTM9otsYPQFsPW98BVEtUQRN4LmJB09D/xrlAN7ef7ZC9KWl/Ua6NbbRSy7m0dgZsx7K+jW0xhYPKqOTfxJ0zEK3yWXwzh2YhbBmOfZCWIV2ZB3MNOOaAdYE5Pl0XH63SGNkmB5Mq/enczYhW6th6qKhIk9lf0fxctjIdtFQ= 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=Rjm2pb3a; arc=none smtp.client-ip=209.85.222.175 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-qk1-f175.google.com with SMTP id af79cd13be357-783ef8ae70aso20359985a.2 for ; Wed, 31 Jan 2024 13:40:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1706737247; x=1707342047; 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=ki773j0Ev7Hoz0mDYF2rJmieDOfkk6uGJjHoeASEx1g=; b=Rjm2pb3amHOykT0tjpzciG1rmWH1yb8Jeu8cIpkOUaxqRlOHuLXJJEw26g7Z4x9zQc I1puo/z+4byT9O4R2cyBx1EqKAhBINVcA13xhtyqHJAMnktQz5jPWqbEnAYF+qUhsZbw OaNL8bI4lANDHfcPUCkEyn2qkvvKRJanvuBop3dA6vRcRjnJ/knoF2xA7BXgNND3klyl vF7uMpINIeW9A1TlnPXI/d5/yJsTcBNZuCLflr9tgZe6vPzW3KK7yqF9YAvC+wrKCkmG mewOmHBjk5SD4zAioCXaJgSuxUassl2WiLJojjy24GTF8Igxqi3ak95c82LwWysMRFVr mRuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706737247; x=1707342047; 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=ki773j0Ev7Hoz0mDYF2rJmieDOfkk6uGJjHoeASEx1g=; b=lbojGMNRVRyINPy/IKU8781TTDVsH9dsvluePET0VoIdFouVet7OM2I4sR1g4ujMso ja53AvApQzrMeFDXoWLh2WxdeQQHU42ogsl02R+uRQitUErBc5sciln1wNZOVwySi06t YtSYujptfbOp8De4EZO2vbF66CyNcRhG9QQcq5oU26A/zuUl2TDp9FiuJUUi3+XkvWU7 BVUdZeTqqD5u6ydhZbv8b9EARJCyJFb6b8dK5Gg1xfvIKPD5Kn3/ntdO54/UneTtUCkc NOyS4GD/AYmvhhtGf6tWRmBLgQWNYxhYN3ee8GJ4Pz7923BDsia5b32YsHfidQCBMAl7 TO/Q== X-Gm-Message-State: AOJu0Ywsa3RUaysQqsmMy2F+4TK6SWLj1KJKkSdz60QTF3V8lqEn6sPk vg/LmnnlLTsTFCH2OT4ANRVw8PNxdP2BzcYnBgBWupgYxERok6C7GXaBfqUZHywQYPgUlk2365P h X-Received: by 2002:a05:620a:4043:b0:783:cdca:7e07 with SMTP id i3-20020a05620a404300b00783cdca7e07mr929453qko.13.1706737247652; Wed, 31 Jan 2024 13:40:47 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUVHkkrJMkJXR6adxHX2xRFS15sheDyXeQrz+v871FTb5csux2zwrqce9m4C4G+T5e1RqnlmR/xNby49vrC8h88sM/NAhkfiFHF5dyXEb8nRr6ZG0Qx+EGoLGvXdBMChAWllGzD7CTsq+Dx4lxdCzKBjZPah8OG2z15CeHihNVVHXTL4gog9xrORzTiHuZDu63mGyDNMWIJSbSBADOZA9695LJ81pNTNdRkvGCCLMOVqGXOBtMviZywfsTlR/Y7BsW7IVqKo+4yTjcDMykGpq2hQ7jrMYm2vpwZZ0Ikz+aCEzNCxwRwGw2vT3+2wMFImBNdrPpyGt+l6RjdYwNhmRF+fdAx1xTNNXQAagyxlDU6fX2fdPMTaAnDvGHbPZvsgS/ryEW+GT+sZYuGOAXJ47aI0WJja4aD Received: from workbox.taildc8f3.ts.net (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id br44-20020a05620a462c00b007853f040aedsm537160qkb.8.2024.01.31.13.40.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:40:47 -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, Drew Fustini , Trevor Gamblin , Krzysztof Kozlowski Subject: [PATCH 1/2 v3] dt-bindings: pwm: Add AXI PWM generator Date: Wed, 31 Jan 2024 16:40:40 -0500 Message-ID: <20240131214042.1335251-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131214042.1335251-1-tgamblin@baylibre.com> References: <20240131214042.1335251-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 Co-developed-by: Trevor Gamblin Reviewed-by: Krzysztof Kozlowski Signed-off-by: Trevor Gamblin --- 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.0