From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ladislav Michl Subject: [PATCH v4 0/2] power: supply: ltc2941-battery-gauge: Support LTC2942 Date: Tue, 11 Jul 2017 14:58:21 +0200 Message-ID: <20170711125821.nt5opxjvbjcppiaw@lenoch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23993958AbdGKM6W2xrnZ (ORCPT + 1 other); Tue, 11 Jul 2017 14:58:22 +0200 Content-Disposition: inline Sender: linux-pm-owner@vger.kernel.org To: linux-pm@vger.kernel.org, devicetree@vger.kernel.org Cc: Mike Looijmans , Javier Martinez Canillas , Sebastian Reichel List-Id: devicetree@vger.kernel.org This is 4th version of patch. Changelog: - v2: reworked voltage computing to not overflow and keep presision - v3: update devicetree binding documentation - v4: add ltc2942 devicetree compatible LTC2942 is pin compatible with LTC2941 providing few more registers holding information about battery voltage and temperature. It can be runtime detected using bit A7 in the Status register. PATCH 1/2 defines LTC2942 registers with no functional changes while 2/2 does actually the job. I'm not sure, whenever splitting support into two patches makes sense, but it just makes reviewing easier. I'd happily squash patches together. Comments welcome, ladis