Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753264AbbLJMLV (ORCPT ); Thu, 10 Dec 2015 07:11:21 -0500 Received: from mail1.bemta3.messagelabs.com ([195.245.230.175]:58903 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751421AbbLJMLT (ORCPT ); Thu, 10 Dec 2015 07:11:19 -0500 X-Env-Sender: Andreas.Werner@men.de X-Msg-Ref: server-5.tower-39.messagelabs.com!1449749460!11195278!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 13:11:00 +0100 Date: Thu, 10 Dec 2015 13:08:57 +0100 From: Andreas Werner To: CC: , , , Subject: LM90 driver and ti tmp461 detection Message-ID: <20151210120856.GA27765@awelinux> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline 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 Content-Length: 1000 Lines: 29 Hi, i have a temperature sensor device named "TI TMP461" which is quite the same than the tmp451 which is already included in the lm90 driver. I just want to add the tmp461 to the driver but currently i have no way to differ between the tmp461 and tmp451. The main different is that the tmp461 address can be configured by to Pins whereas the tmp451 has a fixed address. The register layout is quite the same except that the tmp461 has one register more (0x16 Channel Enable Register). Every zero bit is the same for both bits, so we cannot use these bits for identification. Does anybody of you have a tmp451 to read out the register 0x16 (which is not implement but i expect a value). May be we can use this to identify the tmp461. Regards Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/