From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754983AbbLJSLb (ORCPT ); Thu, 10 Dec 2015 13:11:31 -0500 Received: from mail1.bemta14.messagelabs.com ([193.109.254.113]:47045 "EHLO mail1.bemta14.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752432AbbLJSLa (ORCPT ); Thu, 10 Dec 2015 13:11:30 -0500 X-Env-Sender: Andreas.Werner@men.de X-Msg-Ref: server-7.tower-193.messagelabs.com!1449771088!9726233!1 X-Originating-IP: [80.255.6.145] X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked X-PGP-Universal: processed; by keys.men.de on Thu, 10 Dec 2015 19:11:28 +0100 Date: Thu, 10 Dec 2015 19:09:28 +0100 From: Andreas Werner To: Guenter Roeck CC: Andreas Werner , , , , Subject: Re: LM90 driver and ti tmp461 detection Message-ID: <20151210180928.GC28022@awelinux> References: <20151210120856.GA27765@awelinux> <5669AB55.5030309@roeck-us.net> <20151210171231.GA28022@awelinux> <5669BB37.3050207@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <5669BB37.3050207@roeck-us.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [192.1.1.170] X-ClientProxiedBy: MEN-EX01.intra.men.de (192.168.1.1) To MEN-EX01.intra.men.de (192.168.1.1) X-EXCLAIMER-MD-CONFIG: e4841e51-7998-49c0-ba41-8b8a0e2d8962 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ... >On Thu, Dec 10, 2015 at 09:49:43AM -0800, Guenter Roeck wrote: > > > >I have a DT based board yes, but i have also planed to submit my changes > >and also wanted to implement the autodetection of the chip. > > > >I have also planned (or need) to implement the "n-Factor Correction" for the > >CPU diodes. There is a register to set this value in the tmp451 and tmp461. > >Would that make sense to add a DT property for the driver to be able > >to set this value? What do you think? > > > > See max6697.c for some examples. Maybe we can use similar bindings. > Seems to be a good way. I think I will also add the extended mode selection via DT. > Guenter > Regards Andy