Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp117966lqi; Wed, 6 Mar 2024 11:40:29 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUmEXTRcfiCfCBsZ6wzs2PwXtGpznZ2o0lKERD1NZm9XsL243P4CYqE3ElvdJH7e0mGoYQAey+spgUfb98EJufPMwwxo/bSDmjmhqiNTQ== X-Google-Smtp-Source: AGHT+IE2akEwAy5qqdHkSZPTXs4Lwb5CNZxFU00hoQg11ZOkfDVm2QcGVN7ZXmxaj7IWaXCaZ9HV X-Received: by 2002:a9d:4b0e:0:b0:6e4:e7ac:37bd with SMTP id q14-20020a9d4b0e000000b006e4e7ac37bdmr6226917otf.10.1709754029081; Wed, 06 Mar 2024 11:40:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709754029; cv=pass; d=google.com; s=arc-20160816; b=pNEmFH5czb15YVAzrtMZpE4aE4/Dl9JnpR3ThDJj06CNHN4RvTZczhkKUcG5yN83Qe qXPDR+IN1wsR6uVxDeXip/RIBEdpx3kV77OkH1ClVaaVC1NehgTZUGNjcPBgSwHnFPRg ezsGppyUdkL+JydY0889Z4MPWs/OEnvumYsNO4eFzsDuudfIR4z+70KjT2x/AAnVixhU xWkfY84aIiFgXf0P2mBjKrS9aBILqe7Qrs7qBbCJueGmtFXSrgwcZne+Rre5wbWmaxoT scmNdqktmiV66OMlKM0ny2nuMI4Woguhmt415o5ks+B5CiMHaSUu85F6FjvK70qdcZ/F p3ow== 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=FimmtqSvqEqbFvMuJNijf2tqqdZSK3fWXSJq7n19k98=; fh=DTETOIjMlxVd0787FTYF5zTz1NHPUozmvMdHTzFy+Eo=; b=WzfjmE9wSwHquBnCnm2+2VopQd0lwAuQGA770cK/ILuJii+RgHJJq1GfRGHky8WE+7 AFaOESJ+MhGz7ymAiGcb2DT16WEEQZ9Sa/Bnk43EleLJm2eY94VvsQAtSjG4Qn65qpDm V5t9HVBv15vPPSFFIp3T7E/EkiiXI/kr85/n0dy56JhXOTT9qljC9e3+5GsMy9Sosinv rj1aeOv2zlFUykeCNK5uoE69pE18pyKB1NoXCPbaL5Z/5BQe4VEYUlPGRoWeIfzSZ2Yp AZyaTUx5GhqVZU/Lkj4J1X7+lvZw59jC1OqEUq3g/OGUlmraNHzKFbkZP5rQok8zOKPP EMyQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K+756lvs; 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-94491-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94491-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. [139.178.88.99]) by mx.google.com with ESMTPS id v31-20020a63151f000000b005dc500d9af0si12342280pgl.450.2024.03.06.11.40.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:40:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94491-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=@linaro.org header.s=google header.b=K+756lvs; 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-94491-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94491-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 B8FF62834EB for ; Wed, 6 Mar 2024 19:40:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE30E140380; Wed, 6 Mar 2024 19:40:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="K+756lvs" Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (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 9A641140360 for ; Wed, 6 Mar 2024 19:40:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754022; cv=none; b=B1dc+2ld2O4y3pPwwi4kd3IrkrtSqVqB3froUt0lx3DzyJ07WCASu28EYc/0qN/Iyi0wuWsFKlsCaFgykgHy99U37Cv8ofXpgbS4XTQ6MmV6/LI9xD/3Xw6Y/Du5Q4Kr93TcpaSKXHYBWb2KR7dzE0bax2KKZcDkjRDLIHRD5B4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754022; c=relaxed/simple; bh=FimmtqSvqEqbFvMuJNijf2tqqdZSK3fWXSJq7n19k98=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ah9ypIpx8SGgHsImyNzowKCb/DqoaXvbgfI7ao4QBUFAzG13+S+iNP5ZMoEjK83t8i2YS+MkyB2gW97dxOAlT6GB1L6F8vpdoCdcdtAFJ1KhLE63YsrbiVyU3TQIPzwEHpbmHReeoLeMcz6f5AyeocX719AV7mPOj94ZqntJI10= 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=K+756lvs; arc=none smtp.client-ip=209.85.217.41 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-vs1-f41.google.com with SMTP id ada2fe7eead31-472687a2f7cso30430137.0 for ; Wed, 06 Mar 2024 11:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754019; x=1710358819; 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=FimmtqSvqEqbFvMuJNijf2tqqdZSK3fWXSJq7n19k98=; b=K+756lvs+a4bRvQG5dp9hox4T/iRhEVLEMv779e7mJE4QG7DwmMO8Uo57kxVRYMq8I HBBr6lUS88Nr0YL46hW1sjYWJHLf4HVdg5k5axmCbPuOxNcmP0sDRSi9bzoLaC4Dyfjp j2GhgW+p8p1B7wR3uktsOIWwaq/5++xTxadTmvghJbqPGaP13m7R/om/2Kc4cCLQGLMp R4Hal64G8WJSHo5sBdDok2cJ81xfypyTRX0nWhc03mOnx6WzK2LIF1cvv5em84idxhI9 ipE9SJEAl06m7sDGsKPLvNFGtn4D/AOtj6dhA0nUvssTzFEu0gPDl0N8d9cRYhHR3u7r 3Z3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754019; x=1710358819; 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=FimmtqSvqEqbFvMuJNijf2tqqdZSK3fWXSJq7n19k98=; b=EWfZXA5QKYAWkLaj8lL8ZchIbYTi0nZumcjbZ/CCYzDnBekIpgl2nM0wg7LjG+ipGv SotQIVw79Hj4ZcpUyKY6w9sxZ/BFs8+8HDChzIBxHa/MvxYYhZxm095uXB9W9M+DkE2L XcD2MdCpaHl+5ylqJowCqbn7d8uExmkfGzudXK/QUl+05ov++Qw+/0hif6m8zrLY73fv TO4OFPd5WMBDlnz92IRn5b6F44UzWxgIEstxr9gL/UaUPYz8ZP9ORb7k158BRHDCzRk2 /MFs9Wb8DSqWjuzlkY+qbzR+jGCBe0jSsK6E0adbNcRAiTTXlKvqsP094+FEMFL3I9jS XfTw== X-Forwarded-Encrypted: i=1; AJvYcCUsid8Bhezol+mWvHkg71m1M8J3+lfBUjEl+WG1oDpdlWKAAWRhBkuAZ5pxXNM3SOg1ZFNXOnCJdfQAjeN387pSbF1RI99wsDIRpMcG X-Gm-Message-State: AOJu0YzSpPnCqZFVe/p2mdjt/BcfjoiTryHvYJaUqw2M+ma5GuaKxduL z6NAdsda/0Ms4mtnydFp/4KibeqwD3nt71D986z1t2j5Uxoa8bg7TBponcvtQro= X-Received: by 2002:a67:c412:0:b0:472:e292:3933 with SMTP id c18-20020a67c412000000b00472e2923933mr4977115vsk.17.1709754019440; Wed, 06 Mar 2024 11:40:19 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id 38-20020a9f22a9000000b007cb1514c862sm2305766uan.10.2024.03.06.11.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:40:18 -0800 (PST) Date: Wed, 6 Mar 2024 14:40:17 -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 09/11] counter: stm32-timer-cnt: probe number of channels from registers Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-10-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="TYYl/++2NBOFjIIm" Content-Disposition: inline In-Reply-To: <20240227173803.53906-10-fabrice.gasnier@foss.st.com> --TYYl/++2NBOFjIIm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:38:01PM +0100, Fabrice Gasnier wrote: > Probe the number of capture compare channels, by writing CCER register bi= ts > and read them back. Take care to restore the register original value. >=20 > This is a precursor patch to support capture channels. >=20 > Signed-off-by: Fabrice Gasnier Reviewed-by: William Breathitt Gray --TYYl/++2NBOFjIIm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejGoQAKCRC1SFbKvhIj K9rKAP4tIgFMewvSx7gbLKhcLYNMVQevAg9siIMXNnOlzExhTAD/TwMoxemDO0+A xgY8nsPjYelz/A1209HizxjuPRgMfQo= =roE/ -----END PGP SIGNATURE----- --TYYl/++2NBOFjIIm--