Re: [PATCHv3 05/16] hwmon: lm75: expose to thermal fw via DT nodes

From: Guenter Roeck
Date: Sat Sep 21 2013 - 19:56:23 EST


On 09/21/2013 04:30 PM, Eduardo Valentin wrote:
On 21-09-2013 14:06, Guenter Roeck wrote:
On 09/18/2013 09:21 AM, Eduardo Valentin wrote:
This patch adds to lm75 temperature sensor the possibility
to expose itself as thermal zone device, registered on the
thermal framework.

The thermal zone is built only if a device tree node
describing a thermal zone for this sensor is present
inside the lm75 DT node. Otherwise, the driver behavior
will be the same.

Cc: Jean Delvare <khali@xxxxxxxxxxxx>
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: lm-sensors@xxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Eduardo Valentin <eduardo.valentin@xxxxxx>

Acked-by: Guenter Roeck <linux@xxxxxxxxxxxx>


Cool! thanks again for taking the time to review this.

I assume this will be sent upstream through the thermal tree ?

Yeah, that is the idea, at least for the core part. The hwmon changes I
believe goes via hwmon tree, right?


Not necessarily, as the hwmon code depends on the core code.
In such cases it is quite common that both are sent through the same tree.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/