From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FA3313B58A for ; Tue, 7 Jan 2025 23:33:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736292801; cv=none; b=umBOElGQOhQxPvtGIw5hkXBjtXxLhaeylqgy+ACON/Tlvjdv/OJ1sxYoFo6n35XwhwJ2BLvEa69s84KuRHrwtuKhXZL+6Wg3nF28VDhev3t6MGdc0arkGQ+UKXIKA47n1vDcFSwyOVG4Ti5u4r1U1v/7o8C3HD/gShA488MiU+8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736292801; c=relaxed/simple; bh=0b79uZgF06lCBq7nAEImvDd81CILid35SQmTDGoJDik=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nsbYwCkBR3GfziPVGb4LHEZxlkZuBnCrTzm/ioBpt847tS47N3560i/uKSaVTS7LSre6UO8eZFmfs/J6E96QUXTnCUj5Ri4p6pxiEnbbhx0eS9kOqOE7Gcp0Hu2cLHgPeUu/Q4xSNqe7CBuCjlLkdy+J6/baC6WlqeOxPG5emEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=Q2e/oNEy; arc=none smtp.client-ip=209.85.210.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="Q2e/oNEy" Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-71e2bc5b90fso8499722a34.0 for ; Tue, 07 Jan 2025 15:33:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1736292799; x=1736897599; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Es/rzdlo/5s0yZtlCeIF9RUEz3jMUulvwPjffSuYiH8=; b=Q2e/oNEyecoFEJcvMkF1Dihjhdiq2SfRNd//B/+uK1gA6Ul5ZV9qLJKAaqcZgOx8LD Ap2hG6bNPiq0izATPhY1POK3xXmdB1E9SBt4gNNaTJ1mAgXw7AMJvi4UHjP37BdCjJ1H 60jamsZt1Y0fsXwAOK/q5DJt+nV7Ja5yYsuphB09Gy1fPYxk46tHDpe0Sc2EIDIhj0hr EPtaykRy4TfgNe9N5aMFV3wFal8HOlXSKzuHcmvUpczpm1K0tXZoSoIDKjf62Wyx59wc zeaTlcRqrnSPjCaL2SZ5KNKW+3ogDu92K5pJDUgsUJTiGfJRrZAHKogRwDsZ8vDcEGUe PZzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736292799; x=1736897599; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Es/rzdlo/5s0yZtlCeIF9RUEz3jMUulvwPjffSuYiH8=; b=mqj7aqfVydxIdL+KP/b5lisPTFNni+iTQxXsPmOby7BtsYGjBnp92HbogGqByxcIjn 78d9aqWVcVa7dGs2jPsZgqxP6bgAPWs/eOKGVAywD0J8aQMX74motyh0W1fEuYC0nWmC GawIVc99WXMyuRCJm9duJuyp64Z16uO7gjeP4oTLzpEMlhBFRtCAiiIxrDhoZodhlqtn JGj2bhSd+5byxKY8eaq+iqOR8xwupjcmEIGyR4BOvtnwyxF69+JziKOwe1iSAjW/aLdQ yy8M1ZDeBnDUpQMpcRaQ94F9osWflwN8SldKnrSjvwB3FoP5hC7hFU4ZjtipByjKih4v Ko2A== X-Forwarded-Encrypted: i=1; AJvYcCW7Nak9UY99EJe88Z5OTHIc3N/V+CkPqYhUyvOKn3CaE7trXbXgZtbC0ZufAGBpwuGmptY+Zb4ODdB4@vger.kernel.org X-Gm-Message-State: AOJu0YxaWBQXUKcDVoaUVj7d37sgTJ/kkaGncx9zh8AM2WvQrZ5SfT2K X5mgavyWK4WNETHJDDHJrI0lJ20y5EDADp4pfn+HG2S/SuzahmXa/sMZUoPNvcM= X-Gm-Gg: ASbGncvdY8vzBw+POwxPvIrCRdHCkZaETqfYg0FItnSSRkO8R4QHr0VLVkQBdq+cZ1Y EohKfJYUnpYbX2p75fysyMQrERf/INWlnoEgWHW4pp1EWPXrEsBqfDNlTNmVPDoTXMLxJcxfoKk K1kyKQqnhMUl80HuhRv9qpXmh9mHZhB4DYri6/7XEBHoVy+F+WIzIhh8J9LidqN4Rhm2KDJ0edF amzd+UKP1M8Nv2snliQnEl+d20wWLB/+NfLK1ZxOrlwuWQ2cRdwe1FgLjpYIYDw6QLrB6DEdukQ rCMVTjgtzrC+IJryig== X-Google-Smtp-Source: AGHT+IEsJMmE3nlDHsTIoi88s4mPahk5lFhIxoSGWe/m88EFqzspclWb76glFB3QXFAjFCJ+uz6bbA== X-Received: by 2002:a05:6830:6381:b0:71e:1568:9411 with SMTP id 46e09a7af769-721e2de97admr440339a34.1.1736292798755; Tue, 07 Jan 2025 15:33:18 -0800 (PST) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5f4db5d8ad3sm9812250eaf.17.2025.01.07.15.33.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 15:33:18 -0800 (PST) Message-ID: Date: Tue, 7 Jan 2025 17:33:16 -0600 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 00/15] iio: adc: ad7768-1: Add features, improvements, and fixes To: Jonathan Santos , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, marcelo.schmitt1@gmail.com References: From: David Lechner Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/7/25 9:23 AM, Jonathan Santos wrote: > This patch series introduces some new features, improvements, > and fixes for the AD7768-1 ADC driver. > > The goal is to support all key functionalities listed in the device > datasheet, including filter mode selection, common mode voltage > configuration and GPIO support. Additionally, this includes fixes > for SPI communication and for IIO interface, and also code improvements > to enhance maintainability and readability. It looks like some of the patches also have to do with a sync trigger for one or more chips. There was a recent discussion about this for another ADC that seems relevant: [1]: https://lore.kernel.org/linux-iio/20241128125811.11913-1-alisa.roman@analog.com/ > > Jonathan Santos (8): > dt-bindings: iio: adc: ad7768-1: add synchronization over SPI property > Documentation: ABI: add wideband filter type to sysfs-bus-iio > Documentation: ABI: testing: ad7768-1: Add device specific ABI > documentation. > iio: adc: ad7768-1: set MOSI idle state to high > iio: adc: ad7768-1: use guard(mutex) to simplify code > iio: adc: ad7768-1: add multiple scan types to support 16-bits mode > iio: adc: ad7768-1: add support for Synchronization over SPI > iio: adc: ad7768-1: add filter type and decimation rate attributes > > Sergiu Cuciurean (7): > iio: adc: ad7768-1: Fix conversion result sign > iio: adc: ad7768-1: Update reg_read function > iio: adc: ad7768-1: Add reset gpio > iio: adc: ad7768-1: Move buffer allocation to a separate function > iio: adc: ad7768-1: Add support for variable VCM > iio: adc: ad7768-1: Add reg_write_masked function > iio: adc: ad7768-1: Add GPIO controller support > > Documentation/ABI/testing/sysfs-bus-iio | 2 + > .../ABI/testing/sysfs-bus-iio-adc-ad7768-1 | 13 + > .../bindings/iio/adc/adi,ad7768-1.yaml | 24 +- > drivers/iio/adc/ad7768-1.c | 830 +++++++++++++++--- > 4 files changed, 747 insertions(+), 122 deletions(-) > create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-ad7768-1 > > > base-commit: 5de07b8a24cf44cdb78adeab790704bf577c2c1d What are all of these prerequisites? > prerequisite-patch-id: 8b531bca46f7c7ea1c0f6d232d162fd05fda52f7 > prerequisite-patch-id: c8c8637cb3343097c3224a9aa315fc45dca15f45 > prerequisite-patch-id: e0baac9ef84e6e8a0a272fc6191fc1cb48143e44 > prerequisite-patch-id: 7e5cad70809fa7d37e917628147c197427c11594 > prerequisite-patch-id: 28dcdb0ebc3ca3c02713f83c94a4eedbe81095dc > ...