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 BC647C54E41 for ; Wed, 6 Mar 2024 19:40:09 +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=xWImbDFOuQNnZ07cezALxgEIHM7WjhqqoHdJCvIozEk=; b=Aom2JZ5qj+YjetcOaY9RS32TdS r9V6HhLJm88Ue6gCLvgD/Z88p6jhjBnZReXy7uuiEn9te3Gj2iWWrd0mq+pYowgfUcc5UxOMz0WK2 Yc5wctntUve4zdp29vibMd6FbrxGoZKGd2f+S7u0ysmhXlE++wsZnJCW7MooxFkZDIpKNAwDoh45l XsErzSjFqSiYZp47ErwFCZJuRN0jueSr0R30vAENLMhxsCbgtf2aoG0V5V4coJmKaw9vg3IS1xeey 05jQTiF2+PfOPFR6GFlvoIor2MXtrT24tXZAEvAVY9EIZT7yLavYDY5TfYya9nv9Q6pGoHzDut2wS pkkt5P1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhx7Q-00000001emb-214j; Wed, 06 Mar 2024 19:40:00 +0000 Received: from mail-vk1-xa2d.google.com ([2607:f8b0:4864:20::a2d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhx7M-00000001eld-45EN for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2024 19:39:58 +0000 Received: by mail-vk1-xa2d.google.com with SMTP id 71dfb90a1353d-4d371351b62so1112046e0c.1 for ; Wed, 06 Mar 2024 11:39:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709753995; x=1710358795; 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=cUaL5wX9lCcHMpyt8Zu+oEHigjdI4PKIxNn0fnhJ8Po=; b=XiF0/iCUApWaKKM9Igdak5n7TOsd7PoT/XP3AHWgeFZaoIPkIDNjUPPZ6j5oHCK6z4 3LvKe1TN/gsW00WrDGM0nqxd/vQAkdyzZtorbySTKsCcMMWzrlO6vP9AJzjW41A+EdeE YKj0s/dgVxpWPf8lrqHHWx1grmy7wC70BBxPe0zPSU9cIfQFrER4FnR4P+ePLiwSuPBM CS1LB1/x6AoGrGUQ57gNpqjuB+rhSd11xtUwvZLLOasg9CpgNOz+NcregpHtXlg2Y9iU c0KPYWP282X6W6wquNQGkbe0v3IaNOePYpnYZuyLtTgdLYM7uAbM3D9+TUHk+a60G574 gYbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709753995; x=1710358795; 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=cUaL5wX9lCcHMpyt8Zu+oEHigjdI4PKIxNn0fnhJ8Po=; b=F1kxe2XrcevzWZ9b4QaREb6YJj+D7Un6A6DecZDCJPcMCiM1IIFpu59Gw9YpD63dcO NBYdgUSL+3bFiNZTdKvYs1WrjndzR5+hnKEr2bzaw/1TyzQtMuQNm5jsvb0eXSLqjpaC zzoFbFeHvCFTJJlY4dVhFBQorAtR3BOaRpGp7W3t/B345euWTnUKaX0IuqACZGSl9/dY Wn6wQanxMtN/lksFRzR2QiscuSmuxaLf+47+hD8z5G0tBQIo6Uhxd5xQoGDt84bFaHI2 6ZnDXz0NmWqPhD48q64Yyyvxv16uaqMkRPbzQ0ffncfOncOZ2qNblzqnM+ssviHHWQhT ezcQ== X-Forwarded-Encrypted: i=1; AJvYcCX2e+o/Pwh2VSVu6jWcoWPhJY8Ir1K38Zt9F3tZvcW7PQF3BE6tvZPs+8HyZJCjuQnBi9XzZiFfLmXfCe9oJ7ztT8S7hA2zqkK5a8H31CfJcuT/7EA= X-Gm-Message-State: AOJu0YwkDvEeVXDqcoJPmBvr88YXym/J2fJwpIp9AzykRNqhDEDZl8+B BvUkKLK3ESYYo6MQWsjSmzN3ebb9W2SxSzGnBdvYEPPenKgHHwI5UiqPIF9UC0hhKXVWtzdtygc 7 X-Google-Smtp-Source: AGHT+IGXg5I00ytK4b1k0hPS2EZIeSRWy/K14ck3db1WCJDBJQ/eqPd+cm7XflCOTeslEXOmUhInbA== X-Received: by 2002:a05:6122:30ab:b0:4c7:5fee:f525 with SMTP id cd43-20020a05612230ab00b004c75feef525mr6341546vkb.13.1709753994992; Wed, 06 Mar 2024 11:39:54 -0800 (PST) Received: from ishi ([185.243.57.249]) by smtp.gmail.com with ESMTPSA id d20-20020a056122033400b004d347f2551asm1500370vko.40.2024.03.06.11.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 11:39:54 -0800 (PST) Date: Wed, 6 Mar 2024 14:39:52 -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 07/11] counter: stm32-timer-cnt: add checks on quadrature encoder capability Message-ID: References: <20240227173803.53906-1-fabrice.gasnier@foss.st.com> <20240227173803.53906-8-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 In-Reply-To: <20240227173803.53906-8-fabrice.gasnier@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_113957_294393_973EA6CA X-CRM114-Status: GOOD ( 14.40 ) 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="===============2714445944891753588==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2714445944891753588== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="O7snGDCakkkZmDqH" Content-Disposition: inline --O7snGDCakkkZmDqH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 06:37:59PM +0100, Fabrice Gasnier wrote: > This is a precursor patch to support capture channels on all possible > channels and stm32 timer types. Original driver was intended to be used > only as quadrature encoder and simple counter on internal clock. >=20 > So, add a check on encoder capability, so the driver may be probed for > timer instances without encoder feature. This way, all timers may be used > as simple counter on internal clock, starting from here. >=20 > Encoder capability is retrieved by using the timer index (originally in > stm32-timer-trigger driver and dt-bindings). The need to keep backward > compatibility with existing device tree lead to parse aside trigger node. >=20 > Signed-off-by: Fabrice Gasnier Reviewed-by: William Breathitt Gray --O7snGDCakkkZmDqH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSNN83d4NIlKPjon7a1SFbKvhIjKwUCZejGiAAKCRC1SFbKvhIj K5KbAP9fffVz3i5+FStoFd1EjIyVXWU6OcHNjQXPePsUhuk1WQEAoZG/LUlGu/3W 4MPtiZAoi8G7OzYxEFU0+n2pwYQl1As= =Pqa6 -----END PGP SIGNATURE----- --O7snGDCakkkZmDqH-- --===============2714445944891753588== 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 --===============2714445944891753588==--