From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f170.google.com (mail-vk1-f170.google.com [209.85.221.170]) (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 10AB013E7D3 for ; Wed, 6 Mar 2024 19:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754055; cv=none; b=VRQGMQLF+ujkmibmB4sJvNlbPnPPuUFgnhLRgXWzKpa27t67Vyh9yaUD72iNmYz5mjC8O7Zl7lVmqO5er/JWwOTwzOHSHcAGKcA8LmX3dqNKpqXpuVNoXhtrcI939YDnaKdRjSiFizNpmoCk1JzsVOk85PXjicYu3VWSdiOIDFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754055; c=relaxed/simple; bh=lLww44fHzXJw1Kt8CwXW/KAA0YiI8Bp1KLHYfbruk68=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VqLFANWkSqsNCSy7RTVP8nwluEgk6909QkGOzr+d13hmVUDxvLz/PX5M6ofk7WCVqjzTa4OCnu0kxE4ENAVqfgiK17xeMHQRxZMnsW9v8H1WMRaODOZKYwyCxJ9ggZPTc4Wt+3PW4WG9TzNJeFznSTr8CYNJYkwxXORH5FiaTlk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Jwvw0I7g; arc=none smtp.client-ip=209.85.221.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Jwvw0I7g" Received: by mail-vk1-f170.google.com with SMTP id 71dfb90a1353d-4d33a041ebbso1321323e0c.2 for ; Wed, 06 Mar 2024 11:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754053; x=1710358853; darn=vger.kernel.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=lLww44fHzXJw1Kt8CwXW/KAA0YiI8Bp1KLHYfbruk68=; b=Jwvw0I7gSP93wzf+T4MT9BPf28KCNJ7qAl/e+moPGm6O9snpKmydgN4aBOX8YuXYue wcqNF+TZ836yPmDGvASCv5SoG9SkIO/3qieXiojIkxpfEoGfW7h5HI9W8+ODADrjN8jq jpXkn8jfRz1Ap+bhgRVO4cqaTggnn6QUtdJsc+8YAss2KFE+qxDEJayEIoFPCxzM8fLC vGBYUS4lFYBIVXLA2m/M/2NbIbgYF33fVMGG8xN7M+DpdUjw+qhEug4wcGhoJAvMhH9Y MTjqQPNh0XDUg41NG8fLZIOMxDQbF1FmKsYEL7ojvcOoKQ/zwsJMbVOPPFmUF3HVeVTQ FVeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754053; x=1710358853; 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=lLww44fHzXJw1Kt8CwXW/KAA0YiI8Bp1KLHYfbruk68=; b=EwWWs6/+IDPR4z9CFYb+7FiYDMGj0tMmJGl67VwC9EvqTZYosiTT+QCsfwwXOieHok R4dw16UuibsfSlQ/W83UXAO6itLSHrkxzXt8HB+XkQfd+ECGQOoLJwdQouFDumOjbxq2 vo9e6djeWU0Fl1+UmhV1W5YD3qaVqrFonaGxXcYdQ3Nq5o1oignAUHsgSkhBu0YiC5zH Bksa+ZoaEKHPidBHD2jTQFS4Tm/u8JefQsS7UNLX+VawupFmHuOps6vY6RgLpbwb4BS9 /gfNRgTzpfCeZTvMNZC55woB63C7JibqOUYxqkCBYA+S0FnSMaotjM9N2FGoTM6BnWDG ylyA== X-Forwarded-Encrypted: i=1; AJvYcCVa0HQ61S5Lv1SI9389PFmuJBKXkBmZm9iurwtqXmhBovP9vXD9YADYnFNdNLUtyXZJt/IGJQmjx+hdvRzRud/bLRUlK7LI7mBP X-Gm-Message-State: AOJu0YzqYTWjF2lxxNH+Q73tT0PhPdRPbsL178JHQi2Yz7NM2JaLK7PW 7MVcMTSszRwCUv30PbwPc3C6x+5pOfiKI7VVeF/++zwuJ5U5Yf9suenrdL53cik= X-Google-Smtp-Source: AGHT+IFX+X96b30F665Z3v9XkkXlmdpro8bRgsJ4O1L64Bn+CTNhw2E2bPqB2AjrkrHwsVj2Sgb92Q== X-Received: by 2002:a05:6122:49a:b0:4c8:e834:6ce2 with SMTP id o26-20020a056122049a00b004c8e8346ce2mr5202856vkn.5.1709754053042; Wed, 06 Mar 2024 11:40:53 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id n21-20020ac5cd55000000b004c0460eeea3sm1641635vkm.43.2024.03.06.11.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:40:52 -0800 (PST) Date: Wed, 6 Mar 2024 14:40:50 -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 10/11] counter: stm32-timer-cnt: add support for overflow events Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-11-fabrice.gasnier@foss.st.com> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AHJchM3hVcrGYiEl" Content-Disposition: inline In-Reply-To: <20240227173803.53906-11-fabrice.gasnier@foss.st.com> --AHJchM3hVcrGYiEl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:38:02PM +0100, Fabrice Gasnier wrote: > Add support overflow events. Also add the related validation and > configuration routine. Register and enable interrupts to push events. > STM32 Timers can have either 1 global interrupt, or 4 dedicated interrupt > lines. Request only the necessary interrupt, e.g. either global interrupt > that can report all event types, or update interrupt only for overflow > event. >=20 > Signed-off-by: Fabrice Gasnier Reviewed-by: William Breathitt Gray --AHJchM3hVcrGYiEl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejGwgAKCRC1SFbKvhIj K8/NAQDCuf6KLzSMo+Kw/cpwoHQZKeN+w6n9G+6YESGIsrFwJwEA0oJlwcWAw71G bVtRni++MRNTj1R0wO9V3GCUC9ShYQw= =UU4f -----END PGP SIGNATURE----- --AHJchM3hVcrGYiEl-- 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 6203DC5475B for ; Wed, 6 Mar 2024 19:41:05 +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=HW5aIARER9SJMyfC/CmrWwKiYmoOflZG+8kSD4taOJA=; b=CNAp19hVBSqnR18K10E4m0+7PN ag3ANsPVcoffiZdDzFUnNvl3YXmEC/gnVRxm2dfgVB4D//T+j/S2vxU9mRz+IUaVAx+Mo+G3Jskgk yu52ICg9LvlO1sfu5AJLTebyigoZWLDHxbCLyKzcKdug38EA64LtdJXlcXYNSFLudenXRPNJMCSlq hy+yV67Fo+Vh85VyNqmQjWtriigiSgk9DJDAXVdmhRBGGc7obFmC2R2a0nbU7t6Djn/T4J2pcrlne tZOhNOtT6GK58yzOnPHjZlHoIsGIXb+E8iH5kZp4FiTAjsmCKMHPgvzc7YKEmMu4KsO+D+T+/p7w5 Rml4LJLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhx8L-00000001fDT-2cLs; Wed, 06 Mar 2024 19:40:57 +0000 Received: from mail-vk1-xa2c.google.com ([2607:f8b0:4864:20::a2c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhx8J-00000001fBv-3MH0 for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2024 19:40:57 +0000 Received: by mail-vk1-xa2c.google.com with SMTP id 71dfb90a1353d-4d34dadcb23so1451979e0c.1 for ; Wed, 06 Mar 2024 11:40:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754053; x=1710358853; 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=lLww44fHzXJw1Kt8CwXW/KAA0YiI8Bp1KLHYfbruk68=; b=YHtX/J7Hu1BOL1Z6mSGCAe5EXxbpL3wT0tICfHiAceAlp4bpmLmDqD6pNmPYOit+is HK051ZDD4O1C2lG2yK/1k4fCi76jxc9EHm5QdMTGPQrBB+0JadcoSvdamkx94UArfiLt rdE+vrbcU74rujLq9MoFLvqKivQz4RPGBJEIYkfZuBsiOKXigGqMptGaljIWwCKY2aXn ayi1PxwtLgmwPvNjGzcoQ3G+sMCgBOlXaPnSSIOqRhFXunbLs0Fl8rSw5y0RfGgMMJBZ jVp23gER5eXRFgaEClr5o2RfBiOnY2yVNZuEbWd+HOwONG9NIE80x7N5xKw0vnoToVzL ZM+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754053; x=1710358853; 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=lLww44fHzXJw1Kt8CwXW/KAA0YiI8Bp1KLHYfbruk68=; b=YM0hWGk/YA8qF5t2jA+/olkc6c8vDs15Muebrm+Y6qN7NyvitkPQ+UuiRcZmVkYf8e vK0O4ymwbziJxKtmincgOmuNMgwkVad+y5L/i5VEHJEZaXWGlUsiKyaM+UiGMihOgHs/ rmlOutKEzcmthgThtE8K/IEu6FCB+vOnaIOktoHmhoxZur43zPaBj5x8wO9savegGtRz IwnVFN4cLL1jEIx/OEgZucNVVh5NuAYeBy2Xo+sQDs6q6fmSzIBVcdBCpYtdXmKj1gid NFsgS94gAFWn1uws/wxlIjeagtMshTn3ykQp7Au0YyA0GDGonsPY1Z/+6yX3aRAsSIvj xmKA== X-Forwarded-Encrypted: i=1; AJvYcCXWABY3sthAIh5+yxVve+pSEJERJfQh58eHg46bOVkHCxCON+DFFoZ9Qs1rgh6vm9idYl2TX6D2+VqxM2dVvC1Xitvev6dT/QLoNdWjiCcrAAjhRLQ= X-Gm-Message-State: AOJu0YzzpFKyAlRd77JLnEZ46NvxjLR0zmpivPu2Tsy9vuNuE278MjAE GkjNsi/4kmQMImQlu/TmQ76DewCUVtCvQAFov35LjpUO76KIXMBxDMqtK5Kl1L4= X-Google-Smtp-Source: AGHT+IFX+X96b30F665Z3v9XkkXlmdpro8bRgsJ4O1L64Bn+CTNhw2E2bPqB2AjrkrHwsVj2Sgb92Q== X-Received: by 2002:a05:6122:49a:b0:4c8:e834:6ce2 with SMTP id o26-20020a056122049a00b004c8e8346ce2mr5202856vkn.5.1709754053042; Wed, 06 Mar 2024 11:40:53 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id n21-20020ac5cd55000000b004c0460eeea3sm1641635vkm.43.2024.03.06.11.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:40:52 -0800 (PST) Date: Wed, 6 Mar 2024 14:40:50 -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 10/11] counter: stm32-timer-cnt: add support for overflow events Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-11-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 In-Reply-To: <20240227173803.53906-11-fabrice.gasnier@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_114055_873374_010713D4 X-CRM114-Status: GOOD ( 11.47 ) 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="===============8967198890704825744==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============8967198890704825744== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="AHJchM3hVcrGYiEl" Content-Disposition: inline --AHJchM3hVcrGYiEl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:38:02PM +0100, Fabrice Gasnier wrote: > Add support overflow events. Also add the related validation and > configuration routine. Register and enable interrupts to push events. > STM32 Timers can have either 1 global interrupt, or 4 dedicated interrupt > lines. Request only the necessary interrupt, e.g. either global interrupt > that can report all event types, or update interrupt only for overflow > event. >=20 > Signed-off-by: Fabrice Gasnier Reviewed-by: William Breathitt Gray --AHJchM3hVcrGYiEl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejGwgAKCRC1SFbKvhIj K8/NAQDCuf6KLzSMo+Kw/cpwoHQZKeN+w6n9G+6YESGIsrFwJwEA0oJlwcWAw71G bVtRni++MRNTj1R0wO9V3GCUC9ShYQw= =UU4f -----END PGP SIGNATURE----- --AHJchM3hVcrGYiEl-- --===============8967198890704825744== 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 --===============8967198890704825744==--