[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170429155911.7li5torcliaoerxh@earth>
Date: Sat, 29 Apr 2017 17:59:11 +0200
From: Sebastian Reichel <sre@...nel.org>
To: "Alex A. Mihaylov" <minimumlaw@...bler.ru>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
zbr@...emap.net
Subject: Re: [PATCH 1/2] Add support for OneWire (W1) devices family 0x26
(MAX17211/MAX17215)
Hi,
On Sat, Apr 29, 2017 at 05:34:28PM +0300, Alex A. Mihaylov wrote:
> Maxim Semiconductor MAX17211/MAX17215 single/multi-cell fuel gauge
> monitor with M5 Fuel Gauge algorithm
>
> Slave device provide software layer for access to internal registers
> MAX17211/MAX17215 chip.
Please convert this to regmap. There should be lots of docs and
examples around, for example:
http://elinux.org/images/a/a3/Regmap-_The_Power_of_Subsystems_and_Abstractions.pdf
There is no generic w1 handler, but you can provide custom
read/write functions. Also it would be nice to have this
based on https://lkml.org/lkml/2017/3/16/604. Then everything
could go into the power-supply driver.
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists