lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CABTCjFCe0-Ghy4roZHnuXpRataQVd3OOaPDH-ZvDQxZu11Uvxw@mail.gmail.com>
Date:   Fri, 22 Sep 2023 16:31:07 +0300
From:   Dzmitry Sankouski <dsankouski@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: Right 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?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ