From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4FFADCC2.6080006@cam.ac.uk> Date: Mon, 09 Jul 2012 14:29:38 +0100 From: Jonathan Cameron MIME-Version: 1.0 To: Marek Vasut CC: =?UTF-8?B?TWFydGluIExpxaFrYQ==?= , platform-driver-x86@vger.kernel.org, linux-iio@vger.kernel.org, Zhang Rui , Corentin Chary , joeyli , Len Brown , pavel@denx.de, Jonathan Cameron , Jon Brenner , Peter Meerwald Subject: Re: ACPI ambient light sensor References: <201207082228.14318.marex@denx.de> In-Reply-To: <201207082228.14318.marex@denx.de> Content-Type: text/plain; charset=UTF-8; format=flowed List-ID: cc'd Jon Brenner and Peter Meerwald. > >> Hello, >> Iconia Tab W500 contains Ambient Light Sensor (hid 0008), I started >> implementing IIO device drive having following questions: >> >> - chip could offer following variables: illuminance, color chromaticity >> and color temperature, how should I connect last 2 vars to any of IIO >> CHANNEL types? Jon's recent proposed additional modifiers cover temperature. Chromaticity is a new one I think though? >> - I'm not sure how to connect an illuminance mapping to IIO >> infrastructure? When you say mapping, what do you mean? That term tends to get used for quite a few different things... > > See IIO_DEVICE_ATTR() maybe ? > >> Thank you, >> Martin Liška > > Best regards, > Marek Vasut > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >