Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp118229lqi; Wed, 6 Mar 2024 11:41:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWSShdac1VP8LfMuliX8aORM4TduFirWCt8WGPfFrLqyUEx3nfCEZkHz3y9eSUUNQAMWNO/zAH5we7lX7iInivceF80bO9UKwtMPiv3IA== X-Google-Smtp-Source: AGHT+IFKOIw26VnajxXllytgw2hd6HQoV/XTXY+//eYwbqOAIqMQ6XnaFlafPvmN3lWSH/o7TZHH X-Received: by 2002:aca:2401:0:b0:3c2:fd9:af24 with SMTP id n1-20020aca2401000000b003c20fd9af24mr5716274oic.9.1709754061599; Wed, 06 Mar 2024 11:41:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709754061; cv=pass; d=google.com; s=arc-20160816; b=KCca63+ZzuC0C5/JKc/dvaEmpubmapm4pHAe7diz+37fuLLufQ8USLC0XsQmy14H8n Y3FQtZIBMG7cL3dYGEkNYtUHDCbq60INuE5QQQtpReb+ZwrUBggICQ8Uw1mnKcQImBN1 w7/S8wC5sbGnHij6XIcxsC08uZhIodGPEAEfpNJQJRgH503vOWYEATykywBCaKnm2w0W FDBcXPxLFjg/TXeh7PFgyhHIM3+JmVCHqqtTsm89pCR5I9CEXdE+H9jhLYVvi0HlWEhZ dMgN0G8lBkbNpHPcCM00pMIpArrELUvtdo3z7ypG+RG0nUscv8clHluzlrV0NTMkU6oP VY0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lLww44fHzXJw1Kt8CwXW/KAA0YiI8Bp1KLHYfbruk68=; fh=Jh+/J0ZDCVQQxwopT99JzHchZPCpwmoVb3lHQ8ZInVs=; b=Yy1WfH5Xc7+xWJi1CLhA5pYu3jGhMq+3yL5MRoiDmaacf829NTMk+PV0NXzhM7Pb02 h8pmspnuxy+LrEBcvSggZxloDE5qUGly8BqKirsAAu72mVjfZ7iTtwNHHBYrfR4bNWVI Lvt/XxiJQpwb6joaZbE/jJrnKRUY4koCc64kDhsQknbYJHG05Fh65WMhrx5l0ABPa610 jjUyDZpCOhunqQMQY/F2XuImd11ReXVpdlOUfXm4olzJNVzjAIQJWIVH/r6MVnJ2wG1a +mjm6LoNbwSDkukOPRTP+42zJDrXVICafAnlwnq7JwCeO7oKu/L6QiZk8WfUY8RqJJxu NcKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jwvw0I7g; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-94493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 24-20020a631658000000b005dc958db2ffsi12133302pgw.470.2024.03.06.11.41.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:41:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jwvw0I7g; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-94493-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94493-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 2A9A528350C for ; Wed, 6 Mar 2024 19:41:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A6F614037D; Wed, 6 Mar 2024 19:40:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Jwvw0I7g" Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) (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 43A881350DB for ; Wed, 6 Mar 2024 19:40:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754055; cv=none; b=taRrAmM0xu2uLZXtIlNYI6PJo0HFBTzStoHKhNSnoWMmSQANJ6BX+B5ephOxnHbnOA+KCrGBFMO1IWIzROtPD2f/h+pIl7o3gP5TBYo8TTJXL+WnDxnibhPmvtaT0o2kSAoyUhTJbjFvvGG2RSH/PyWvxDylK/bkutwYqm1w3/c= 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.174 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 Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-4d34dadcb23so1451978e0c.1 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=n0yyBKCeZGqVTkzmbOH0jw8ePXWe8QkosHX/DqbJK8RMH25v5rCRi/8q3t5qkOVVMy YVSOCGEOVLq7ha78F3/iZN40MBPZFPSfIjZn6HpUSwBPyA2CvMtwRGJTccU0I9q/1i27 DQMpDP5ygOtf3mlnPg3nnZ5yJIaXc2XJgJiyo/REa//AgfcShSt3HZRcEa5x4UhnA4ER MGqdZ/Ur+MaiBUPaU+BafDXsMj/jufeEtkPjqum6IrsERteInZF8wI6ioye1d9pKg+SN mYSsxGB2Tk+3jXkCtFeh0meoGBr3uNnsU28DaLjKII3oiS1lu8jC05UBGAABTQGXllFy M/qA== X-Forwarded-Encrypted: i=1; AJvYcCUdGJfF0hKqsEVbxeTtPlu+duFc26nyXuczjn2ouZU+XleWedzSQcbQvRTkfVj3UhsnQXpRm3pkyoi1ZZ8ziY5YCjFf3hv3xPKhbqFh X-Gm-Message-State: AOJu0YyyH12JcJkgzam6ImZjA54w2P7T28OH6IVpVplhgV47Wk+wJa0P 5bMSbtlVFfrF8/S4nPcgIZ7TFZtSIQhrhIsORVxDy6f8KlhpfYt4TuLEu/sMtYg= 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-kernel@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--