From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.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 769D0140373 for ; Wed, 6 Mar 2024 19:43:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754241; cv=none; b=EwjIJWJlXsl4F2jHxNgKIpWGlGQFi29eFXBez85j0+YWjsxXVYbL5X2v0V1pzgFwTaxEsT3fjU8t208QWyOIFq3ci0Uu/lsuqJPkDtphsKlmdeN/GPmth6JS2RJdf6yKeaKeOpNBUdADE2c43oU7Y54r4Mtt8d/HQWNg0VhO4sA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709754241; c=relaxed/simple; bh=I0ohgGabI1C1WrACCr2x2SG+mIMUemMROnv9qbAlsMw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OQVyrVoOqr/tF1wC5SP+CYsXHti0B509jqZW2ChcDWgrd62zdaZZgRFwKaCBsrzGVVwbG4HEI/j63qLZp8gSf/a7huG5qLWgcSbaV5h5FEadFHXPTFT0euJdM7BMXqLa74PwTHEtb7JheHAchBFWPZKOOZZIDleULQIgvKBFciY= 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=dt8w1k6q; arc=none smtp.client-ip=209.85.222.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dt8w1k6q" Received: by mail-ua1-f41.google.com with SMTP id a1e0cc1a2514c-7d5c40f874aso28552241.1 for ; Wed, 06 Mar 2024 11:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754238; x=1710359038; 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=3h1bbnwAIyReRJZyvKPJxbEARb+nxhxtKQ4kf1OInaM=; b=dt8w1k6qdmI62+ZI/0mOISSQ7A+kGKGWQf4Sii7dI+Vtv5CA+yKF2/UxXEUX3z+193 dmOo+eMuDRINw8/Huh4gMnc3+fQkh/Lg4WE/NTfNLFH2280CV9WYd81WWA/EOFyKX5q7 uARJhjHZWTorXu3ZK4lKrRV+Mw/4X+H9votxpnmO0jhPJbaf1+iM6pnOE+SbnpZR89XK F2hvOZDid5fr9ULEoY31q/nOOuN3jokNyjNJANVYK4MlXqK38jzoa4fgJ7DPvczqJ0Vv p8if32KnVebBZftrcgZlPs5Y5jb0p87QY5RgcNDa7w3AZDcN1iDdVe+vXRzBAKiiS5oo 4Q8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754238; x=1710359038; 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=3h1bbnwAIyReRJZyvKPJxbEARb+nxhxtKQ4kf1OInaM=; b=B6yL67qP1sIXWXLoK1HI8Uf6ClMycBHvvrvQAvjqOVe53vtv2p1iZlFJa3dCvshpD7 +nJM8YemajvNYzueiqBA0A2x3KIcCj3cG1/F6n+8p/fygXB8ndbca1OSVRKX13eYAnLn GDNnfSsMNm5D+4D296oNiLStwMzNvopxjcyCdQOMNlUAjvYW/zVNUZeGoFKHdudbokHm RcQ9N8cqZ09A+DOVmlFBijVgrQiYILGMcT42xeAycs4FSTA9PIWrPPjbyTnhmzoCiC1j nvz1Vj8WPZzZRpyKctozTgo8TsSc7vd3juUEWYyd/rbvyRddiNaubAF1RrYWXgyk4oWi Yq0g== X-Forwarded-Encrypted: i=1; AJvYcCWvuyAY5XdemxqDpQnqjoWWIHDWDLDesf4+zXmHLtuF54Lopauyg1ZkW7sIDnAmF4jtdTESYk6vHzd0dRfmfAA5grE9KkYWBVRz X-Gm-Message-State: AOJu0Yz5p+J8LVJEbokYD8Pcvj5jgo08w8BvD2z54HdFuP+g7pxxhT3d KiIlq7t3/epqMz+bNl80AIFqNwRgb3oWMKF9bEv76ofPQJpTYzy/E9dz5gZ1xKo= X-Google-Smtp-Source: AGHT+IEyLGk6lO2/Z0y29ajHV8WtFiOo34D73UwYULuhEUyqvjui+WV95jfXzAfgg56mvqNDNS3sgA== X-Received: by 2002:a05:6102:55a4:b0:472:7b61:70c4 with SMTP id dc36-20020a05610255a400b004727b6170c4mr7625665vsb.20.1709754238304; Wed, 06 Mar 2024 11:43:58 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id cf4-20020a056130114400b007d5d3dac7dbsm1970664uab.3.2024.03.06.11.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:43:57 -0800 (PST) Date: Wed, 6 Mar 2024 14:43:55 -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 05/11] counter: stm32-timer-cnt: introduce clock signal Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-6-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="UUEoCLXwhPXDowOG" Content-Disposition: inline In-Reply-To: <20240227173803.53906-6-fabrice.gasnier@foss.st.com> --UUEoCLXwhPXDowOG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:37:57PM +0100, Fabrice Gasnier wrote: > Introduce the internal clock signal, used to count when in simple rising > function. Also add the "frequency" extension to the clock signal. >=20 > With this patch, signal action reports a consistent state when "increase" > function is used, and the counting frequency: > $ echo increase > function > $ grep -H "" signal*_action > signal0_action:none > signal1_action:none > signal2_action:rising edge > $ echo 1 > enable > $ cat count > 25425 > $ cat count > 44439 > $ cat ../signal2/frequency > 208877930 >=20 > Signed-off-by: Fabrice Gasnier Hi Fabrice, Rebase this on the latest counter-next to account for the COUNTER_COMP_FREQUENCY() change, and that should be the last thing left to do for this patchset before I pick it up. :-) Thanks, William Breathitt Gray --UUEoCLXwhPXDowOG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejHewAKCRC1SFbKvhIj K1s0AP42PGLQj0Xyd8x57hYGP2PXXQJtYsVAEQunEFZk1MJQqAEAhI9IKmZMCY73 uD5bv4vCbfx4aFk0aSqwtkdXbSu4yQs= =T9k5 -----END PGP SIGNATURE----- --UUEoCLXwhPXDowOG-- 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 A5B53C54E41 for ; Wed, 6 Mar 2024 19:44:11 +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=/s8cB3PXKbGEoe7ciDU9NikmumbsxeGH6lp87pHTVa8=; b=T3XcoJHYcBLMMMTjTgse0NEAtY Hx6dHGGtgJL2Hq1yQITTf5IkCi8x9uMAZROxGOZ2UWxF4phuyxtxRmfr3Tro2h7KrF7a5OsC31CYs zfROGhhuj/wxliEaO9YIuRgD+toJGP0r5HlufRcrCzpF27hSkU7Haz6p+ehBMj3RVSWUTPC0sYgNw 1j0Yzr3ECjSg9Oh9xnEro24fNXTSUDF2KuWDM32E0jtsDggOfN2uZYF1xzcjoagnB2TCd636L+uwL yYZX0D8aM5DHmJJMdSFhQ+P/MH6TbNsUrHQVMfVthWKJNwpIGywItGYLoaioUQxd1aAfNkifiDjpm 8Ti2/dMw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhxBK-00000001ftJ-44Gn; Wed, 06 Mar 2024 19:44:02 +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 1rhxBH-00000001frM-2QLC for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2024 19:44:01 +0000 Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-472630e4152so32089137.0 for ; Wed, 06 Mar 2024 11:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709754238; x=1710359038; 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=3h1bbnwAIyReRJZyvKPJxbEARb+nxhxtKQ4kf1OInaM=; b=ybv2znWk4IxRLiCl7D3YnCZ76xFTF3T5LiceB4fSWpF1Cw0vmP/DnQeCkJmXdfH296 0D/cyuPqDwgHsrQpL5NuSgAxt+YZoRLX4aiDXyRQNwygTG8aXltFaS/Og8zSL+5beJ2E d3zYC2sIqKli7bj3xikA8RgPLK8+dSgSKciSD79VWfSbha/uwcuP2PlsiwREjiV0vAh4 uMHD/FeDinRM4bGGEC97nhN26y4acRNlu4mGcHxOfLSgYa+SH9CTwCr2gqxYpawqrkLz FwsXfgcVGl8/ktckVqk2EFpDZo7C9EHMLjRIRyMI8/rr3yckQCiXv+WFXiPvcZE4XYfl FTDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709754238; x=1710359038; 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=3h1bbnwAIyReRJZyvKPJxbEARb+nxhxtKQ4kf1OInaM=; b=uu+whgRotoqiMMFWDvEbPVlXp0WKhquq6wIMGOn5ysTout/n5YY1T0HUacLd2QV2Xw 7KkxmOlYSJmWS/GVEEbeNoqd4FHls22PEnaO+5xE7z1vIaqyqycevYSQawCCpg5vUEjm ZYtTx3jdsPKQB6TGgu+6phZkbCu43Fl7a27pSLs7zVl82tPKOGnxAXA5JmUtDQpaeDXZ h+C8Utg+ljzrAMoeG58P4wwqLg/FbxIPHApZZI58VyptzBGUVIyiN9JoIr7imXmoJ72D O3tLEGNXb/cIWOI05UnCFkiT9m6YyqRSGNIzoQD4o2H/d6ZrvLXy0f+rGl5Ca33JA7Jv y9eA== X-Forwarded-Encrypted: i=1; AJvYcCXdSCZxr/ZdvbcCZjXKf01K3D1fTYqvIWLMUQnG6d1kBYx+l062dxzNLKnLVtg9lKl3EvhcVLr7QydRFAqjM7wfZBCXXbjHjtNAKS5UO1Dim7bV2dA= X-Gm-Message-State: AOJu0YxVoZ6Qr3HeyHJpHyUJLbKUfqHMBQG4PeE3B7zuj/hMzD8DDtU9 kAzhknwrw18P5VvWUFjmmQJXcAKqLnu0xlYf6ev5nm31BzvHGNlJUI5O9QCCMM8= X-Google-Smtp-Source: AGHT+IEyLGk6lO2/Z0y29ajHV8WtFiOo34D73UwYULuhEUyqvjui+WV95jfXzAfgg56mvqNDNS3sgA== X-Received: by 2002:a05:6102:55a4:b0:472:7b61:70c4 with SMTP id dc36-20020a05610255a400b004727b6170c4mr7625665vsb.20.1709754238304; Wed, 06 Mar 2024 11:43:58 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id cf4-20020a056130114400b007d5d3dac7dbsm1970664uab.3.2024.03.06.11.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:43:57 -0800 (PST) Date: Wed, 6 Mar 2024 14:43:55 -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 05/11] counter: stm32-timer-cnt: introduce clock signal Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-6-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 In-Reply-To: <20240227173803.53906-6-fabrice.gasnier@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_114359_690889_9B155A4F X-CRM114-Status: GOOD ( 13.94 ) 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="===============7566888333456273779==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============7566888333456273779== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UUEoCLXwhPXDowOG" Content-Disposition: inline --UUEoCLXwhPXDowOG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:37:57PM +0100, Fabrice Gasnier wrote: > Introduce the internal clock signal, used to count when in simple rising > function. Also add the "frequency" extension to the clock signal. >=20 > With this patch, signal action reports a consistent state when "increase" > function is used, and the counting frequency: > $ echo increase > function > $ grep -H "" signal*_action > signal0_action:none > signal1_action:none > signal2_action:rising edge > $ echo 1 > enable > $ cat count > 25425 > $ cat count > 44439 > $ cat ../signal2/frequency > 208877930 >=20 > Signed-off-by: Fabrice Gasnier Hi Fabrice, Rebase this on the latest counter-next to account for the COUNTER_COMP_FREQUENCY() change, and that should be the last thing left to do for this patchset before I pick it up. :-) Thanks, William Breathitt Gray --UUEoCLXwhPXDowOG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejHewAKCRC1SFbKvhIj K1s0AP42PGLQj0Xyd8x57hYGP2PXXQJtYsVAEQunEFZk1MJQqAEAhI9IKmZMCY73 uD5bv4vCbfx4aFk0aSqwtkdXbSu4yQs= =T9k5 -----END PGP SIGNATURE----- --UUEoCLXwhPXDowOG-- --===============7566888333456273779== 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 --===============7566888333456273779==--