From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v3 0/4] iio: adc: Maxim max9611 driver Date: Mon, 27 Mar 2017 10:53:35 +0200 Message-ID: References: <1490369323-13866-1-git-send-email-jacopo+renesas@jmondi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1490369323-13866-1-git-send-email-jacopo+renesas-AW8dsiIh9cEdnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jacopo Mondi Cc: Wolfram Sang , Magnus Damm , Laurent Pinchart , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald , Rob Herring , Mark Rutland , linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux-Renesas , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: devicetree@vger.kernel.org Hi Jacopo, On Fri, Mar 24, 2017 at 4:28 PM, Jacopo Mondi wrote: > output reported from iio_info tool: > iio:device0: max9611_vdd > 6 channels found: > temp: (input) > 2 channel-specific attributes found: > attr 0: scale value: 0.480076812 > attr 1: raw value: 59 According to Documentation/ABI/testing/sysfs-bus-iio, temperature units after application of scale and offset are milli degrees Celsius, so your scale value should be 480.076812. BTW, mine runs 3 degrees cooler, but it's located in the coldest room in my house ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html