Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1628272rdb; Sat, 10 Feb 2024 09:47:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4L+4U/VEgVKk9vyXIjw0qivzaXffj5W7rQDdIlrnU9mhiWanhMvEUPcsHb69NKvxKc2v8 X-Received: by 2002:a05:6a00:2f97:b0:6e0:9ce2:b598 with SMTP id fm23-20020a056a002f9700b006e09ce2b598mr3323357pfb.31.1707587276335; Sat, 10 Feb 2024 09:47:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707587276; cv=pass; d=google.com; s=arc-20160816; b=wNCMG8LjRssg0LBNHOtekapvRBmjoYYcIE1QVoFbP0NjTCLNZTSUaZdiUbYM0t6i43 wUMBWUuLVAqL1gumGlFN/j3bWDMdXw3aH6KXLfA4AEVQFEFYTSsskxSTVREvrIFOuqod /0ktfq5vvkBsZjGKxiJH4QpwihoZAcWfXyhKy//Q262LKWBoDQlE3PFs77tKek8wK8Xr tk+zXNeBsuCK9Pls5vR5gna2Yw1OtQb9RNsq5w81YrTydzp326uaNYr/GSk8Qrxyxafg 3hGW8DRgGLo4vVyguP7IKGoEPxbspr9/kWG+4RnghlYUQugPIHWtzYDBmTEQAoMyUZ1Q fWzQ== 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=JTf2sb/hXRsFcMfEztRRgNO312TTotdsi32BvmE3dQk=; fh=D6UAdPkxbbrmO5BTqomHTSrvf+zYXbxomz2Chei1Cvg=; b=ueeEFuUsO25Dgmlfk9+rMLHB806EyHS4zqnej21udrZfhWn0++1N595w3nueAeMWbQ t/xr3aSHRBgRXpsrJkMg5o2z8I2iYZ4OkYwaV2nEgjlmTeQSlN9vFp67M8e/wZqGqemb l4D0O4rZFfDbNNjypj8L+y33Cs1403p4+ZyuCjq9u84z8nNDLvgc/cejI9mNBdKLMqyw 97jsuEYXsQ5Q63rSdSppTSzrUOioIWqutp0UsUX1SaIwUwJCH8QySCDhF4Wfpn6cOKfH simPCDejB7Q5QFgiTMJgdgLHIR4UB0cXCBFZIP7Hgg3g+weHyT7xecfBMfd/eL0avVmC muHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rHjcjgRY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60502-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60502-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCV9/KJO3uiXfme55Ga9wFRGRQbVDvuChMr6fRbhD5hy+Qu5J514JdZMjJ9s/rLer3d5QwnbuqQqTWwgtlx6kgD+HkNqNReGAAAZI7wB5Q== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bn3-20020a056a02030300b005d836839e56si3910101pgb.317.2024.02.10.09.47.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 09:47:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60502-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rHjcjgRY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60502-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60502-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B77B0B233AE for ; Sat, 10 Feb 2024 17:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 741575D480; Sat, 10 Feb 2024 17:47:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rHjcjgRY" 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 932B041A82; Sat, 10 Feb 2024 17:47:42 +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=1707587262; cv=none; b=KfnFaFZnCIL7AYZniKVKaYb8wx7kVQhXSuOz7XZNNJ/yvYVgCbyGo9YSNi6WezjNFnixJsbXzrafsW8XjuL9b6NagBg3LP66usQ3ZtmNnMJZUhd29oEZpioHa7DCSrmqIEZYstks2eulLqS1n/Mca+QWOxImIvNbb/G21XUyL4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707587262; c=relaxed/simple; bh=NhWbsww1cnt25l2QD4Fw46or4HLprZvRZL9zG3Ayv1k=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=u22WFWHpMU4anQE/k9MgAM7JzNs8vQbI+ob3EFwy2OQj8a7JJ0M6rrYDaBV+y+5FmUXAjqYoLVe6aOHce3/u2N1nY2EQmwFrwOfpdYxxjFVUxA0lj9Mv+f2jsgobUpOi5DqZtflCYALHYGi3XnzlH5SP5E7kcSLKWupt6dZ8RDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rHjcjgRY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 720DFC433C7; Sat, 10 Feb 2024 17:47:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707587262; bh=NhWbsww1cnt25l2QD4Fw46or4HLprZvRZL9zG3Ayv1k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rHjcjgRYohFKHs2fONtzdonLejGMObC99TKvNsdee5ZTfDhVotMsctS5MIK+uKJZI jDTpt82aO3YW3mnxiDtyx4kYzQcDwy1fGY8+jRRLSuezAEpgSTyiBxw0kHDryKMKuI Phw1N++pguin7ZcdmiY+TmwzFtjrHxr7ZReLWd6V9GvCX+C+iMweiTaBQLBvF0FPVR nZ+gtotrGxQF18QDoJa8GFo7douE2Lu+EhYgvFR7yUjCKOYl5UWjl02HTZ9kt2Km4b noblxvIm9q6MPtWYKm3nravCCrWADwtVGr+1YsILXVeMzvFS6hCqOe3PjYXW2q/5Ry 5YoR95aIdw2PQ== Date: Sat, 10 Feb 2024 17:47:29 +0000 From: Jonathan Cameron To: David Lechner Cc: linux-iio@vger.kernel.org, Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nuno =?UTF-8?B?U8Oh?= , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] iio: adc: ad7944: add driver for AD7944/AD7985/AD7986 Message-ID: <20240210174729.7c6cb953@jic23-huawei> In-Reply-To: <20240206-ad7944-mainline-v1-2-bf115fa9474f@baylibre.com> References: <20240206-ad7944-mainline-v1-0-bf115fa9474f@baylibre.com> <20240206-ad7944-mainline-v1-2-bf115fa9474f@baylibre.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 Tue, 6 Feb 2024 11:26:00 -0600 David Lechner wrote: > This adds a driver for the Analog Devices Inc. AD7944, AD7985, and > AD7986 ADCs. These are a family of pin-compatible ADCs that can sample > at rates up to 2.5 MSPS. > > The initial driver adds support for sampling at lower rates using the > usual IIO triggered buffer and can handle all 3 possible reference > voltage configurations. > > Signed-off-by: David Lechner The one thing in here that will probably bite if this gets much use of different boards is the use of non multiple of 8 word sizes. Often we can get away with padding those with trailing clocks. Any idea if that is safe here? Jonathan