lkml.org 
[lkml]   [2023]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRight place for pmic powermeter code
I'm working on pmic s2dos05 driver. It's basically a voltage regulator
with ADC capable
of measuring current and power. It is used in portable electronic
devices, like smartphones,
for example powering display and touchscreen in Samsung Galaxy S9, so the phone
is able to estimate display power consumption. In the vendor kernel,
it just has a bunch of
sysfs attributes, and the measuring code in the regulator folder.

Where is the right place to put regulator power code, and where to
expose it in sysfs?

\
 
 \ /
  Last update: 2023-09-22 16:30    [W:0.030 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site