Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3275103rwb; Mon, 15 Aug 2022 23:00:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR6rYUYz/LloP9+p0mlrj1QvVXIQ2xeKQb+IS7P0u/8JMhEiLO7Pxjspn8zQpp6LGquKfoV+ X-Received: by 2002:a17:907:3d90:b0:730:a7d2:23f0 with SMTP id he16-20020a1709073d9000b00730a7d223f0mr12338224ejc.358.1660629617113; Mon, 15 Aug 2022 23:00:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660629617; cv=none; d=google.com; s=arc-20160816; b=Po7Iy8d782a/dNEO5oC9StOARvoeTGMfSQE4IKXLpT5d8DBCpJMl5+P+YoW5edyF1w HvB+lC9jQeuThA436+JWCS2+Xit9qcxqdPwM6nmzcXloCzhUL6nU34U425yOq2S/Q9l2 UH/U6UpVw8ePQB4nr63nzmr5ltikpw/iKJJLiQw11cfrrcRocHsmJ4c9iQ7sQwD6KRmd M5VDvDw9z6Ag/ia/wMTbAG9/UdIjccazCi9Bz4Ac5IqVpKLHRsMyMNzmIDy3qhDiUf/Z Bok2Z7ogrHErSrE0CCt5pgkJ4XH8+ilCOV0bYqTKW2SlGu/mx2yjg24ONykYmFTKMK0s J3XA== 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=Ac3JvCwAmKuPc3kldTLNS+yBvHZ3Bhe8L1hxK+NbPB0=; b=QM66/dxyiJ9nDJ4qkoqDgxb00eBOgiKtm4x9h0EhFSToyBDBEzKJ/y4G3ZTyQhS2ur 6S6aHZtBa56DWIbBleHlM32zo2e62Yi42Rnsm/D4QspkdCIPlx/MFozZPUHAjWLagBKt vJ7+/uehijfqCdCu+la0Ozh+Zq8buDnGbYVVaP7pRolLPwXawJpRjvWmZotOiVXXLzFK NhvQ/ogfOyai/m3q6u2ToGMLy5d/0pZ4/xKjvkVkhS8oYBFxlB3NN1YbbxR+TWpcmbYj t/1IxBmG04xMRmG+TWtYkUKFw3tY6R+kfsiX2pqyfM+H6GFvHV6OUbB4taYA6VJEk8LF CCWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EOCISOZ/"; 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 hu8-20020a170907a08800b006feb18c72bfsi8807951ejc.126.2022.08.15.22.59.50; Mon, 15 Aug 2022 23:00:17 -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="EOCISOZ/"; 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 S231437AbiHPFxL (ORCPT + 99 others); Tue, 16 Aug 2022 01:53:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231173AbiHPFwj (ORCPT ); Tue, 16 Aug 2022 01:52:39 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A3CA25E87 for ; Mon, 15 Aug 2022 15:56:34 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id j6so6992814qkl.10 for ; Mon, 15 Aug 2022 15:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=Ac3JvCwAmKuPc3kldTLNS+yBvHZ3Bhe8L1hxK+NbPB0=; b=EOCISOZ/yFup2jyMuBNguNp9UguY0b5klvmRasgAPspUx0XeDol7zNXd2FHAp/a2E9 E+E/1Yv7HCBsSCbL6kxzhSE8j0/UJoNQ29K/dNK+sRWUUsHSw6uPsIH5nl8JMlandbYg XeHm5bjDHpCfH9Vdqsey5mNysJaDKWffheKd9zOcowlh10rX05VuDIiitCb5Yf2CA9uf ErfrCjAm6fVzqMbulXFlb0GpQYs8OrZcwNQizGwtOvUYY3PhXvFRhuS3i5Sjls7xJJrg DwZDoBrwrC95sjNOqyMFtMXqehVTBExgtV2lWy074ZKe7Ko3n13dZIqKpOND6TRtgSdT dVlQ== 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; bh=Ac3JvCwAmKuPc3kldTLNS+yBvHZ3Bhe8L1hxK+NbPB0=; b=cj5xgLdUgoUki+Ry66fMxIDxBWgSMUJcdzM1/DGjQwSnksBR/L2EYkAKdxOIhMW5iQ n4t+OW7kSi+9xu8ST//pKgEN+qYzYAHhk2ZDcxHmwZuVlFTALUansBtyqx4uhB7fgSaG xs+ytgNCB9i5wqpivxVhy83I5i+kAoTAlaHhXBQjKFIIIklLH7PpOo/p5z5dkl0jCjW3 gQo/5n7VzxXTE4hISeMZYEd4zfZtK87TJPYTdTOBK3ThgqJHgmhfpYjusHMqe98UPAhu BuqR/i8FwkGB4H+2COE6CILuElU9206HxhVnrC/ATAr0wyVpeVeY4JucCjJlC15Lb0GX l20g== X-Gm-Message-State: ACgBeo33uIrz5Olb8GcCTj82WWEVOQpkKsiymSCs4UIn41oeDgNe9xlL cY92Hpw9W+Gbsbq9X8soWJSv4A== X-Received: by 2002:a05:620a:8014:b0:6b9:2866:c7f0 with SMTP id ee20-20020a05620a801400b006b92866c7f0mr12971491qkb.23.1660604193224; Mon, 15 Aug 2022 15:56:33 -0700 (PDT) Received: from fedora.attlocal.net (69-109-179-158.lightspeed.dybhfl.sbcglobal.net. [69.109.179.158]) by smtp.gmail.com with ESMTPSA id h11-20020a05620a244b00b006b633dc839esm10497057qkn.66.2022.08.15.15.56.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 15:56:32 -0700 (PDT) From: William Breathitt Gray To: jic23@kernel.org, lars@metafoo.de Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Frede@cmslaser.com, William Breathitt Gray Subject: [PATCH] iio: stx104: Move to addac subdirectory Date: Mon, 15 Aug 2022 18:29:21 -0400 Message-Id: <20220815222921.138945-1-william.gray@linaro.org> X-Mailer: git-send-email 2.37.2 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_NONE, 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 stx104 driver supports both ADC and DAC functionality. Signed-off-by: William Breathitt Gray --- MAINTAINERS | 2 +- drivers/iio/adc/Kconfig | 16 ---------------- drivers/iio/adc/Makefile | 1 - drivers/iio/addac/Kconfig | 16 ++++++++++++++++ drivers/iio/addac/Makefile | 1 + drivers/iio/{adc => addac}/stx104.c | 0 6 files changed, 18 insertions(+), 18 deletions(-) rename drivers/iio/{adc => addac}/stx104.c (100%) diff --git a/MAINTAINERS b/MAINTAINERS index b8b6544ba27c..f4ef070f474a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1382,7 +1382,7 @@ APEX EMBEDDED SYSTEMS STX104 IIO DRIVER M: William Breathitt Gray L: linux-iio@vger.kernel.org S: Maintained -F: drivers/iio/adc/stx104.c +F: drivers/iio/addac/stx104.c APM DRIVER M: Jiri Kosina diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 5a3e8d9ae26c..e3c2881ed23a 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -1037,22 +1037,6 @@ config STMPE_ADC Say yes here to build support for ST Microelectronics STMPE built-in ADC block (stmpe811). -config STX104 - tristate "Apex Embedded Systems STX104 driver" - depends on PC104 && X86 - select ISA_BUS_API - select GPIOLIB - help - Say yes here to build support for the Apex Embedded Systems STX104 - integrated analog PC/104 card. - - This driver supports the 16 channels of single-ended (8 channels of - differential) analog inputs, 2 channels of analog output, 4 digital - inputs, and 4 digital outputs provided by the STX104. - - The base port addresses for the devices may be configured via the base - array module parameter. - config SUN4I_GPADC tristate "Support for the Allwinner SoCs GPADC" depends on IIO diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile index c1a861a978ad..ab084094263b 100644 --- a/drivers/iio/adc/Makefile +++ b/drivers/iio/adc/Makefile @@ -89,7 +89,6 @@ obj-$(CONFIG_RICHTEK_RTQ6056) += rtq6056.o obj-$(CONFIG_RZG2L_ADC) += rzg2l_adc.o obj-$(CONFIG_SC27XX_ADC) += sc27xx_adc.o obj-$(CONFIG_SPEAR_ADC) += spear_adc.o -obj-$(CONFIG_STX104) += stx104.o obj-$(CONFIG_SUN4I_GPADC) += sun4i-gpadc-iio.o obj-$(CONFIG_STM32_ADC_CORE) += stm32-adc-core.o obj-$(CONFIG_STM32_ADC) += stm32-adc.o diff --git a/drivers/iio/addac/Kconfig b/drivers/iio/addac/Kconfig index 138492362f20..fcf6d2269bfc 100644 --- a/drivers/iio/addac/Kconfig +++ b/drivers/iio/addac/Kconfig @@ -17,4 +17,20 @@ config AD74413R To compile this driver as a module, choose M here: the module will be called ad74413r. +config STX104 + tristate "Apex Embedded Systems STX104 driver" + depends on PC104 && X86 + select ISA_BUS_API + select GPIOLIB + help + Say yes here to build support for the Apex Embedded Systems STX104 + integrated analog PC/104 card. + + This driver supports the 16 channels of single-ended (8 channels of + differential) analog inputs, 2 channels of analog output, 4 digital + inputs, and 4 digital outputs provided by the STX104. + + The base port addresses for the devices may be configured via the base + array module parameter. + endmenu diff --git a/drivers/iio/addac/Makefile b/drivers/iio/addac/Makefile index cfd4bbe64ad3..17de20ef0d8e 100644 --- a/drivers/iio/addac/Makefile +++ b/drivers/iio/addac/Makefile @@ -5,3 +5,4 @@ # When adding new entries keep the list in alphabetical order obj-$(CONFIG_AD74413R) += ad74413r.o +obj-$(CONFIG_STX104) += stx104.o diff --git a/drivers/iio/adc/stx104.c b/drivers/iio/addac/stx104.c similarity index 100% rename from drivers/iio/adc/stx104.c rename to drivers/iio/addac/stx104.c base-commit: b82217e73b5aa6db8453ad91b929ca2366e47184 -- 2.37.2