From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E0CBCD8CA2 for ; Tue, 10 Oct 2023 15:57:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233478AbjJJP5D (ORCPT ); Tue, 10 Oct 2023 11:57:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233265AbjJJP5D (ORCPT ); Tue, 10 Oct 2023 11:57:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DAA693; Tue, 10 Oct 2023 08:57:01 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 868EBC433C8; Tue, 10 Oct 2023 15:56:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696953421; bh=UwuZ32zC8AXiHmdbjhpI6SAE/Jw6t06ng7IB8mYYtyA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=X49pyZQ64ZrT6prpmrF8Og4aeHanVydZ5d+Tk8P/CKok4xaPzB8WSFPS9quuVo1m9 vIXywCCl6bV1pvDPVueiNIzFu+xjjFdwL5tC8JR+uhGIBZlkYyU1bVRdawzTgCF104 pZRq2ZTSVvYbXuJZJuJBzIzcV7gBBFRPyjcUMp2lR5FyY+6plMmMRQTTJyW3u3UvGN SsaAKPlgiN4uxboa9IJv81F4Idiw8J4VLiZsesf/vkMChKvN+r4vrzd4OIq2FibBYO NL7Gb4FS2s1rsVQsm/CtqypOid03Y02F92D5e5/Y7XQcyMN9ruTOxHzTrVeNaVy0Hn yqBNyY/ZjPwLw== Date: Tue, 10 Oct 2023 16:57:12 +0100 From: Jonathan Cameron To: David Lechner Cc: linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, Michael Hennerich , Nuno =?UTF-8?B?U8Oh?= , Axel Haslam , Philip Molloy , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 11/17] staging: iio: resolver: ad2s1210: rename DOS reset min/max attrs Message-ID: <20231010165712.5584d4c1@jic23-huawei> In-Reply-To: <20231005-ad2s1210-mainline-v4-11-ec00746840fc@baylibre.com> References: <20231005-ad2s1210-mainline-v4-0-ec00746840fc@baylibre.com> <20231005-ad2s1210-mainline-v4-11-ec00746840fc@baylibre.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Thu, 5 Oct 2023 19:50:28 -0500 David Lechner wrote: > The AD2S1210 has a programmable threshold for the degradation of signal > (DOS) mismatch fault. This fault is triggered when the difference in > amplitude between the sine and cosine inputs exceeds the threshold. > > The DOS reset min/max registers on the chip provide initial values > for internal tracking of the min/max of the monitor signal after the > fault register is cleared. > > This patch converts the custom device DOS reset min/max threshold > attributes custom event attributes on the monitor signal channel. > > The attributes now use millivolts instead of the raw register value in > accordance with the IIO ABI. > > Signed-off-by: David Lechner Applied.