From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Vasut To: Martin =?utf-8?q?Li=C5=A1ka?= Subject: Re: ACPI ambient light sensor Date: Sun, 8 Jul 2012 22:28:14 +0200 Cc: platform-driver-x86@vger.kernel.org, linux-iio@vger.kernel.org, Zhang Rui , Corentin Chary , joeyli , Len Brown , pavel@denx.de, Jonathan Cameron , Jonathan Cameron References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201207082228.14318.marex@denx.de> List-ID: Dear Martin Li=C5=A1ka, > Hello, > Iconia Tab W500 contains Ambient Light Sensor (hid 0008), I started > implementing IIO device drive having following questions: >=20 > - chip could offer following variables: illuminance, color chromaticity > and color temperature, how should I connect last 2 vars to any of IIO > CHANNEL types? > - I'm not sure how to connect an illuminance mapping to IIO > infrastructure? See IIO_DEVICE_ATTR() maybe ? > Thank you, > Martin Li=C5=A1ka Best regards, Marek Vasut