* Trying to improve a kernel driver
@ 2021-08-10 7:24 Thomas Marangoni
0 siblings, 0 replies; only message in thread
From: Thomas Marangoni @ 2021-08-10 7:24 UTC (permalink / raw)
To: linux-newbie
Hello,
I'm new to developing kernel drivers and want to improve the driver of
the axp209 power management chip. I've read the documentation about the
Linux power supply class
(https://www.kernel.org/doc/html/latest/power/power_supply_class.html)
and there it says: "Power supply class is extensible, and allows to
define drivers own attributes.". The Problem is I couldn't find an
example of how to add own attributes. My goal is to have an own
attribute showing up at /sys/class/power_supply/axp20x-battery/
If someone can give me a hint, extended documentation or a better place
to ask, that would be great!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-10 7:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 7:24 Trying to improve a kernel driver Thomas Marangoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).