Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp571176rwd; Sat, 20 May 2023 02:55:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7G4xzHJpD4ywnXmukjTUHbZL/iHjEYj8xi2O+fckxyFiVecKHCwxwMGdlcH4dIsRZNS+9V X-Received: by 2002:a17:902:c94a:b0:1a5:22a:165c with SMTP id i10-20020a170902c94a00b001a5022a165cmr7023183pla.0.1684576554019; Sat, 20 May 2023 02:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684576554; cv=none; d=google.com; s=arc-20160816; b=pcnShgxnhxhO/nP0RPW/uhS5ETk5QZDSnA7PcgtZI95FChMVIKsQvxNAyxNOzeFAlg vMiDi2KxKvvXWMGrGO5Gmwi3sCg0x/dJwjAKk2FSverrXT0mj12gCFpdforM+1NWE/Hv 0OO7NJVpmaSiPNAalTFSWNzmINVzfa88UeBh4SRSqy5AYhZN7xJ38Vg6Qax06tQUgdeY 3TWT+mmagpJOT7WJoDjfXPNIxkABU2gmOVXohRm0eZnb/opTx7PVKONlDdUnwjwexsYP RXgCrThZSFF85lkG80VZ7qKlnXDtewTDwnXisG6CSpbd6toZEbhAlFbRUejaD79juMDy ManQ== 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-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=zQMSHkWdMUS6aRonpJPAI+Vh8iiNBGTBPUCX6Awo9MM=; b=rX7raxFf3WhFrn74DLeoLhZuT/imEWzqJm0WDjXRDdNWSLkoeTXfZgp269rCcGmKIK 0ODWMcaUUQbdomRakH5ToDLPFOUuj7uqwwQ+Gm/yKZS3ezuLNGFML/D+N4j9pxPgZLnA hX/y2BxibxE4KPkPtJthQxWuT19+d5Q1KFW/qDElqHoa+hrfKWYUXepM4YVNuiOvwA3S /E8bACRJ39y+O1u8bs6BbrjvVuqicyZ1AE4OIXULi+qj2Lw+tcKrzVrA6rUEe3QMZIg5 vvIY1OA3S+SvhuLdJm4tN/I1VVsVZoRwT8ECjyfJUsL/ZcdVpKZmg9bBngyfywu4wo0p jt4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a170902d39500b001ac84f55591si1151427pld.293.2023.05.20.02.55.42; Sat, 20 May 2023 02:55:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231417AbjETJyA (ORCPT + 99 others); Sat, 20 May 2023 05:54:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230200AbjETJx5 (ORCPT ); Sat, 20 May 2023 05:53:57 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4761E56 for ; Sat, 20 May 2023 02:53:54 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id 397b899a-f6f4-11ed-a9de-005056bdf889; Sat, 20 May 2023 12:53:51 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 20 May 2023 12:53:51 +0300 To: William Breathitt Gray Cc: Linus Walleij , Bartosz Golaszewski , Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH 0/3] Add Intel 8254 Counter support Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_SOFTFAIL,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 Sun, Apr 16, 2023 at 01:36:52PM -0400, William Breathitt Gray kirjoitti: > The Intel 8254 PIT first appeared in the early 1980s and was used > initially in IBM PC compatibles. The popularity of the original Intel > 825x family of chips led to many subsequent variants and clones of the > interface in various chips and integrated circuits. Although still > popular, interfaces compatible with the Intel 8254 PIT are nowdays > typically found embedded in larger VLSI processing chips and FPGA > components rather than as discrete ICs. > > This patch series introduces a library to provide support for interfaces > compatible with the venerable Intel 8254 Programmable Interval Timer > (PIT). Modules wanting access to the i8254 library should select the > newly introduced CONFIG_I8254 Kconfig option, and import the I8254 > symbol namespace. > > Support for the i8254 is added in respective follow-up patches for the > 104-dio-48e driver and stx104 driver whose devices feature i8254 > compatible interfaces. Several additional dependencies are necessary for > the 104-dio-48e [0][1][2] and stx104 [3][4]. > > Due to the dependency requirements, I can take the i8254 introduction > patch through the Counter tree and provide an immutable branch that can > be merged to the GPIO and IIO trees; the 104-dio-48e patch and stx104 > patch could then be picked up separately by the respective subsystem > maintainers. Good job! What I'm wondering is that. Can x86 core and others which are using that chip utilize (some of) the functions from the library? > [0] https://lore.kernel.org/all/05a878d340251b781387db4b6490f288e41a651c.1680543810.git.william.gray@linaro.org/ > [1] https://lore.kernel.org/all/20230208105542.9459-1-william.gray@linaro.org/ > [2] https://lore.kernel.org/all/cover.1679323449.git.william.gray@linaro.org/ > [3] https://lore.kernel.org/all/20230318185503.341914-1-william.gray@linaro.org/ > [4] https://lore.kernel.org/all/cover.1680790580.git.william.gray@linaro.org/ -- With Best Regards, Andy Shevchenko