Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp371823lqb; Thu, 14 Mar 2024 13:47:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUq6w9i+4sVJ3VqsvpW1RdajuL6X+mQqT/KnNbrDA/RCRsz0RqKBpJS+/SrQDVwOszZaX6gDG87puD8W1Svdl6OIyEwEhckDD8+8TV+Sg== X-Google-Smtp-Source: AGHT+IHWVFA9Oia3INvjs3mHpsqRfbZGn5hD0K6fxsVDYHXitBNqQ93hZetRxaz6eJdfMgUR8EHn X-Received: by 2002:a05:6a20:3d1e:b0:1a3:40c0:f130 with SMTP id y30-20020a056a203d1e00b001a340c0f130mr3067816pzi.13.1710449255284; Thu, 14 Mar 2024 13:47:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710449255; cv=pass; d=google.com; s=arc-20160816; b=SWEz8RQDW1XzlKCRNizGBSXRSHY9TxcxsVQ+txbi55rgbGVNSVGLIksJe77avlXZM+ D1JC62pDcrXTwVBKAswD5Lr4k05jhHhmWs3QUToqKkt843salfTdJH+nUPJSKLG6wnF6 7VoCKCYxYBrZhB8Ae9QPUsVJAuzdbLRyc+B5//BO4QSCoX/qTG5IvQZ4VvW+8GW2hoaG 0CI2lUb8L/WZYzAxAeVZVRqjnFBpKhxXR12caMbVHC4lY8X+Ob2FfqAy/+qo6AmisWKX 73WxDFpV8um1QhRT4dNoo/QuRcbwutYCdSLeuNXRdD2ISpKl4Hapk5TKsAzQ3Hw5m7BR gGyQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=EerKNIlRapC7GXPSamOoOowoFZGKR33EHS6GaKW+Uh8=; fh=eZpmkrJXO+OtIYfzLT4NdKUGQgySNJN/HE9oqLDmw2M=; b=FbQZFZypeAc/LV+iTbcbj3ww6EtuHgqiWUwFl1KP7woEn0LuBTTD0PIxBp472TNHEE 5EKP8JTAuzt5dEW2hppclMHnfCVnCnFNaAwL9mb6do7xoUTMF82hgYAW2QLyIDjcFDqe aw17+LaONMjF8Jt0l1wN+KHuT9x+fp6NWsFD/zHFGc/DwXN5pV1Y4P4WGAuUyLzwhDuZ DB7kpTaGG1KNLXDrVjP8seW6uoF2D7LTNbtFfCKEClp8IDi5DjH/FqMDZvtoGbtgxucN HgaC+rZujyfAF//FoZSIJdBrKpZV28DpjE0b+yk8On5l9ianPvX4NaiT0JeRjxtFXL8E gnkQ==; 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=rDOYjRtu; 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-103782-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103782-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 fu16-20020a17090ad19000b0029be53cf4f9si1311648pjb.7.2024.03.14.13.47.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 13:47:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-103782-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=rDOYjRtu; 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-103782-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-103782-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 F2D3F281996 for ; Thu, 14 Mar 2024 20:47:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 68426763ED; Thu, 14 Mar 2024 20:47:28 +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="rDOYjRtu" Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.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 5AF30763E8 for ; Thu, 14 Mar 2024 20:47:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710449247; cv=none; b=VRwktrg5EqxDGZyvj/i6xqiWJkqIR3wgyHwZFQ1HehQmF8S1GFSFxgr3zwtJJ+hhSZSs9nK0M5B0IQtt0VkbetSJIknHBfamviT0GQsngTWGAlmVZiANkUGNPfmNiKz0v7XAla3TRk/zf21sFNozjrXr2PGUQUFexYx34hnmcjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710449247; c=relaxed/simple; bh=du2WT+/IhUMepIGZbpvZTbMkHPvk1mSEq7tDbAeTApc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LuonG1b2JJPl8DLvdQIi+3b20A+bZaQf1wnyoh+cDu9trto1vXUX4UKqbZiLnUobQG/BtGrLXpx+VQHzyEh6C6EClrXlffgvWrZ1UvlcjotwhQTbNdYo4cYEgZFe7zPTMwkLy9yzEFmdP6GBUMqtVRX00rpLFX3hYdNwERotmqE= 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=rDOYjRtu; arc=none smtp.client-ip=209.85.160.176 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-qt1-f176.google.com with SMTP id d75a77b69052e-430a0d6c876so4883421cf.3 for ; Thu, 14 Mar 2024 13:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1710449244; x=1711054044; 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=EerKNIlRapC7GXPSamOoOowoFZGKR33EHS6GaKW+Uh8=; b=rDOYjRtu2HmbUl4wLBzA5VoTOA36Y7b7QNRPp5Cy5B64Bri9SRmJLwsP6uAtt757W8 OWwYMMNO8wsp3Iv7UTvU8FYKsjcQ/MkHxuNBQJ9gr4HUiTDzw2O+GeUBFJEubxB0gUZz LYVx1f09JYnT1GyIz9pHCxUsPPkHR448rYFRV7lpdKfElbWgSi+uao+6YvRSKdnTiH+X nxJjtVovtD+3BUxwUxbg/kZgS52HQArw0gM9EwITChdlJkaxTP91kz5rtLcOr19hLzye B/CP1lIlC3pb3gRr3OEF5XlN5NMvmLq3bwmr44q5EYgMBAY2F7v1LiLQLNuuu0xSaRhC w6Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710449244; x=1711054044; 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=EerKNIlRapC7GXPSamOoOowoFZGKR33EHS6GaKW+Uh8=; b=klmAXqyI+v8rt4DAMJwvpnGKjQAXGIo+PpA7qDj5YeAgoMFrrig5DBFgFlL3fH4gXk KG/FJoWK49X8wgJxNJqW3UMF2ZBVRTtoAbn1DjK3sXwSl3DiJUlDwWltdz9RJb+XMzg6 Xot56xT2b6Mpo3vvGHs4DDAVDUcN3uSjokPY6LkLQkTNiTHaa4R+byS+l3imsHWkX8kR 1QyGXsHaZOCwhL9k/KGccgrNrYWhZh57hAFQZ+onJJRLCzZoV96h4jXq1IdWvBf9xSGk UGIDe1JaZ5YsNZ+e5BtuW6FUcHVyBlGsHftaqopyJJAWl+rFV/iiv7igJeyxZI9aNqbf ln/w== X-Gm-Message-State: AOJu0YwlbKQS6VTgEbbWGzTyYOJ/igXB1uxfM1L0bXtQzOoEDNS2jvC0 qf/gwCnFPEsPNvyUcR8fKmU/N9SNy4C4YzY0ZxszBzbtfZdSRO0eNAepmniae0w= X-Received: by 2002:a05:622a:5488:b0:42e:b90c:cffb with SMTP id ep8-20020a05622a548800b0042eb90ccffbmr3186362qtb.51.1710449244321; Thu, 14 Mar 2024 13:47:24 -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 n16-20020ac86750000000b0042eef160b4dsm1165272qtp.76.2024.03.14.13.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 13:47:24 -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, devicetree@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, tgamblin@baylibre.com, dlechner@baylibre.com Subject: [PATCH 0/2] pwm: axi-pwmgen: Add support for v2 IP Date: Thu, 14 Mar 2024 16:47:20 -0400 Message-ID: <20240314204722.1291993-1-tgamblin@baylibre.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This adds support for v2 of axi-pwmgen, which allows for up to 16 PWM channels (instead of 4). The series was tested on actual hardware using a Zedboard. An oscilloscope was used to validate that the generated PWM signals matched the requested ones. This series depends on [1] that hasn't been picked up yet. [1]: https://lore.kernel.org/linux-pwm/20240301173343.1086332-1-tgamblin@baylibre.com/ Trevor Gamblin (2): dt-bindings: pwm: adi,axi-pwmgen: Add compatible for v2 IP pwm: axi-pwmgen: support version 2.00.a .../bindings/pwm/adi,axi-pwmgen.yaml | 6 +- drivers/pwm/pwm-axi-pwmgen.c | 62 +++++++++++++++---- 2 files changed, 53 insertions(+), 15 deletions(-) -- 2.44.0