[PATCH linux 2/6] hwmon: occ: Add sysfs interface

Brad Bishop bradleyb at fuzziesquirrel.com
Wed Jan 4 11:13:13 AEDT 2017


> On Jan 3, 2017, at 7:06 PM, Joel Stanley <joel at jms.id.au> wrote:
> 
> On Wed, Jan 4, 2017 at 10:49 AM, Brad Bishop
> <bradleyb at fuzziesquirrel.com> wrote:
>> What if the driver is built into the kernel?  Is there such a thing as module only drivers?
> 
> Our kernel is build with module loading disabled at present.
> 
> modprobing the driver when userspace is ready is a neat hack that we
> could use for now. However, the driver will need a mechanism that

Do you happen to know if ‘a mechanism’ is something that needs to be invented or 
if Linux already has something?

> tells it to bind to the hardware when it becomes available. The same
> mechanism would be useful for the fsi driver to initiate a scan and
> bind it's client drivers.
> 
> Cheers,
> 
> Joel


More information about the openbmc mailing list