From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 BFE7B126C03; Fri, 10 Jul 2026 00:39:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783643980; cv=none; b=JufLM0uLOCTRSZakFFuMb6nXbv92o0elRQU6O55p//Cbh2monnCPN2kn8CfJoWXT/hKR0NzZkOyCvWJ7DDQ6YA4AEz2oF/1ucN8G74gjrhmIS1rqneC7a+X0r5hi0BD6CbRS3Q9/hMO6EpNTfzm2dh+36EHCtIn1/hZHhwzxEuQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783643980; c=relaxed/simple; bh=Dr7wNDpnCLhPgmsZh9mO0N8f3MMtddw8Z2Iq/F+/UMw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=k/aYo5Q3+osApZzOQCXCnDmgNz7poSUqMotkim8Kw/WoULjquJ0u1INXLlQqVuUs/CU0HFJelvzdzGmKOVRlwrYWqIO5GN7W2sYUAf8c8VWz1LpZ8O61R4SKwvTC+0NG2GSTOIqFrOwQz+VAPZhHnAHZztwBV7I2ZFdKGAL27o8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Cd7frvkK; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cd7frvkK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B81EC1F000E9; Fri, 10 Jul 2026 00:39:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783643979; bh=S7/2z0KcqlF8o/cYzy1/YD3Ak63mbGsLjPu+K0kB3MY=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Cd7frvkKFoLA5Jb9urdruQH5/fpnozCulLCafn9W+U0/2hP94t9baiaLMLzgl9+Rz Jixnj6ur2S4rcAd3S/ngBfUypxkU8gsJU46vLGbAYkxbN9lEu6lXOZpESx8+sF1Lqs NNT5qn5oqiHVCQjgVjNbQ7Mf4+fKkbttIqTl623VwCFIzSMfnPH3+07SvnuCbfwO41 adaA55Jfk/Gnlr/baJN4xOtXABUgDk0V/yo80ObohVog9ooIW4qdNahG30JNjnn99A Pnuy3kkB/MGV2D8J+D/hZLoBIo5gc/LpEoQNy9/3cuazPTts5F7uGnV18h8gU0NMUW v9AWqkCNATrHg== Date: Fri, 10 Jul 2026 01:39:32 +0100 From: Jonathan Cameron To: Janani Sunil Cc: Nuno =?UTF-8?B?U8Oh?= , Michael Hennerich , "David Lechner" , Andy Shevchenko , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Olivier Moysan , Philipp Zabel , Linus Walleij , Bartosz Golaszewski , Jonathan Corbet , Shuah Khan , , , , , , , Subject: Re: [PATCH 3/6] iio: adc: adi-axi-adc: Add support for CRC Message-ID: <20260710013932.66f0b3c1@jic23-huawei> In-Reply-To: <20260709-ad7768-driver-v1-3-44e1194fd96a@analog.com> References: <20260709-ad7768-driver-v1-0-44e1194fd96a@analog.com> <20260709-ad7768-driver-v1-3-44e1194fd96a@analog.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: devicetree@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 Thu, 9 Jul 2026 10:50:14 +0200 Janani Sunil wrote: > Add support for enabling and disabling Cyclic Redundancy Check (CRC) > processing in the AXI ADC backend. CRC provides data integrity verification > for high-speed ADC data streams, ensuring reliable data transfer between > the ADC frontend and backend processing systems. > > Signed-off-by: Janani Sunil > --- > drivers/iio/adc/adi-axi-adc.c | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > static const struct regmap_config axi_adc_regmap_config = { > .val_bits = 32, > .reg_bits = 32, > @@ -615,6 +633,8 @@ static const struct iio_backend_ops adi_axi_adc_ops = { > .num_lanes_set = axi_adc_num_lanes_set, > .debugfs_reg_access = iio_backend_debugfs_ptr(axi_adc_reg_access), > .debugfs_print_chan_status = iio_backend_debugfs_ptr(axi_adc_debugfs_print_chan_status), Sashiko caught that this needs kernel-doc. https://sashiko.dev/#/patchset/20260709-ad7768-driver-v1-0-44e1194fd96a%40analog.com > + .crc_enable = axi_adc_crc_enable, > + .crc_disable = axi_adc_crc_disable, > }; > > static const struct iio_backend_info adi_axi_adc_generic = { >