Re: [PATCH v2 04/15] drivers: thermal: tsens: Add debugfs support

From: Stephen Boyd
Date: Tue Aug 27 2019 - 20:31:49 EST


Quoting Amit Kucheria (2019-08-27 05:14:00)
> Dump some basic version info and sensor details into debugfs. Example
> from qcs404 below:
>
> --(/sys/kernel/debug) $ ls tsens/
> 4a9000.thermal-sensor version
> --(/sys/kernel/debug) $ cat tsens/version
> 1.4.0
> --(/sys/kernel/debug) $ cat tsens/4a9000.thermal-sensor/sensors
> max: 11
> num: 10
>
> id slope offset
> ------------------------

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>