lkml.org 
[lkml]   [2008]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [UPDATED v2][PATCH 0/6] regulator: voltage and current regulator framework
From
Date
On Fri, 2008-02-22 at 11:22 +0800, eric miao wrote:
>
> I have a rough peek into the git tree on opensource.wolfsonmicro.com,
> find another PMIC framework, and here instead is a regulator framework,
> looks like a simplified or dedicated one. What is their relationship?
>

This is probably the old version you came across. It was tightly coupled
to a particular PMIC and SoC CPU and not portable. The new version that
I posted is portable and not tied to a particular PMIC or CPU
architecture. The new version is hosted in the audioplus git repository
(imx31 branch).

> For those PMIC that covers additional features, like
> - usb vbus detection (or pull-up/pull-down)
> - audio codec
> - touch screen
> - battery monitor/ fuel gauge
> - battery charger
> - possible many others
>
> How do you plan to handle them?

The WM8350 and MC13783 are both multi feature PMIC's like above. We
handle WM8350 PMIC access via a bus manager. This controls IO access to
the WM8350 so that client driver (including the regulator driver) IO
does not collide. We also cache non volatile PMIC registers to speed up
access. Please have a look at drivers/regulator/wm8350/wm8350-bus.c in
the imx31 branch for details.

Liam






\
 
 \ /
  Last update: 2008-02-22 17:15    [W:0.039 / U:2.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site