lkml.org 
[lkml]   [2022]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] hwmon: (sun4i-lradc) Add driver for LRADC found on Allwinner A13/A20 SoC
Hi Maxime,

> I guess a better path forward would be to either register an hwmon
> device in the original driver, or convert that driver to iio and use
> iio-hwmon.

My first idea was to add hwmon to sun4i-lradc-keys.c driver. But soon as
I began hacking the driver I quickly realized that it would be a mess
since keyboard and hwmon belong to two different subsystems. Besides we
would need to invent a way to control which way the driver works (new
bindings?). So I decided that a new independent small driver would be a
better solution.

---
Regards,
Ruslan.

Fabmicro, LLC.

\
 
 \ /
  Last update: 2022-05-03 10:52    [W:0.051 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site