From mboxrd@z Thu Jan 1 00:00:00 1970 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 0F6302744B for ; Tue, 10 Oct 2023 16:05:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lsS+ibB3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 223CCC433C7; Tue, 10 Oct 2023 16:05:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696953945; bh=C2yJ/fRMFl+/+tPlbGcZ9mxV42oxfZteq1xQm5XbRoM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lsS+ibB3w+cJpUxzyllunc+S4zHPeH38y8bjmrlx0IVtP9fknb08rRy4lRhKPa+jJ CrPro6r/9hr7NvaxjZYE4EpDdr8FzXsjADdy/FRPtPVNE2VRgluIIqEhEgI/aA5+Si 0ChcvaH4ldB/CtZ/h+Rb6QSSe5k6ZNFW3Fhl8cgr3PqUCysPgPIbwSlnLb4YS/79ia +vZjMfJ5RPg5ieSRgssZHMPEKJls5qsbOQjyoIX/oWYU5oZs3u7eKkrMgoNKum9Vhb M/bjgxnWA3m+hJpLvBOuZp9WTuVoaFNeSBoT8m54+XBz3Ogzwy9y8OK8rLx6eXZp6j R2xyOWTHabdBA== Date: Tue, 10 Oct 2023 17:05:56 +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 13/17] staging: iio: resolver: ad2s1210: implement fault events Message-ID: <20231010170556.2e78fc7d@jic23-huawei> In-Reply-To: <20231005-ad2s1210-mainline-v4-13-ec00746840fc@baylibre.com> References: <20231005-ad2s1210-mainline-v4-0-ec00746840fc@baylibre.com> <20231005-ad2s1210-mainline-v4-13-ec00746840fc@baylibre.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 5 Oct 2023 19:50:30 -0500 David Lechner wrote: > When reading the position and velocity on the AD2S1210, there is also a > 3rd byte following the two data bytes that contains the fault flag bits. > This patch adds support for reading this byte and generating events when > faults occur. > > The faults are mapped to various channels and event type in order to > have a unique event for each fault. > > Signed-off-by: David Lechner Applied.