Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9969455rwp; Thu, 20 Jul 2023 12:28:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlEdlBXz6VcJu5M2pTDcfLldIA9e87g6bimbUXkw6xg4lJmgJBG+cBdjuAcmJMcuDsryX2xH X-Received: by 2002:a05:6a21:6811:b0:12c:e745:78b3 with SMTP id wr17-20020a056a21681100b0012ce74578b3mr237954pzb.62.1689881294607; Thu, 20 Jul 2023 12:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689881294; cv=none; d=google.com; s=arc-20160816; b=xsL8rkwmkUP9h+M75Hdj5APGQK2z8LmNl6r7+1Wfvs9Cl8Zt8FuDwcKrUz4Zz9ptil XRaAMKlRW34Vblh+JhqZqJVuM8rjRCXh2rwty0BlMXYElEW4Aa4bPhM1AdR0+Xd+ddqj +/ouUSpQjK70I55ziXU8wmKIcEo245ewdOltLrPpcqSpW7kUe8SHJUkSSrIlK9QWqMmh ZfSJwLJRdKQnThJN59e7VrRuI6yGpgby0jih7Z989dMti/Cz87VB2oRy9pogKKpfTBbN I9eX2rCof5OtWsMs2K+gmRVYM5T0nXM9EIfG+1ySRKGhTlRkY3y4Fvx57QiVuCS1Zzaj EyXg== 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=A6XfvdHY9gNi/Uu7IhnorruW0FyEO0Ku4CqZNScjR64=; fh=OfV96Ka3UB2KRdIpCi9zWDqehQH0YYn9NBcCIXgAlDQ=; b=SHWd54CxUDo9+grr9aLbRbB9to9rr/eLOaxEvYDbtjB3YaXhqVzkvdEaJIfG3rFAJ5 6qJpFf98gOMJ3pdOAIoLSN16rTjZ0S95InFyjRnGdjPYxAZTTUI3B4aviMvyni5yAW0C c75cxNFi2Y+VajGnCq7SdFBF0aAHbUs3IFKh8rPkAZ5XRZGACFeHtRzvau7MShyifHUJ qG/SQbhwdCYyZmeEKWMk6/ih33ksr82F8avx5CTmLqvSDNePeVZO+NVliA+nmohm0/MZ N2m2olezLkdDxx4MGWHZmKATfr7Q1gFj8OcKJlULswOk0hLaxD7LAZgerDTpDuL1ge4G vLHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sCSCkSpp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u124-20020a637982000000b005638179ced6si134108pgc.901.2023.07.20.12.28.02; Thu, 20 Jul 2023 12:28:14 -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; dkim=pass header.i=@linaro.org header.s=google header.b=sCSCkSpp; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbjGTSuC (ORCPT + 99 others); Thu, 20 Jul 2023 14:50:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbjGTSuB (ORCPT ); Thu, 20 Jul 2023 14:50:01 -0400 Received: from mail-vk1-xa30.google.com (mail-vk1-xa30.google.com [IPv6:2607:f8b0:4864:20::a30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFA3AE4C for ; Thu, 20 Jul 2023 11:49:59 -0700 (PDT) Received: by mail-vk1-xa30.google.com with SMTP id 71dfb90a1353d-4813bc037eeso519595e0c.1 for ; Thu, 20 Jul 2023 11:49:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689878999; x=1690483799; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=A6XfvdHY9gNi/Uu7IhnorruW0FyEO0Ku4CqZNScjR64=; b=sCSCkSppg3ENYqk0iHc3Cj82UbMlQfniH3E6jeIUP1xhmA3KjIJHhehiAtfqi9Jr1R CwkBmkI5eSYsCoYqMN3DmyAUg67w9DovMExgDHLFIn693HxRbz35DO+g/MbVOSOetVRt As6/FCxqmc9QWKQ9Hlc29xLgHHIwpalk5QLc+ueXNSKCo4pa8rVgppMEzMbAhJrd6V0y IidGHVDuQuF7GLG6VnOFyIUxoOOhYS2dvYboyz9gnKB6TqrH+VBctmtjuQo92qcYumZe IdJ1bQ0ek9tRYkPW67a1iH9c/rNOLXv4iBSFL+gpJbknxZqkRRl0CY/BPOt1/UwXQ3wm lXUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689878999; x=1690483799; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=A6XfvdHY9gNi/Uu7IhnorruW0FyEO0Ku4CqZNScjR64=; b=YvSWforZlBv5XYfeMU71G2FS7UMpZDBFTzAmaFV77ja9pv4Aw1AGlabpg8GOfbMv7j pTsD7h+EdI0kyjXW0kbWn6jSqD8WpzeDij40BiqCdttKTv/ImQdWbcvWQU1625ouOMGz s5pPHf7zPps+YKlzP70SUEAqZMy1he5cYb8ZKZFHAftoxrD4DvGgYtPBY1G4+xLxclG0 6YjRS2AJn7barjxYE/g+P3Cp7UApVM8ipnZiQI1Qe3PDrNkg/3Ay3EvhM69V4Cah0VUn CXBdPYMramdG7dGUvKB690BcWgyy2uuXYBKualqlYJBMEocnmRcNpoVcnG+7PoUqXMYa 7r2Q== X-Gm-Message-State: ABy/qLY+WijnOX22mT4phqNqT3ho/OUTwuIMKvojtwsl5gVpyJiT01Eu yQqJj+gz4ebx1kEl6Wbhq5UCAw== X-Received: by 2002:a1f:ed81:0:b0:481:719a:23f6 with SMTP id l123-20020a1fed81000000b00481719a23f6mr3856382vkh.14.1689878998936; Thu, 20 Jul 2023 11:49:58 -0700 (PDT) Received: from localhost.localdomain (072-189-067-006.res.spectrum.com. [72.189.67.6]) by smtp.gmail.com with ESMTPSA id h7-20020a0561220b6700b0047dbd48bc44sm238059vkf.17.2023.07.20.11.49.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jul 2023 11:49:58 -0700 (PDT) From: William Breathitt Gray To: Bartosz Golaszewski , Linus Walleij Cc: Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, William Breathitt Gray Subject: [RESEND PATCH 0/2] Add Intel 8254 Counter support Date: Thu, 20 Jul 2023 14:49:42 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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. A library providing support for interfaces compatible with the venerable Intel 8254 Programmable Interval Timer (PIT) was merged in commit d428487471ba ("counter: i8254: Introduce the Intel 8254 interface library module"). Now that the necessary dependencies have been merged, this patchset adds support for the i8254 in two respective follow-up patches for the 104-dio-48e driver and stx104 driver whose devices feature i8254 compatible interfaces. The two patches are independent and may be taken each separately in their respective subsystem tree. William Breathitt Gray (2): gpio: 104-dio-48e: Add Counter/Timer support iio: addac: stx104: Add 8254 Counter/Timer support drivers/gpio/Kconfig | 1 + drivers/gpio/gpio-104-dio-48e.c | 127 ++++++++++++++++++++++++++++---- drivers/iio/addac/Kconfig | 1 + drivers/iio/addac/stx104.c | 61 ++++++++++++++- 4 files changed, 172 insertions(+), 18 deletions(-) -- 2.41.0