Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2946376rdd; Sat, 13 Jan 2024 08:14:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQ5nwE4udg6sAwJQLT+J0/R9TOpxanUqGO7ei1IsrlsFX/nNDtyx4p6kfd9KGkwzI3k60f X-Received: by 2002:a50:9fab:0:b0:558:b5d0:e77a with SMTP id c40-20020a509fab000000b00558b5d0e77amr3369948edf.36.1705162460303; Sat, 13 Jan 2024 08:14:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705162460; cv=none; d=google.com; s=arc-20160816; b=piMUXzppvnlx+cgTv1yxTYE2bvs3+7VH9rby+ZRBoJZ+ybGFJYhE84hFKWcfiTMdbR U8mX2sNIn6tXMvsMn3FGzJ+YXYRppWlzxJot0nkZ77oNQd386sgyoG+OB/6/D1JLto0c XgB+dROcZOOUsmM18EYZoOiTs9GZVkMJ1K+ukauMayZ9RmtgXWkt79s1zWMpW9OMvAse 5AyY1XIZ64UNh9kl7EpJx9xVelxyu+lR0/dhs3yM7QEErrlXPGaSBU6C3Sy+QsnDOPrj kPsrlnMMECOM9H6xOCKLRQQq3qlL2v3Tyr094N2ZfvYzEW0QP2kOcsFORtfIA6OvWbIW BPHw== 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 :subject:cc:to:from:date:dkim-signature; bh=VNuLBCsKH/9zT71XdCX+lw0YkeXVsuKZ1IdCheayc1w=; fh=tkIEhC7ypYBKsiZ2494qpZR6OZW3MCdXOCXs95L375k=; b=dBipyxNcS0wOk0nA9X4ntA+mm83CmzX6LOGNoDQIjSv68/aqa2aStk+ZoJtzeuLcRN 2lSmQomP9lCt1cN0bI4od9njDPqsMpDn2dPy41VvGna94fxdjR8+bMi8R8jBg12/7y6V 3FpSTX/bg3Y9SG+88HuSnBxtaK9HGSG/EQUu3UUmCqqFK+FVS17seg9lua5c76PcGOSN Ein3P8L0RphzP3b+iE+1pATTeY96+0zX90764OuBGQir8fi1ZoJdhGz8fCOCYUc6iQsX WnpcwK6DUNnnbvaLgZlHqUktVYlmhj3BWb8wdq+9/G+Y7Sv/XL6j5NY+Tik0w8DuqF1G 26Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g4I8vf2C; spf=pass (google.com: domain of linux-kernel+bounces-25331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id en21-20020a056402529500b00558251ade8asi2455940edb.117.2024.01.13.08.14.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 08:14:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g4I8vf2C; spf=pass (google.com: domain of linux-kernel+bounces-25331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25331-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0F8871F2259C for ; Sat, 13 Jan 2024 16:14:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEA853D7B; Sat, 13 Jan 2024 16:14:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g4I8vf2C" 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 122EF4A23; Sat, 13 Jan 2024 16:14:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E502AC433F1; Sat, 13 Jan 2024 16:14:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705162449; bh=ov4r1pQnCWGD4LZgwtdWh6NQsa71tmBhiJJ4tREobgM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=g4I8vf2CTbAdtMRpUFjQQ6vuicVXlfJhDTbvoJfaSEZu4B8RpKY7fvu5mYjmHx2gy OizC5XgkuvR3/UVktGrwVMPTm/RwlcXYyF6l5MmI7wM664xrUnhAs8ai/UxRJSMinM 1hu9T9zUb2p3byQhB7JM5pPgfISob3667hsLezD9kbq8qqGdJVuVNVTzQ7ejB5zt/y e+UBj93iORkyUMGZNxMbuTCugYhu3YC/MNAgU+N3X2MWDXU1sBQFiY/Abm7Xecpyq2 RAWP0s+kyzpSRaP6osnVt74Ndp15d+seaT3qpB04jknr0TdoEJUdlSESrVgWgTmLo2 qrj0rHlov2W1Q== Date: Sat, 13 Jan 2024 16:14:03 +0000 From: Jonathan Cameron To: David Lechner Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Hennerich , Nuno =?UTF-8?B?U8Oh?= , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, Stefan Popa Subject: Re: [PATCH v4 0/2] iio: adc: add new ad7380 driver Message-ID: <20240113161403.4654db9d@jic23-huawei> In-Reply-To: <20240110-ad7380-mainline-v4-0-93a1d96b50fa@baylibre.com> References: <20240110-ad7380-mainline-v4-0-93a1d96b50fa@baylibre.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.39; 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 Wed, 10 Jan 2024 14:28:39 -0600 David Lechner wrote: > This series is adding a new driver for the Analog Devices Inc. AD7380, > AD7381, AD7383, and AD7384 ADCs. These chips are part of a family of > simultaneous sampling SAR ADCs. > > One quirk of these chips is that since they are simultaneous sampling, > they have multiple SPI data output lines that allow transferring two > data words (one for each input channel) at the same time. So a new > generic devicetree binding is added to describe this sort of SPI bus > configuration. > > To keep things simple, the initial driver implementation only supports > the 2-channel differential chips listed above. There are also 4-channel > differential chips and 4-channel single-ended chips in the family that > can be added later. > > Furthermore, the driver is just implementing basic support for capturing > data. Additional features like interrupts, CRC, etc. can be added later. > > Also, FYI, this driver will also be used as the base for an upcoming > series adding AXI SPI Engine offload support for these chips along with > [1]. > > This work is being done by BayLibre and on behalf of Analog Devices Inc. > hence the maintainers are @analog.com. > > [1]: https://lore.kernel.org/linux-spi/20231204-axi-spi-engine-series-2-v1-0-063672323fce@baylibre.com/ Series applied to the togreg branch of iio.git though that is only pushed out as testing for now as I'll be rebasing it on rc1 once available. Jonathan