Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp936411pxp; Wed, 16 Mar 2022 21:54:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7fN3g5T8HZEcykGGYRF3xTvLplJBCaQ6t/NhMVLRGaRE3Fj4T8ZZ1rfAV1Di8P9AWTNKI X-Received: by 2002:a65:6143:0:b0:381:ef8a:2b5d with SMTP id o3-20020a656143000000b00381ef8a2b5dmr2320019pgv.292.1647492895739; Wed, 16 Mar 2022 21:54:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647492895; cv=none; d=google.com; s=arc-20160816; b=q+EmDX+QP0Tt2nN+Pcbv6EPsv76kT8/A5ZPhrDSr6/ukn08e8AjUnji8N3ZOYwFfYI l8tEGD1+MmFnVYpd6HObjo9zHchAHLwqsmOtUiBK9L0SLhnERPCs3kU7vnWuCmclQKZw 8nefXgR88kKqXVPl7gBEeiDeOcDbDB+xk/RQIZeW++vgCyQGQEXC3lnljvkKLDEkIokU V7OHndlW9rdNTNtCCwy4QzlJpDy0RN6IDwgFSZgn/vrgNf9x5Se1SVbVvB41Ur9p0CMe 2pw+R6j3cLm6z8/dRKqGhaZ7O+sIG3xekFhDTgmWS4TnT50Cz/R7bUGAGW8x03BGRxO1 NjRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Y4cddUoqVFpLUfMwb7praucCiytxMvdK4hfW8oMVM3k=; b=in1G1jRIwMf7upsKhNZV/ZDhgn95tHuTw2Gg6XGXj2ZJsH5VQXZoYPrnrCUTUfj0wP YaXdckbCxNbGSDr6nkB2DsML5Rxw7m5bsBKgXJlLc6Mam3d6tK2NQTMuPgWv5e2ncYQH f1IbU1Eey4Wtoj0VAG9JaGXHXbrjw/y8jVNioIsp+630Eoh8/y5HY63lYVJKfBhShXSw 9ug8cJMxCBGSSwfPCkBKmzQywBqHBzcHwcFlsZO4VDCNbFMnH8wSUqfVHeC71vTxYEGN COfoPfTW6G5NA5e1UIaow6MO3gEVepBYX/J9Ucrv6rhcWRrr7zFhqMeeGA/DDYtwBWNq e/5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UdqtnIwK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p10-20020a170902bd0a00b0014f8706592csi3305515pls.0.2022.03.16.21.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 21:54:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UdqtnIwK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BC995B1AAA; Wed, 16 Mar 2022 21:12:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349120AbiCOTkS (ORCPT + 99 others); Tue, 15 Mar 2022 15:40:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239130AbiCOTkR (ORCPT ); Tue, 15 Mar 2022 15:40:17 -0400 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D51D26AC8; Tue, 15 Mar 2022 12:39:05 -0700 (PDT) Received: by mail-qv1-xf33.google.com with SMTP id eq14so321906qvb.3; Tue, 15 Mar 2022 12:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y4cddUoqVFpLUfMwb7praucCiytxMvdK4hfW8oMVM3k=; b=UdqtnIwKYE/RQUNi8xbISZLY68ugVrZDbBmSG46wN1Qh4dFxCjW1nc+T+V98qOLHMY Dj9Z0wSO09unlVnMQJPyOwFrsdLC6kek38k6lZBjwr5dCk/1g/LQtaYy1VMLUxSCRQYO MkFwfSwivnsczJLjF9pqqVtBF6fhOvzv+a78Jj0IJ2kdFnAOHFrVa/FGeVSNmAvdIeMw 1tMUyfPMBZgBgPHdbjDtz2UCL5bWgjNweIid3whE7xu8vt353yFaToeqspW4lFNqcanI AEjVJRyIMj/6jSfWc4xPJwdT/dYkULXwIYEQSm816gbn8iiAWZJjry77sL+O+h72DDBv wgqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y4cddUoqVFpLUfMwb7praucCiytxMvdK4hfW8oMVM3k=; b=Tg3v4NlvsvFY7YoR7VBul9HLoJvBur6OQUpt/mdx2DsV882D+ajRnH+GnD3c0/NQIT btrW4uBbnVgJGJW3hhbKFRS9ssF5C5G9RsaHpSAlRW+vG5mBvB/byKWEZFLIrDvZQxIS SmPKK7FWAjn2aprGIIFhPsvLOllxVlXM9iuRCK0FW6d2Ce9iFnDtd3LliRVfkWoKYS4m m1RyXq5ljuA/MOEbpCQpyznr0imc9Sr/dhnGV9QeDLNBBx1gZlQcF75kkaYGilLk5vao Kxu/S1EzR9VJNUYeWb3d0ZD2tHmm3Qv9MtWUrrt2+J/+SQaHiRrE2XG7d5UvSrxnsgqq 9Neg== X-Gm-Message-State: AOAM532cvPEmGdFoobc6cZg2aoqW6934NSfLIGO1iXURDqWTqsfeVjgV SZcIEc4aUZYrrrUJBXBZ1X4= X-Received: by 2002:ad4:5aa1:0:b0:435:9404:bff5 with SMTP id u1-20020ad45aa1000000b004359404bff5mr22446368qvg.126.1647373144338; Tue, 15 Mar 2022 12:39:04 -0700 (PDT) Received: from ishi.. (072-189-064-222.res.spectrum.com. [72.189.64.222]) by smtp.gmail.com with ESMTPSA id o4-20020a05620a22c400b0067e02a697e0sm1440798qki.33.2022.03.15.12.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Mar 2022 12:39:03 -0700 (PDT) From: William Breathitt Gray To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, William Breathitt Gray Subject: [RESEND PATCH 0/6] Counter updates, cleanups, and features for 5.18 Date: Tue, 15 Mar 2022 15:38:51 -0400 Message-Id: X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 First set of new Counter updates, cleanups, and features for 5.18 Only a few changes this cycle, but we do see the addition of a new COUNTER_EVENT_CHANGE_OF_STATE event type that allows userspace to watch counter pulses. Features * Add new COUNTER_EVENT_CHANGE_OF_STATE. This adds new counter event to notify user space about every new counter pulse. The interrupt-cnt driver is the first to use this new feature. Cleanups - Add Counter subsystem git tree to MAINTAINERS file. - Set counter device name. This provides a convenient way to identify the counter device in devres_log events and similar situations. - Add defaults to switch-statements. This pacifies warning messages from Clang static analysis reports. Driver Updates * 104-quad-8 - Add COMPILE_TEST depends * interrupt-cnt - Add counter_push_event() Oleksij Rempel (2): counter: add new COUNTER_EVENT_CHANGE_OF_STATE counter: interrupt-cnt: add counter_push_event() Tom Rix (1): counter: add defaults to switch-statements William Breathitt Gray (3): counter: 104-quad-8: Add COMPILE_TEST depends counter: Set counter device name MAINTAINERS: Add Counter subsystem git tree MAINTAINERS | 1 + drivers/counter/Kconfig | 2 +- drivers/counter/counter-chrdev.c | 4 ++++ drivers/counter/counter-core.c | 12 +++++++++++- drivers/counter/interrupt-cnt.c | 7 +++++-- include/uapi/linux/counter.h | 2 ++ 6 files changed, 24 insertions(+), 4 deletions(-) base-commit: 7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3 -- 2.35.1