From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (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 659CE200D2 for ; Fri, 26 Apr 2024 20:11:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714162281; cv=none; b=qG2+eU4sKr3kIwj2Llmrm3NId/Qx8wS1gNP5oc5AB8EHLvhxfPQxwdT7EJ0/b71aTWBHOJcaG9gO+cLnq/8CVg557YqdxDUP7LiIZCEJKATdjugydZuTysO1f7zqHPO1dWT0usTGjraZUf959uC1uv41buDfN6yHUlwAIiAxQx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714162281; c=relaxed/simple; bh=CCtrDmowOfUzSRgAL6a/caO428RWP0SEeDG7dtLDLu0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s6vDVLxZWqPFUxVS0IaPnNjnryDbJJJTxuRl/YXxhdfZZl7BrrA3jQfO5GZQlLdsf6ISHrTPoBKIS2I0q8HMzBW1MJ2nXC9TYJU3IttbWmUl+Id05gT6uxQcXsAYy4tyKWggXnzxXrVpo6xb78RBeaSG2y/1wGgv9lg7EwAYHps= 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=LKz5p9fq; arc=none smtp.client-ip=209.85.167.172 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 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="LKz5p9fq" Received: by mail-oi1-f172.google.com with SMTP id 5614622812f47-3c85a9b9143so493448b6e.0 for ; Fri, 26 Apr 2024 13:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1714162276; x=1714767076; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6CwGplRyVlrAojs0p2Bji7yf6qM7XioPGpQcoYE219Y=; b=LKz5p9fqrQuDYdCfGxq7VMw3zzd2k+fVYbrPnBE49UogwCka8EC7lu+/RyKUFawqJ+ XcpN2obHhLp9watFnRtosuTZU8UI+mUktNgiH+1jo4mhs7bcrAp2k+YzV3EMDLh7St8N 5uB/cHn7Ab0Cu6ITrxmkSDQLCa++u5cwAHJcRTqCOXspQWBOQCOJRhx8Xr08n/ao+72o Rjwo/psXVmMYnKo30ev5Bl2GSeiyHEs1POHRM2RQYu63R6VYNMn/NXk755+Qf8eWPmsZ kleXOhfKluaqe1pUVvikyNn0y1ovkU98uakFMMxC9N0Ydle9i4ZwjF7Twr86384UYLQ7 Le/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714162276; x=1714767076; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6CwGplRyVlrAojs0p2Bji7yf6qM7XioPGpQcoYE219Y=; b=s1odxEIg6p1TeaU/NEn7tM/ieLAoyhGKiajuEVDjiFqOnyAmm/IAdzD3uo3S9NtAHa Je424PPoxon2foYaSsZkrq0BgCqesWQyi+RFjrLwK2aYCgZAUXskYNugrM/QXZKmTLEY sIdFSOWg1Nep/t6lH6Y7C0tMh298afAyCLvMhg773U9P6lj8wRFjuJwGhEaGkNPchn6u z/skp0iBeyHP1RYlUTLa1Z3Nuxp3Cd0GNAIpxKfKTCHWlEYdgW4rp7H73Cv2zNJKgUL5 +ohfynRsrp0UpJ1FK+X6JYtE+0ecYN4WZXvVe9aXFP550EPNhmGN9NKoxDyNDUExfWTI p+TQ== X-Gm-Message-State: AOJu0Yx8LHHBR9yKOBNjLF0Q32YDPXwS9p/ua2pNMWGeugojSm5OpdL3 gcApuk2P1TMpt+eoWKYQb3v+ehJYao9KiuISOzVOKhU9KN1OviDhIKHV+pQ7Pr53mRRUP5FGRhq kw1U= X-Google-Smtp-Source: AGHT+IGmGPMXguo4qOP7xmoYacLCC657AcV/qNocAoxOLQZB8ATEhQX5SkqofkF+5cuwjvIkYsjtUA== X-Received: by 2002:a05:6808:628e:b0:3c7:546a:33b4 with SMTP id du14-20020a056808628e00b003c7546a33b4mr3467736oib.20.1714162276318; Fri, 26 Apr 2024 13:11:16 -0700 (PDT) Received: from [192.168.40.12] (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id a7-20020a0cca87000000b006969f5d3159sm8227068qvk.50.2024.04.26.13.11.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Apr 2024 13:11:16 -0700 (PDT) Message-ID: <8bc13253-db16-4801-9f69-b06ba4e129be@baylibre.com> Date: Fri, 26 Apr 2024 16:11:14 -0400 Precedence: bulk X-Mailing-List: linux-pwm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2 v5] dt-bindings: pwm: Add AXI PWM generator 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, dlechner@baylibre.com, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org References: <20240424125850.4189116-1-tgamblin@baylibre.com> <20240424125850.4189116-2-tgamblin@baylibre.com> Content-Language: en-US From: Trevor Gamblin In-Reply-To: <20240424125850.4189116-2-tgamblin@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-04-24 8:58 a.m., Trevor Gamblin wrote: > 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 Note that I missed the following two acks from the v4 series when preparing v5: Acked-by: Michael Hennerich Acked-by: Nuno Sa Trevor > --- > 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