Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp330443rdb; Sat, 16 Dec 2023 09:51:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdHuxp3kp7zyc76hqen2w8+RAdJkVzjomWHsE59WLaXYU/0v378AJui/emqYIPmyMH36xJ X-Received: by 2002:a05:6214:ac9:b0:67f:2c5c:537a with SMTP id g9-20020a0562140ac900b0067f2c5c537amr1828119qvi.30.1702749090925; Sat, 16 Dec 2023 09:51:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702749090; cv=none; d=google.com; s=arc-20160816; b=ZPLsZ7bQwIM8RcRgT2r1NFiSz0QQ9ZzHskBegleU9pOT8bWZWtrxy99/A4YS5Wcic7 RckA1HGPSZU0HvnjdEn+LlpBFhufPUxiVL0aGAldK9mqZvuyOh97pjtM8CB8YGomTVgT is34QmgWLY3s4hzLB3S+IEuRRMnWKQYygTfv2u7YtN8wfWig3MPQwxMzoJuZ8eaUImXA odH6wwxDtcdaGhoetCuwujsKPG6O7VujJvIXsdH+vGYXrKNScX6Stw2XpJJNUTtBt6sL b1GJyBxjsN/UeojgQavtydPjUhd1PruM1ZpL4BmEEUvk5Al98rdSnwEeJkcOYckijtv1 emXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=eHoUbRH6hyvvi8Nqoc8yNqMhQcsOpLKMThsjNvYqjSQ=; fh=QwEOK/MZnBUTBQAzGwecl0DPfALWXdlHbxPQlQn9VIw=; b=SA0iMDiMaonuV3cM+1ua6PLCJg8KSMIktRPlSxZqMkizLHCCjKCuTHNb6o3ZyL+Lnq Ou8rw0jf58IOeqXPa6gymKbC7aHalsFxr02ff3vKm9fk/HKR9dvVslf5XX2kcNiRsm7p 2F9B9nvgMafy5pmG0+bzP5Ij2StEE3b8l+YFUBNSlZVDh7eMW5cVcbwY05ScKxAbwl3S XLruhZlFkjVzZoIUrJ/A2q01jemY9Izv5HJywXZsd+VKQFRbg3fiktenMIClmdoMpwVp KB2U3PzZrwWWe3jmZXRd3Ncb7S71XH9xHCmPqOTcVJNPT6HCfdi6KXOWpixQmYhde+cS U6Gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-2314-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2314-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v1-20020a0ce1c1000000b0067f21e9dfe2si2913033qvl.152.2023.12.16.09.51.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 09:51:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2314-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-2314-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2314-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AC8651C2184A for ; Sat, 16 Dec 2023 17:51:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C153328A2; Sat, 16 Dec 2023 17:50:38 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CB0134542; Sat, 16 Dec 2023 17:50:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=analog.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=analog.com Received: from pps.filterd (m0375855.ppops.net [127.0.0.1]) by mx0b-00128a01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BGEYQkp002174; Sat, 16 Dec 2023 12:50:15 -0500 Received: from nwd2mta3.analog.com ([137.71.173.56]) by mx0b-00128a01.pphosted.com (PPS) with ESMTPS id 3v1526sppy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Dec 2023 12:50:15 -0500 (EST) Received: from ASHBMBX9.ad.analog.com (ASHBMBX9.ad.analog.com [10.64.17.10]) by nwd2mta3.analog.com (8.14.7/8.14.7) with ESMTP id 3BGHoEZW034211 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 16 Dec 2023 12:50:14 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBMBX9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Sat, 16 Dec 2023 12:50:13 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Sat, 16 Dec 2023 12:50:13 -0500 Received: from work.ad.analog.com (HYB-hERzalRezfV.ad.analog.com [10.65.205.129]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 3BGHnssw015862; Sat, 16 Dec 2023 12:49:56 -0500 From: Marcelo Schmitt To: , , , , , , , , , , , , , CC: , , Subject: [PATCH v4 11/15] iio: adc: Split AD7091R-5 config symbol Date: Sat, 16 Dec 2023 14:49:51 -0300 Message-ID: <9e0b4eff8d4aa64ad1421d305dbdb476ef0ddb58.1702746240.git.marcelo.schmitt1@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: iSa2cXzFyJFcIoWm8DDAcoWMuvc1O5y9 X-Proofpoint-ORIG-GUID: iSa2cXzFyJFcIoWm8DDAcoWMuvc1O5y9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-02_01,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 priorityscore=1501 phishscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 adultscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312160137 Split AD7091R-5 kconfig symbol into one symbol for the base AD7091R driver and another one for the I2C interface AD7091R-5 driver. Signed-off-by: Marcelo Schmitt --- drivers/iio/adc/Kconfig | 4 ++++ drivers/iio/adc/Makefile | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 4eebd5161419..9d2d32d09166 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -36,9 +36,13 @@ config AD4130 To compile this driver as a module, choose M here: the module will be called ad4130. +config AD7091R + tristate + config AD7091R5 tristate "Analog Devices AD7091R5 ADC Driver" depends on I2C + select AD7091R select REGMAP_I2C help Say yes here to build support for Analog Devices AD7091R-5 ADC. diff --git a/drivers/iio/adc/Makefile b/drivers/iio/adc/Makefile index c0803383a7cc..1e289d674d4d 100644 --- a/drivers/iio/adc/Makefile +++ b/drivers/iio/adc/Makefile @@ -7,7 +7,8 @@ obj-$(CONFIG_AB8500_GPADC) += ab8500-gpadc.o obj-$(CONFIG_AD_SIGMA_DELTA) += ad_sigma_delta.o obj-$(CONFIG_AD4130) += ad4130.o -obj-$(CONFIG_AD7091R5) += ad7091r5.o ad7091r-base.o +obj-$(CONFIG_AD7091R) += ad7091r-base.o +obj-$(CONFIG_AD7091R5) += ad7091r5.o obj-$(CONFIG_AD7124) += ad7124.o obj-$(CONFIG_AD7192) += ad7192.o obj-$(CONFIG_AD7266) += ad7266.o -- 2.42.0