From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10EEFC54E41 for ; Wed, 6 Mar 2024 19:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EPj+6+82cV3+6+W7N+KW7Yel0DGxluY/cBXG+ALefTE=; b=ReHSTnHD//ZGhgaUgMU4Nv+kUU UEyHUIX19aOkBr1cRRNqBGcr5uMKcE2xMgayEqzbhVBfUImxnerFjnTSYU+0vbw3QOuhI1Yc7wXet lKObFgZw/1C63osb045plCRLnMQOS2Emjfar+n8akyOQ3X0/+2sg0opdBMkTT3zPWKDqbo8n5FB0u pdloK5LXHdh8ewIN7JgmsUnLqhPJ6Ohd8mukffqGE9M4yUQ9O1ec9NGKxIZRuwg7z0iIbbIQlT1BN vr9qrI983CE9ArMnj7Npc8wpuZYo7XMzV+svhvkSdBg8BQXfr3NevUe6V11mA5OA114eUOWfbh9zs 1ZXqL5WQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhx8d-00000001fKy-3XD6; Wed, 06 Mar 2024 19:41:15 +0000 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhx8b-00000001fJD-0IHH for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2024 19:41:14 +0000 Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-472640aba12so29167137.2 for ; Wed, 06 Mar 2024 11:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754071; x=1710358871; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=KKJXr/IAgS9AlJDdgpqcbHwwmBwIbrtKq+tJPd0RqcE=; b=IAPTW2DMhAq5aieSbHPBJ7uZP+/O4Smz77CrsYe7eJsDZlYpAK8b2GZrmvRhu67HzP vKirIxhVw6hpd8yox2zF2VgREw0mcYjrnHwL3jaECfG+TfuUwGov81SXkl1YYiOHY9HT wtoEhxWq1rWxhmNgh4pBm4o+PFL313ZSaBgVg0OG5MYxXwuNOeKQIq0IBLuzLZL/0WwP oc33HMHEmoynLWCIPZhkpDydpsgSiptuSrcviM5Xmr3F6EW5EoJ8+phsUGTB0/3fuTjc DlDKHTZT621w5c7DRh87DWfCDTSxf3zfAPkyLmBZfqjpasswRI/fRfjPzqUtSSjeAHwk 783A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754071; x=1710358871; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KKJXr/IAgS9AlJDdgpqcbHwwmBwIbrtKq+tJPd0RqcE=; b=G8OtpSrQKbPikmlNPuQrLEBnaM5STXHad5+w8kN3Lg9pqUGQazz4z5R/8RF3Bs77Xd Qh6a/DjJYnB/AVOqzGyEHJs1+gczd7tOK+Rjgm2IaxrTW+LqNZvsGHO0Ca6vM0uT4Ovj Tscf0Ls0kIG4rJoAsTfyOlaEj4YTD9HASDTnslkMCb1C2j7BD9cy6fsPDY7LBXiajyNz fLxMuKqnAgfU8wwoJaiy71j6KlGVUrY6BzbTcn6MDn9ut51Fva55eWFI1HDwKhgj8WZv vj1S7EEmedYbV1urYYFdqPhaWUdbWAKpPQx2aRCoQXOxL1DHmTNrMcVXjaZPDyirViOx LQyw== X-Forwarded-Encrypted: i=1; AJvYcCVAhKPyqZ1fcgrqDEuBVeI4a8GGN8P8191wCWuTXxaLxW5lHbUzsu9PEub8UmawWS3RZudMA1oCLFq9DvTK2RSuV0W4YVRGGBd1BREiOPvAr6Un5n0= X-Gm-Message-State: AOJu0Yzp65mOKzGUnxXdpEL1Ax6MTU3AkBXyIEi93XlxD4d7/ov9OHdP QRokXx9yybuOHqLKrqgQy2WFWVM9UeicVDm/P+lFs8aj6FieztJWO9BW8lenRTI= X-Google-Smtp-Source: AGHT+IFO+ljYLVgCOupSmKdJuFOFah4rKhUWFVzXldvgD/GHMK/C9G/U7YhQ9LS9dryw7WNrKrcxug== X-Received: by 2002:a67:ee52:0:b0:472:5960:9e9b with SMTP id g18-20020a67ee52000000b0047259609e9bmr5925192vsp.29.1709754071236; Wed, 06 Mar 2024 11:41:11 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id dg17-20020a056102571100b0046ee0e665ffsm2323364vsb.2.2024.03.06.11.41.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:41:10 -0800 (PST) Date: Wed, 6 Mar 2024 14:41:08 -0500 From: William Breathitt Gray To: Fabrice Gasnier Cc: lee@kernel.org, alexandre.torgue@foss.st.com, linux-iio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 11/11] counter: stm32-timer-cnt: add support for capture events Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-12-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 In-Reply-To: <20240227173803.53906-12-fabrice.gasnier@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_114113_200100_E47E3DF1 X-CRM114-Status: GOOD ( 13.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5041498934309953873==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============5041498934309953873== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/7E2qpchrMeFZ+eS" Content-Disposition: inline --/7E2qpchrMeFZ+eS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:38:03PM +0100, Fabrice Gasnier wrote: > Add support for capture events. Captured counter value for each channel > can be retrieved through CCRx register. > STM32 timers can have up to 4 capture channels (on input channel 1 to > channel 4), hence need to check the number of channels before reading > the capture data. > The capture configuration is hard-coded to capture signals on both edges > (non-inverted). Interrupts are used to report events independently for > each channel. >=20 > Acked-by: Lee Jones > Signed-off-by: Fabrice Gasnier Reviewed-by: William Breathitt Gray --/7E2qpchrMeFZ+eS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejG1AAKCRC1SFbKvhIj K3DwAP9JgKrctTyHYndvFGfvRBz7a0xr6aDBY7DMfn5Cd+yMRgEAtVnZbcuUt76/ QGXXSQ+ceWI8oq9r9tubyWD2rrCO7wI= =CNt0 -----END PGP SIGNATURE----- --/7E2qpchrMeFZ+eS-- --===============5041498934309953873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============5041498934309953873==--