From patchwork Sun Jan 8 07:47:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13092446 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2291DC53210 for ; Sun, 8 Jan 2023 07:48:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230254AbjAHHsB (ORCPT ); Sun, 8 Jan 2023 02:48:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjAHHsB (ORCPT ); Sun, 8 Jan 2023 02:48:01 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34E7E23 for ; Sat, 7 Jan 2023 23:47:58 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id jl4so6232622plb.8 for ; Sat, 07 Jan 2023 23:47:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=OLIuSrH7T7GNTZZeCz121fx1nKLe2TVzPHSMX86JIjM=; b=lg9HrZgOtyuix6GXSvWITrX65mxIaFHQcqBAgwKueRWFCKunkGLmbmbzmSb95BBH7n CzW1VdRZ5TYMjrJQSWxrQ0xowbEw5HFBbqfnaQ9Urg7b9Zi4P/eSvOd4G6BIMs4/hdmv qRPdnMQveLNk97F/T3ULNCB6zjsS6BqpmGDCHsHKN1Lpv4HzofLjG1+uzKOCxicj9YzY oOY9tjINhpIFNErEjeg5BH3oj3SNM5teE4ho5RUFYzCUQWpNZv0vzBGlLkBLc2e1eZfx U0Nz4vtGXQtYEYDT/VJP1eSv4kDlG8Jmb5HJ5ejPJVPLrij8rg0QLzhPhQNj+b9pp7cL jg+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=OLIuSrH7T7GNTZZeCz121fx1nKLe2TVzPHSMX86JIjM=; b=VOMhN/Hg+RCq3wWbE9LadqXCB+jsAOOcO7ZX865bjKzqcXF75B6QWY9HRvoejjmeZ5 ce9XSZpi/IWXWbSdd61PPV23YXknwXqrz5QSfaA7q4QDGvJ48MnbS1OR/BBymF0G94HW NsfzI/0p7JZaXJLZ5ThOJkqdt+C77bKhZDCYGiyUgOewrfwiib6jwJ1OwtMeoZZlktAD NJe+fWnl5PuKE2YXwXqQP2VdqftCaBqGniNJOAM5ZFgyHtoxBDKbFxrEL7uuh4aMGdQk emWTZSOdKSR5TCDuIUro/yoANksIIo+aMKqSrieT/NzFf88qtTHN53HVYGMbVqFXTzXa Pb8A== X-Gm-Message-State: AFqh2kqHj9l/8SHLPDvdD9n8/D8VIeLBAp4WB6FN+KBWQz2jf4UWVVXn 7wHFjkbRVo0+f5QWMGkBHig= X-Google-Smtp-Source: AMrXdXspqLkUPK8EJWTtEdyO3o0Unam+fCbASFF8id95tnqvxbTGqvoCb9kTiacYcJj9ZYEMOfs5Gw== X-Received: by 2002:a05:6a20:a5a7:b0:b5:c352:1fc8 with SMTP id bc39-20020a056a20a5a700b000b5c3521fc8mr857291pzb.15.1673164078260; Sat, 07 Jan 2023 23:47:58 -0800 (PST) Received: from morpheus.lan (106-69-189-37.dyn.iinet.net.au. [106.69.189.37]) by smtp.googlemail.com with ESMTPSA id h5-20020a170902680500b00189348ab156sm3672212plk.283.2023.01.07.23.47.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 23:47:57 -0800 (PST) From: Peter Robinson To: William Breathitt Gray , linux-iio@vger.kernel.org Cc: Peter Robinson Subject: [PATCH 1/4] counter: Sort the Kconfig entries alphabetically Date: Sun, 8 Jan 2023 07:47:47 +0000 Message-Id: <20230108074750.443705-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Sort the Kconfig menu alphabetically to make it easier to read as the list grows larger. Signed-off-by: Peter Robinson --- drivers/counter/Kconfig | 88 ++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index d388bf26f4dc..508d857808e9 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -29,6 +29,26 @@ config 104_QUAD_8 array module parameter. The interrupt line numbers for the devices may be configured via the irq array module parameter. +config FTM_QUADDEC + tristate "Flex Timer Module Quadrature decoder driver" + depends on HAS_IOMEM && OF + help + Select this option to enable the Flex Timer Quadrature decoder + driver. + + To compile this driver as a module, choose M here: the + module will be called ftm-quaddec. + +config INTEL_QEP + tristate "Intel Quadrature Encoder Peripheral driver" + depends on PCI + help + Select this option to enable the Intel Quadrature Encoder Peripheral + driver. + + To compile this driver as a module, choose M here: the module + will be called intel-qep. + config INTERRUPT_CNT tristate "Interrupt counter driver" depends on GPIOLIB @@ -39,15 +59,16 @@ config INTERRUPT_CNT To compile this driver as a module, choose M here: the module will be called interrupt-cnt. -config STM32_TIMER_CNT - tristate "STM32 Timer encoder counter driver" - depends on MFD_STM32_TIMERS || COMPILE_TEST +config MICROCHIP_TCB_CAPTURE + tristate "Microchip Timer Counter Capture driver" + depends on HAS_IOMEM && OF + select REGMAP_MMIO help - Select this option to enable STM32 Timer quadrature encoder - and counter driver. + Select this option to enable the Microchip Timer Counter Block + capture driver. To compile this driver as a module, choose M here: the - module will be called stm32-timer-cnt. + module will be called microchip-tcb-capture. config STM32_LPTIMER_CNT tristate "STM32 LP Timer encoder counter driver" @@ -59,47 +80,15 @@ config STM32_LPTIMER_CNT To compile this driver as a module, choose M here: the module will be called stm32-lptimer-cnt. -config TI_EQEP - tristate "TI eQEP counter driver" - depends on (SOC_AM33XX || COMPILE_TEST) - select REGMAP_MMIO - help - Select this option to enable the Texas Instruments Enhanced Quadrature - Encoder Pulse (eQEP) counter driver. - - To compile this driver as a module, choose M here: the module will be - called ti-eqep. - -config FTM_QUADDEC - tristate "Flex Timer Module Quadrature decoder driver" - depends on HAS_IOMEM && OF - help - Select this option to enable the Flex Timer Quadrature decoder - driver. - - To compile this driver as a module, choose M here: the - module will be called ftm-quaddec. - -config MICROCHIP_TCB_CAPTURE - tristate "Microchip Timer Counter Capture driver" - depends on HAS_IOMEM && OF - select REGMAP_MMIO +config STM32_TIMER_CNT + tristate "STM32 Timer encoder counter driver" + depends on MFD_STM32_TIMERS || COMPILE_TEST help - Select this option to enable the Microchip Timer Counter Block - capture driver. + Select this option to enable STM32 Timer quadrature encoder + and counter driver. To compile this driver as a module, choose M here: the - module will be called microchip-tcb-capture. - -config INTEL_QEP - tristate "Intel Quadrature Encoder Peripheral driver" - depends on PCI - help - Select this option to enable the Intel Quadrature Encoder Peripheral - driver. - - To compile this driver as a module, choose M here: the module - will be called intel-qep. + module will be called stm32-timer-cnt. config TI_ECAP_CAPTURE tristate "TI eCAP capture driver" @@ -116,4 +105,15 @@ config TI_ECAP_CAPTURE To compile this driver as a module, choose M here: the module will be called ti-ecap-capture. +config TI_EQEP + tristate "TI eQEP counter driver" + depends on (SOC_AM33XX || COMPILE_TEST) + select REGMAP_MMIO + help + Select this option to enable the Texas Instruments Enhanced Quadrature + Encoder Pulse (eQEP) counter driver. + + To compile this driver as a module, choose M here: the module will be + called ti-eqep. + endif # COUNTER From patchwork Sun Jan 8 07:47:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13092447 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21147C54EBE for ; Sun, 8 Jan 2023 07:48:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230435AbjAHHsD (ORCPT ); Sun, 8 Jan 2023 02:48:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjAHHsC (ORCPT ); Sun, 8 Jan 2023 02:48:02 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86FF7E23 for ; Sat, 7 Jan 2023 23:48:01 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id d3so6223104plr.10 for ; Sat, 07 Jan 2023 23:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DfZB2DF2HuhLEqSWwQJSiuUccC91huEpYPuVlI5VTIs=; b=JOvq0ZSpcE2cvSuaUwUdLcIJNgVX+S1KYgF5rynImmz0P93/1WZU0wccqgNVqadpVo azZTySpwyBOkGcCB+skVRaVcV1zL/IVRmMV90x5KbInPo7RwIKYSSWoPz8uSIqde4GsY m05ntoCqbYdlwkZPBKiYmuAIIdaRVaTTTFxl+EnenMEVNvsaO19urcSlrHk7hA7Ew4za JPRngVO+04KgZqNe57taYEfyR4xMJC2f6pMekck189rVqP050gaR58TD106Y9IuDhl7V gAOL1ztjxkFSCqW+uUwlHG7mlmGZtZH6gd/8nw3OK8uecYb798sYOB2wuS0HJbsFq182 /FPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DfZB2DF2HuhLEqSWwQJSiuUccC91huEpYPuVlI5VTIs=; b=AJ95Rk1sY/juBPlo1cPUtDZUlQIwOvh56weKPN1MF3rJNISEqUnQmoMng+9qhvv+IY 5RQ1dmbuV39o60o0XHebCOIygDzCISmuU55SIt51+7+6JnM28HGpToe/Z6uZU/BaYa0S Rc1cyco+kf8WJzJfuBlFwziBVQ/NINLAoaUCQyPuD2wxx3d+vmv8U/TOc/XW8o7XI5Q2 8JHB8BG5GExyF//Q64mF5qBD39c9el0UShh6Ybd3iS4FctPJ+hS5Cfl+UxYoj1fEDweY NDDVk1dyHWuri5mfjL7jvWAEJylUhlAxG/UgOQwhc8lnSzZows7gKhzOvbkiL8qiW0p6 id9g== X-Gm-Message-State: AFqh2kqaHfaA3897DQgLJt/rUVJv9NAWwIv9TWTDPPt9vQzAmVcTuLSE UEGx7ZvlfodJ1alMLBtJGco= X-Google-Smtp-Source: AMrXdXvVFDxYS7X+nm1X62pwou6xvLlNRMe+C2vCiSf28D9rH4S3HYxgpApSywuGdX8ClMihcJ7RWg== X-Received: by 2002:a17:902:c189:b0:189:d0f7:dfbe with SMTP id d9-20020a170902c18900b00189d0f7dfbemr37521266pld.30.1673164081032; Sat, 07 Jan 2023 23:48:01 -0800 (PST) Received: from morpheus.lan (106-69-189-37.dyn.iinet.net.au. [106.69.189.37]) by smtp.googlemail.com with ESMTPSA id h5-20020a170902680500b00189348ab156sm3672212plk.283.2023.01.07.23.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 23:48:00 -0800 (PST) From: Peter Robinson To: William Breathitt Gray , linux-iio@vger.kernel.org Cc: Peter Robinson Subject: [PATCH 2/4] counter: intel: Depend on X86 Date: Sun, 8 Jan 2023 07:47:48 +0000 Message-Id: <20230108074750.443705-2-pbrobinson@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230108074750.443705-1-pbrobinson@gmail.com> References: <20230108074750.443705-1-pbrobinson@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Limite the Intel counter driver to X86, it doesn't make sense to build it for all arches if the couner subsystem is enabled. Signed-off-by: Peter Robinson --- drivers/counter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 508d857808e9..011e6af840fc 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -41,6 +41,7 @@ config FTM_QUADDEC config INTEL_QEP tristate "Intel Quadrature Encoder Peripheral driver" + depends on X86 depends on PCI help Select this option to enable the Intel Quadrature Encoder Peripheral From patchwork Sun Jan 8 07:47:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13092448 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CC79C54EBC for ; Sun, 8 Jan 2023 07:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbjAHHsF (ORCPT ); Sun, 8 Jan 2023 02:48:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbjAHHsE (ORCPT ); Sun, 8 Jan 2023 02:48:04 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B279D113 for ; Sat, 7 Jan 2023 23:48:04 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id w3so6254779ply.3 for ; Sat, 07 Jan 2023 23:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZhcXBzrn20649nc8IxPxwEjVK58PQr8EjRb8EUxvkFs=; b=WINLc0+hFYFWqHxePC9Sz9UGwHvLuCAVo7a4i5Pb21XvLPPqpWZYe8+ITyqDbrwfVf hDogTnfTz+DcAP4r+r4/9tN8nsYvDze6CPilqgfYXO9OmBP3rm9mZbQqaFUlCJcctiEj 1ADVzpcOGrC4Vjme8/yCU0XK5Jq+s8sToiSIn22Wh5r+/r8RV37SQ1Dc/lpq6rsHw0Il ENvoLni+0ra3VodaS7c2y8ZP9D+tncGkf+n3XH84FezX9UMbv7LRqiyVm4V6NjPG+ExZ laUHIea5pWsbEL7EC7ghQCpRxs55vclo4l2sQjmMgPogK8bYYPfn1pINNBeTFBLlpGbI c5rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZhcXBzrn20649nc8IxPxwEjVK58PQr8EjRb8EUxvkFs=; b=i5l7RBuE90kWnkELGuwhqZvq/anqtYU2UJnkuIhtVtRw3PNF9xRd5f7ezeo2y9iaV4 F+VnCB5lMWhQhvTgrNHwoCm7v5ZV5UXoYBvacKcdf3pWPGIeOiueBoyyezjgaGg/OerI OXCqM2RXsven9ePed/vsEKwv5QH5XwhbY5O/h0XZpLMWPOuZJgySnTtXTrC5bRgbHlqq FEpwfQR88OFlYk856oqG8P1pz5A7hUmiH4LUw36ep7+hCmYIiA5TVemEZXpcywTs9sG5 6CX52XubaZWZTSaZhAN8/FeXt+EcsB+e7dGHOEj8Pzr21o0moi67e+vodndD66sGd/rf lDNQ== X-Gm-Message-State: AFqh2kp/kllhp1h6O23O1tKet/RpoUX03y7G4xUgn/TIIbH4UGGqyMFH H8LPMz65RYe1r9thcA5iXis= X-Google-Smtp-Source: AMrXdXv8O8q3J69CWiL1PKG8XV77EHY4Rx/fcjw+qVK5k4LD0kfMwIAze8F0P08IJ/PhIqurz+tAQA== X-Received: by 2002:a17:902:8c89:b0:193:62a:80c8 with SMTP id t9-20020a1709028c8900b00193062a80c8mr9153694plo.45.1673164083759; Sat, 07 Jan 2023 23:48:03 -0800 (PST) Received: from morpheus.lan (106-69-189-37.dyn.iinet.net.au. [106.69.189.37]) by smtp.googlemail.com with ESMTPSA id h5-20020a170902680500b00189348ab156sm3672212plk.283.2023.01.07.23.48.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 23:48:03 -0800 (PST) From: Peter Robinson To: William Breathitt Gray , linux-iio@vger.kernel.org Cc: Peter Robinson Subject: [PATCH 3/4] counter: FTM quad: Depend on the Layerscape SoC Date: Sun, 8 Jan 2023 07:47:49 +0000 Message-Id: <20230108074750.443705-3-pbrobinson@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230108074750.443705-1-pbrobinson@gmail.com> References: <20230108074750.443705-1-pbrobinson@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org At the moment only the Freescale LS1021A is the only HW that supports this IP block so add an appropriate dependency and compile test. Signed-off-by: Peter Robinson --- drivers/counter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index 011e6af840fc..ef78386ccd2e 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -31,6 +31,7 @@ config 104_QUAD_8 config FTM_QUADDEC tristate "Flex Timer Module Quadrature decoder driver" + depends on SOC_LS1021A || COMPILE_TEST depends on HAS_IOMEM && OF help Select this option to enable the Flex Timer Quadrature decoder From patchwork Sun Jan 8 07:47:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 13092449 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C4BBC54EBC for ; Sun, 8 Jan 2023 07:48:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230165AbjAHHsI (ORCPT ); Sun, 8 Jan 2023 02:48:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbjAHHsH (ORCPT ); Sun, 8 Jan 2023 02:48:07 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8766D113 for ; Sat, 7 Jan 2023 23:48:06 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id c4so6249943plc.5 for ; Sat, 07 Jan 2023 23:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WmwbTz4RA59zmnnHe5FcsOF1iYy0DkCMIQNRas3zggE=; b=GV+ZrTFZWSy/7amzFxr+lD7l5oNfc1OL6R9WNBc4FXNfnn8gaqrpXqjB7aSnDOODM2 D0h7nSvKOwgiOlLT3YK8cQP/myoglQhCirnUrW1xYIiqIVOBd+47pI+Y6bV5hKLW5iOF r33lEmUivQyDoC02/QhI4t38xRgPOvrZp4CNKyVtok0GvLhfDKDpAXKx0etVFUW2BryD g0Rt7NHoGX6iMD3WByFiBFFCIQvopheTkqisGoLbnufHYUTuekR3XODDCNZs1+XQjNXG 2Enw73vBzXBu2oistbywv4aKvn02eZwYAK2cMcyrJLdtcViVBYLXi5yyUlat/kJR8OHv H+rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WmwbTz4RA59zmnnHe5FcsOF1iYy0DkCMIQNRas3zggE=; b=sl3x96/237BPdIY+Hf2p0vaeezKri38YBfIcgX8DXwn5DiljxhPFF3DuifnmLjHuFs 6i4EWDWZXl9HQa5vosYVdWPhd8VBsWIi37k/SreZDfN1u/EsnRZi1l2T0O0F/4V5ALTp OlPsjVDmDNF6tNx0HmGstDwHVaBJiKtMXz9C3gzYWyhtOjuxRva90WHRttJnecTx0DyB r1rwdz+IVKAPHuUKyb3ArZRW5O/ganK3LZiMiH0KIsRvrlA6WsqASgG1A1IoKjjqz+Xu a+hccliHj4eV5VC3RF7zR/e/3ZjaB27Ub3rvIB1ICUcSfs9H04YBbvux/NM9WpCAQud7 E99Q== X-Gm-Message-State: AFqh2koaa5LG11zUSnT3jWD2n4OmU/8u/t2F6GDuRwCX8tqAfnHxavxb UanIBfgedL9ARL0NPJsq5L0= X-Google-Smtp-Source: AMrXdXtEAPhuieht2VGPlAJaSFf2BPXhS0OU+yAz6DU2Tc6WBlkhA6Y7CRFgXW8Eeu1J/1TgKJ1LPA== X-Received: by 2002:a17:903:186:b0:188:d2b3:26c1 with SMTP id z6-20020a170903018600b00188d2b326c1mr81832206plg.10.1673164086443; Sat, 07 Jan 2023 23:48:06 -0800 (PST) Received: from morpheus.lan (106-69-189-37.dyn.iinet.net.au. [106.69.189.37]) by smtp.googlemail.com with ESMTPSA id h5-20020a170902680500b00189348ab156sm3672212plk.283.2023.01.07.23.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Jan 2023 23:48:05 -0800 (PST) From: Peter Robinson To: William Breathitt Gray , linux-iio@vger.kernel.org Cc: Peter Robinson Subject: [PATCH 4/4] counter: microchip: Add appropriate arch deps for TCP driver Date: Sun, 8 Jan 2023 07:47:50 +0000 Message-Id: <20230108074750.443705-4-pbrobinson@gmail.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230108074750.443705-1-pbrobinson@gmail.com> References: <20230108074750.443705-1-pbrobinson@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Add the CONFIG_SOC_AT91SAM9 and CONFIG_SOC_SAM_V7 deps for the Microchip SoCs that support this IP block/driver plus compile time testing. Signed-off-by: Peter Robinson --- drivers/counter/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index ef78386ccd2e..90602536fb13 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -63,6 +63,7 @@ config INTERRUPT_CNT config MICROCHIP_TCB_CAPTURE tristate "Microchip Timer Counter Capture driver" + depends on CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAM_V7 || COMPILE_TEST depends on HAS_IOMEM && OF select REGMAP_MMIO help