From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:43605 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754543AbaKRWCp (ORCPT ); Tue, 18 Nov 2014 17:02:45 -0500 Message-ID: <546BC201.10405@kernel.org> Date: Tue, 18 Nov 2014 22:02:41 +0000 From: Jonathan Cameron MIME-Version: 1.0 To: Peter Meerwald , Vlad Dogaru CC: linux-iio@vger.kernel.org, mranostay@gmail.com Subject: Re: [PATCH 0/2] iio: driver for Semtech SX9500 References: <1416237169-10707-1-git-send-email-vlad.dogaru@intel.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 17/11/14 15:25, Peter Meerwald wrote: > >> The device does not estimate distance, it only outputs a single bit which >> indicates proximity. We use 0 to mean that an object is close and 1 otherwise, >> sort of an uncalibrated distance. From what I understand in the ABI >> specification, this is allowed. > > perhaps the input subsystem would be a better fit for this driver/device? > what is it typically used for? > > regards, p. > Hi Peter, Whilst it may be the case that this particular one might have a reasonable home in input, these are often integrated with ambient light sensors and as such we already have a quite a few proximity sensors in IIO... Interestingly there is one obvious proximity sensor in input and that is a dual ambient light/ proximity part though I can't see any way of reading the light side of it. Interesting... Jonathan