Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp83327rdb; Wed, 20 Dec 2023 06:58:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJAx/tpMeMGcGllS7+R02dkPITCujpOawRzuRkUmJ6PdxQBxctNRm7NGLDaUhnZPEN4nhz X-Received: by 2002:a2e:890a:0:b0:2cc:53df:7dc4 with SMTP id d10-20020a2e890a000000b002cc53df7dc4mr4131514lji.7.1703084307828; Wed, 20 Dec 2023 06:58:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703084307; cv=none; d=google.com; s=arc-20160816; b=HmrzbYq+rw/CTJNyDUbeabkBzlELLriqe4amYU6XcQzhy1wO5QenMK2miM8Ye8lCzJ Cxwm1+VFZ6r+RjonS77J1rIwZxKU6CMbO0MVjGnZxzpG12v/GyTKxb57M9NZc9wJjiV+ LbpgQFhxSboEkMF/jgms2mZAYbzp8bIlmtpPsoKNmB2Hw4V7pycDg45ALFgQtQ0EiOkO 2en5XD1WUFXToHREZEUKQb4UxBKZjNNC2m5ehMQJV6IxnEBU8w/RuOZMcbNv27zDIpPV j9RJ3DxgMycbTaTsdRnKOe0QObrkyVnRlN2SSqz6vQAQ8PWgCgNklk5zT/DFSyr8bpcK eaNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=d0/rsgmO/GK6El7aXTcbV+jmBIbAy5RKIXMeVlFeF38=; fh=ozwKRq0p8tj2zy4oAJzh3eawPsCHg5fP2FoTNn7f1y4=; b=LkM7+wnPQHViCpF8phkgA183DsoybgKD6eL1WZH85IcZq/ZMFEESpQhsAs2XVSptE6 ID0f/vx3v7351reRCNcw+BYY2+Hp6N+5dKopXdah0/kWMpFlNh+fF5oeWqilwPYMe3NF eyYs5Fx4RkrTs0xPGmewOlOLDXOw3iXDB1Iihqlc2c4hLIdkz/bdnw6mHG86pUw1/5Uv iMJPo6a7WKsYY/LLRRX+nCwh5/FN9WvYvAMpPAef9rGp19nOrnebQB7MeZlukue2AqbK xorRQZNMx5KFN72SvksYw+rtxlUv9042yAncj06Swo4haDoaxz3sDeU+hZ6OYiFJHqgh hd+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=8J7Y6tqk; spf=pass (google.com: domain of linux-kernel+bounces-7096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7096-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x6-20020a50d606000000b0054c460fbfccsi12046305edi.457.2023.12.20.06.58.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 06:58:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b=8J7Y6tqk; spf=pass (google.com: domain of linux-kernel+bounces-7096-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7096-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8E20C1F21CFA for ; Wed, 20 Dec 2023 14:58:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00F503DB9C; Wed, 20 Dec 2023 14:58:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="8J7Y6tqk" X-Original-To: linux-kernel@vger.kernel.org Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 505BE3E466; Wed, 20 Dec 2023 14:58:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3BKAmXS2012278; Wed, 20 Dec 2023 15:57:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= selector1; bh=d0/rsgmO/GK6El7aXTcbV+jmBIbAy5RKIXMeVlFeF38=; b=8J 7Y6tqkzguM7UnkU895zdVpGCTD78yZkw4YZeesU4wSK28IT6jGCbVIUej0Eyw1sO mCTl1vUrMimKUh9BS7iLm5QUdOVzCZFBqnsk78Ca1jjiQqHFPJkXShvUVGDqHow6 G28x2s0R4XC3cIMJhzxKlu16RJ+Doh689NzUTIoSH45WtY0dhgG/j5pRf/mXHbs6 DtLiZNey5t5NlHJtZiPx58ePa2C6er+eXQH+xYoBROZjO1hqjNT8ADN04GLP73Zy NUUGXdP9p7/8AtNDmznda0NDpLlRPs2ArPQOp9AqU9SAt52uiglnxG8oJqNhYlQm mYNRS+7OSER3d+8kUHig== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3v13nhhqt2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 20 Dec 2023 15:57:55 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 524C7100059; Wed, 20 Dec 2023 15:57:55 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4A07721B511; Wed, 20 Dec 2023 15:57:55 +0100 (CET) Received: from localhost (10.201.20.59) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 20 Dec 2023 15:57:54 +0100 From: Fabrice Gasnier To: CC: , , , , , , Subject: [PATCH v3 01/10] counter: stm32-timer-cnt: rename quadrature signal Date: Wed, 20 Dec 2023 15:57:17 +0100 Message-ID: <20231220145726.640627-2-fabrice.gasnier@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231220145726.640627-1-fabrice.gasnier@foss.st.com> References: <20231220145726.640627-1-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-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-20_08,2023-12-20_01,2023-05-22_02 Drop the Quadrature convention in the signal name. On stm32-timer: - Quadrature A signal corresponds to timer input ch1, hence "Channel 1" - Quadrature B signal corresponds to timer input ch2, hence "Channel 2". So name these signals after their channel. I suspect it referred to the (unique) quadrature counter support earlier, but the physical input really is CH1/CH2. This will be easier to support other counter modes. Signed-off-by: Fabrice Gasnier --- Changes in v2: - Drop the "Quadrature" convention from the signal name, as suggested by William --- drivers/counter/stm32-timer-cnt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/counter/stm32-timer-cnt.c b/drivers/counter/stm32-timer-cnt.c index 6206d2dc3d47..36d812ddf162 100644 --- a/drivers/counter/stm32-timer-cnt.c +++ b/drivers/counter/stm32-timer-cnt.c @@ -279,11 +279,11 @@ static const struct counter_ops stm32_timer_cnt_ops = { static struct counter_signal stm32_signals[] = { { .id = 0, - .name = "Channel 1 Quadrature A" + .name = "Channel 1" }, { .id = 1, - .name = "Channel 1 Quadrature B" + .name = "Channel 2" } }; -- 2.25.1