From patchwork Mon Jan 15 20:12:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 763439 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) (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 6553E18EB0 for ; Mon, 15 Jan 2024 20:12:25 +0000 (UTC) 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="t+IsQMQN" Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3bd562d17dcso2988877b6e.3 for ; Mon, 15 Jan 2024 12:12:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1705349544; x=1705954344; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2korMs0kPHmOBV4VWypzARkCOEJYa1AxE8QmV2EhabY=; b=t+IsQMQNDzqWwZBRbaBnhluUVYVB6lhTDKu3EranKvuhrMhe9PnykP5Bvq5wENJWKg mncz6ugKQaso6/+OikSux36OZpaHluUKTv9yuYJ/SdfCdutTioOF4oVTlwZgeLOfD/yQ i2nYF+6BkILkXki6KgGmlOU+cSzRFZ19OX9VLfDWa18skhsJYB6z+R7n2PUaXL5ELAsg XRFi3NM0EXxpPRoThC3HSQSacvACuwIkm4ElOw1MM/qHRF26W+CGKiGg/f3hpZVV1Qbr 7+cQbUNPHk6X9/6ePTggzD1jwL1A9WlYjtW/QJXNKSNDnvY0lbwlyh9+T3unhBH3RoR/ Yj8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705349544; x=1705954344; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2korMs0kPHmOBV4VWypzARkCOEJYa1AxE8QmV2EhabY=; b=riFQvdW8TYb4KrFvZ/4RjHphB+ZYDb+o0p0/2qahigvA1QZbTOYtVTyK1p6rNKipLb yxEca2Dhz2CGO5iUXJ55eX6cyu50tGJ8JQmVoJAHB2mTyV9IzuoddygFNAR7aiQWQLt+ GIGra874jdpd1kpz5MB2B7wFsinG0CigKUztLmKv6eDf7yg3dv2wjD8b5ujC4pmH13We cmXC33tVxxBsB2aj3o5c1591RVXh5FDSLsIjOMUADSyNy9FV1gmgKCcaLVbOO8fp4uXa b2gFJqcp+LBfYbY6Lc01i0r+Ypxd4KmFIXO5wWkgmYndFKF1iqDhTplV2k3EoAWhPGz4 7M9Q== X-Gm-Message-State: AOJu0YzN6DyRVCYlh9gy9AUsx4dc1Ngb+QKEgP+Phfu7SssSxXtgvbGF 0wOT6hwksL7iFy9Tie2lKt8gycU5yTt/KQ== X-Google-Smtp-Source: AGHT+IGEsAdzR/wJAMs7NwEP1OmKlSony3WQCvmvUfuaMkFAOPapjGXpcSxXN1K3h2Jf6DxqmwkIOQ== X-Received: by 2002:a05:6808:3988:b0:3bb:c8ef:1c3d with SMTP id gq8-20020a056808398800b003bbc8ef1c3dmr9416571oib.5.1705349544525; Mon, 15 Jan 2024 12:12:24 -0800 (PST) Received: from workbox.taildc8f3.ts.net (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id y26-20020ac8525a000000b004298b33cdcasm4219170qtn.50.2024.01.15.12.12.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 12:12:24 -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 Subject: [PATCH 0/2] pwm: add axi-pwm-gen driver Date: Mon, 15 Jan 2024 15:12:19 -0500 Message-ID: <20240115201222.1423626-1-tgamblin@baylibre.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This series adds support for the AXI PWM GEN subsystem found on FPGA IP cores. It can be used to generate up to four configurable PWM outputs, and includes options for external synchronization and clock signals. The work is being done on behalf of, and therefore lists maintainers from Analog Devices, Inc. The series has been tested on actual hardware using an EVAL-AD7985FMCZ evaluation board. An oscilloscope was used to validate that the generated PWM signal matched the requested one. Drew Fustini (2): dt-bindings: pwm: Add bindings for AXI PWM generator pwm: Add driver for AXI PWM generator .../bindings/pwm/adi,axi-pwmgen.yaml | 48 ++++ MAINTAINERS | 9 + drivers/pwm/Kconfig | 12 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-axi-pwmgen.c | 229 ++++++++++++++++++ 5 files changed, 299 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/adi,axi-pwmgen.yaml create mode 100644 drivers/pwm/pwm-axi-pwmgen.c