lkml.org 
[lkml]   [2016]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: lm-senser can't detect thermal on thermal_zone
    Date

    Hi Zhang

    > > > > struct thermal_zone_device *thermal_zone_device_register(xxxx)
    > > > > {
    > > > > ...
    > > > > if (!tz->tzp || !tz->tzp->no_hwmon) {
    > > > > result = thermal_add_hwmon_sysfs(tz);
    > > > > ...
    > > > > }
    > > > > ...
    > > > > }
    > > > >
    > > > > Does this mean "thermal_zone doesn't use lm-senser" ?
    >
    > I'd prefer to say of_thermal registered thermal_zone doesn't use lm-
    > sensor.
    > If you're really want to see hwmon interface, I think you should use
    > thermal API (thermal_zone_device_register) directly.

    Thank you for your feedback.
    My driver is supporting both of_thermal and thermal API.
    So, switching is not a big deal.

    But can you teach me why of_thermal doesn't use lm-senser ??

    \
     
     \ /
      Last update: 2016-06-14 09:21    [W:2.924 / U:1.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site