lkml.org 
[lkml]   [2020]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH RFC 0/4] Platform: OLPC: Register regulators for all power lines to DCON
Date
Hi,

I'm wondering if I could ask for help hooking up the OLPC display
controller driver to the power regulator framework. The DCON chip uses
four different power supplies (3.3V, 2.5V and two 1.8V) and the EC is in
charge of switching the regulators.

I'm not sure how does this plug into the regulator framework. Is it okay
if I make the EC driver expose the regulators and enforce that they all
enable at the same time? The patch set below aims to implement something
like that:

The first three patches are just loosely related to the problem; they
just prepare the field for the last patch:

[PATCH RFC 1/4] Platform: OLPC: Specify the enable time for DCON power
[PATCH RFC 2/4] Platform: OLPC: Fix handling of regulator registration
[PATCH RFC 3/4] Platform: OLPC: Remove regulator_dev from the priv struct

This exposes three regulators all controlling the same EC power interface:

[PATCH RFC 4/4] Platform: OLPC: Register regulators for all power lines

Thank you
Lubo

\
 
 \ /
  Last update: 2020-12-01 09:28    [W:0.026 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site