Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2205420rdb; Thu, 21 Sep 2023 11:24:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEiiN9R67B/hngcqHM0RXB4LiJcqf8TH5Of79OuPAU9cmkseI9d5HmbkVN5Zk567HNe2rwl X-Received: by 2002:a05:6a00:15cf:b0:690:c701:e0ed with SMTP id o15-20020a056a0015cf00b00690c701e0edmr6937158pfu.0.1695320690652; Thu, 21 Sep 2023 11:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695320690; cv=none; d=google.com; s=arc-20160816; b=v+SKqspLeVLgDd2+Tw8XczCqYUQyll/+C/6E+sns03GtYn8+Jp5aXGGLVrcdKO6FX8 5zJc/Roobp+0HfHEpjun7gJTpcR5jtUkNPTysNvDTu/1ifKjsrw5ixlPsQT/CN+gkbyQ 3EG/ysL7KaGFBIfY196i2FpwmOQA5pZOwXTCvqg8IkYPpsYU2aQc4BXSJdoF75jX5x4M DHkn8njywxmbwRso9NY+4yjkDQ7igp6FLpTzT1MS7IFYRiR6JCaXLc/8vMKlAjp4oTUv M1xQNnahIEd2Aoa5GQRPlTuzhMhunHQHjY+Qn+iJD/qc9nPDOOITa2tB1Wzpckv1ALht PWVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8xoPFR85k5CJKIoTbWd4J5nx1tCy60DMzoQsYHjbFuQ=; fh=dhbzXx3PSdl5lnoHDhmvBM9j9DjZOy7dGcrwwEUz4IM=; b=D2F/2KAEVpcYS6yR3iVOck9P2ZMn3iq2uhF3ol0oJw7Zj8EMJH8uSVwdtzzbaIhPQB rR+1A71NWe2zKuYOZA3EP8vW9aIczzwWNudc0lXOeHrFMre1eW/BS3XMfAQvUNfkTUZQ CnNrrLH9o+Gchu+uM4TrR6+YB8qF7G5yAwhm/mbWhBDGpnuvLubibVHa4z6+OHHbRgRc b0iZmpWWfnkScq26xhKriioKj2k1v7I1/YLXZCyrerSn1NpXRS5JkWBcc3I2HIh8wDOV gs4VA9EXDJGpPnsvlFbz3+ABnK4VB4fC9o0e9+ElfiqZ1dmTFC+uclf+jSvj3FHLHgbi lFBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rg6s3O4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id e10-20020a056a001a8a00b0068fbbef790bsi2095905pfv.297.2023.09.21.11.24.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 11:24:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rg6s3O4o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 77E8E8025AF1; Thu, 21 Sep 2023 11:13:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbjIUSNH (ORCPT + 99 others); Thu, 21 Sep 2023 14:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230472AbjIUSM0 (ORCPT ); Thu, 21 Sep 2023 14:12:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12F7F85D04; Thu, 21 Sep 2023 10:37:46 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 558CBC4AF7E; Thu, 21 Sep 2023 11:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695297096; bh=pNpu7kAjTQG7cwg+rw2cpVUro1wPNljZtedLZJWJg00=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rg6s3O4ob+dBxj+11wlsPemZwDZOC9UcNhtZNwkYJMSzN37C0M3fSHXBdHaOPrqLZ jwWPZTieql3Zdl2it5z7aIl8RV1S8NPgg7kZpCWb7aKyDRnlVdQ0ao/FGnXBPwjati lyIEpb4tkOg8oJl01GhR9CB7VS+/uUiRS5GRDRbyEyQSz/CH3EL0gBeFNUzRc2u8W8 yYD5XYZULCCGgHy5MBAZRTDH8Lxe81RLH1AGHZ8mcG0+cdYseQpLvHJ7uxq5vCYQoU BQ+8ur0SWKTOMvpaiAtO4FE5HvY7EW6ZVx8845h+GxHHuay3an0kWaOdVWCfQ3r9f2 /zsy6eAUx5GQQ== Date: Thu, 21 Sep 2023 12:51:32 +0100 From: Lee Jones To: Fabrice Gasnier Cc: william.gray@linaro.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 8/8] counter: stm32-timer-cnt: add support for events Message-ID: <20230921115132.GH3449785@google.com> References: <20230829134029.2402868-1-fabrice.gasnier@foss.st.com> <20230829134029.2402868-9-fabrice.gasnier@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230829134029.2402868-9-fabrice.gasnier@foss.st.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 21 Sep 2023 11:13:11 -0700 (PDT) On Tue, 29 Aug 2023, Fabrice Gasnier wrote: > Add support for capture and overflow events. Also add the related > validation and configuration. Captured counter value can be retrieved > through CCRx register. Register and enable interrupts to push events. > > Signed-off-by: Fabrice Gasnier > --- > drivers/counter/stm32-timer-cnt.c | 279 +++++++++++++++++++++++++++++- > include/linux/mfd/stm32-timers.h | 15 ++ Acked-by: Lee Jones > 2 files changed, 285 insertions(+), 9 deletions(-) -- Lee Jones [李琼斯]