Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp501017rbb; Sat, 24 Feb 2024 09:31:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUrM0yyacXd+gsVx4XLDFl2aaaND0y31DIUvlOW72TC4AA689D6fGE8fXvsUVKQ0TocY9bXaXflsj1pbvgUcexaFDCYvmecurKHvQ/b4g== X-Google-Smtp-Source: AGHT+IENsAUV08aoK8775pANeOpROA8LkIZJJ5PgPtevVF1lE9XGHsIIsaqj4AShC9/2qIo9yHgq X-Received: by 2002:a05:6830:164c:b0:6e4:761c:2f79 with SMTP id h12-20020a056830164c00b006e4761c2f79mr3484604otr.6.1708795882845; Sat, 24 Feb 2024 09:31:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708795882; cv=pass; d=google.com; s=arc-20160816; b=zN0aN8/+r6EEI6/vxhaQ59VziKiW6Lh+j7ipir9//Bi+9XrbkrWgFWXZvz6YJR56PW Mig7VHnC9bvPQfJ0HQhoPTuZ2j0AL6Q2fWtYBRqyF77+NUSyXdXS4otdTIFBl5518IgY 1SXV9O/Iic32dJE5f51S2F6f/11g3nMAYBjFglIl4pVdREVwjFCrUVvYtfLQDxwpx2Sf PXLXypt7nofB2T/2KaVQxt3dJQMXdg9r8jqWDDA2SzuhnAtMfg1Jifj8DkV8WijS+at3 x6Zy0RzwKzt3Rn62HGxAL8M41d/S+cbVrnuupu/GO1OB3PlAnKs8uW9UfOxgEgVXxuOE V5cA== ARC-Message-Signature: i=2; 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 :subject:cc:to:from:date:dkim-signature; bh=jDTqJVaWTWutqZNEF3I0OAGBeLFPfAYZLtsti67HwBM=; fh=fxM0uur1paRw8dFpg/eATDcyMLhy8YzVcP8vYdZB/FI=; b=SS8CpGcCnfuN8yi7u7ibhAaoHQ4VZUjkjCMeMLqpil+lxRC7XRxRiPpjzJGNKGJO6R TuPFfhB6uBPoYk5I4yH1znO9kfMMmH2GwwiKEndrjHFtE8qlt5jCg1D4N2I57K81dIft yRVvWxRokpmG+PSTYb/U1lBGKhqqcaHfnGbIx+5NseGECs5uRmJZydyKy8qLG5Mnzbrj rCILx2J6bTHSecr7VcGLJ5A852U/f6C8mV43rph3Z4RI1cUO7yDudVPqizxH++mzYHoT HTdoTrZAhuHwN/QWui+vnBSdEtxT/mqWosNvB1RxZhwbyLkkM8u3B9KZkp9o+ZM9bH0K hH+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CBWZLwnd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79761-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j13-20020ac874cd000000b0042e565f443bsi1428617qtr.81.2024.02.24.09.31.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 09:31:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79761-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CBWZLwnd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79761-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79761-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 94E221C20D0F for ; Sat, 24 Feb 2024 17:31:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DDCCC481B8; Sat, 24 Feb 2024 17:31:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CBWZLwnd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F1A3814B820; Sat, 24 Feb 2024 17:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708795874; cv=none; b=roY976YpHNO/orpoQHsaj63orej9IMq1JANe7j1rsuLl+CsmJl06hIX6V6ak8P01h8Y9hPvNM9NADTNH45VKtEeWKkbeOZoqsb6iZL37wDsZ0FBRvX7ybH/QUOXPsKcLrv2CFSWejrD0GQVu2jMTN9jlG7WkaZ4at9PU5xWVnHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708795874; c=relaxed/simple; bh=WfWJQwTKNHoF6gInRBujgT3QRX8Cge62nrn0wrcBk7A=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ai+JUnwMiPWtebWV2HL4Bce/kBpejR2UkhrluJsKPHwBa3YOYW7G30+jfiI69LI/x0ucbIZ2OnmXBs6nOK9BEKmidv0rxkuaNdQE0lrjpERST97phlnokUU+nHCu7bRCeFBrmbRG7G6+uXUw/ggIpP0kRWX761MOJlt94vy3vIc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CBWZLwnd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07A9EC433F1; Sat, 24 Feb 2024 17:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708795873; bh=WfWJQwTKNHoF6gInRBujgT3QRX8Cge62nrn0wrcBk7A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CBWZLwndv9Xl9V2tCMhVRZ9F/sBbs1f0OKypavZCY3kKUGvjqM8KDq2YNcWQJNvNk WCzbXRlX2vQvoFOLgDWsjXgXQ5Rc7ldcpfRC2wOvS2dXJ8eEdKptYgRGTIwZVlH6eq gBxXprjkZ8ChP6xiJmS3hbi6brvG6WgIt5Jq8TiCPHWcwIAf8Gv4j3lqxkoYU8tZ8L Yqq345IF/Uyba5jgF/2cSIEdsN8BS6OXYOXROpsp75z6ZxxNW7TtXGRsUUbuARnmKC AYCus8Y63bnbK34hAnwR3esoQiaIV9767dyoi7wQHJ6GA2AEozZWK7sgbbDXUnD4HP 98cOTnr1j3lNw== Date: Sat, 24 Feb 2024 17:30:55 +0000 From: Jonathan Cameron To: Dumitru Ceclan , Krzysztof Kozlowski Cc: linus.walleij@linaro.org, brgl@bgdev.pl, andy@kernel.org, linux-gpio@vger.kernel.org, Lars-Peter Clausen , Rob Herring , Conor Dooley , Michael Walle , Andy Shevchenko , Arnd Bergmann , ChiaEn Wu , Niklas Schnelle , Leonard =?UTF-8?B?R8O2aHJz?= , Mike Looijmans , Haibo Chen , Hugo Villeneuve , David Lechner , Ceclan Dumitru , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: Re: [PATCH v15 1/3] dt-bindings: adc: add AD7173 Message-ID: <20240224173055.2b2e067c@jic23-huawei> In-Reply-To: <20240223133758.9787-1-mitrutzceclan@gmail.com> References: <20240223133758.9787-1-mitrutzceclan@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 23 Feb 2024 15:37:28 +0200 Dumitru Ceclan wrote: > The AD7173 family offer a complete integrated Sigma-Delta ADC solution > which can be used in high precision, low noise single channel applications > or higher speed multiplexed applications. The Sigma-Delta ADC is intended > primarily for measurement of signals close to DC but also delivers > outstanding performance with input bandwidths out to ~10kHz. > > Reviewed-by: Conor Dooley > Signed-off-by: Dumitru Ceclan Ok, in the interests of perfect not being the enemy of good enough. I'll leave the supplies for now. There are lots of existing drivers where we don't list them as required (because my understanding of this changed in more recent times). It's been on my list of jobs for a really boring Friday afternoon to bring them all inline with the convention of if it needs power on the pin, it's required, so what's one more? :) As Nuno pointed out, patch 2 clashed with work already upstream to allow firmware to have the final say on interrupt types. I think I've resolved that correctly. I tidied up the docs ordering issue Andy noted. Also, ad_sigma_delta is namespaced. So added MODULE_IMPORT_NS(IIO_AD_SIGMA_DELTA). Make sure you test your patches with a modular build on a more recent tree - that change was early last in 2022! A few lines in the driver were too long. I don't mind them going over 80 for readability reasons, but not over 100. Anyhow, with those changes (and please check I didn't mess things up!) applied to the togreg branch of iio.git and pushed for now as testing for 0-day to get a look in. Thanks, Jonathan