Skip to contentSkip to conversation

hwmon: lm73: add device tree support to LM73 driver

PATCH Guenter Roeck 2 participants 2 messages Nov 29, 2012

lore
Share & tools
lore
#0 lore raw
Quoted 13 lines · Philipp Zabel

This patch adds device tree support to the lm73 driver. It is a trivial i2c device that matches against the compatible property value "national,lm73":

    i2c {
            /* ... */

            temperature-sensor@49 {
                    compatible = "national,lm73";
                    reg = <0x49>;
            };
    };
Quoted 1 line

Hi Philipp,

You should not need explicit dt support in the driver source. I have been using dt to instantiate other i2c devices without it. Can you try with the original driver ?

Thanks,
Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Am Donnerstag, den 29.11.2012, 10:18 -0800 schrieb Guenter Roeck:

Quoted 16 lines · Philipp Zabel
Quoted 13 lines

This patch adds device tree support to the lm73 driver. It is a trivial i2c device that matches against the compatible property value "national,lm73":

    i2c {
            /* ... */

            temperature-sensor@49 {
                    compatible = "national,lm73";
                    reg = <0x49>;
            };
    };
Quoted 1 line
Quoted 8 lines

Hi Philipp,

You should not need explicit dt support in the driver source. I have been using dt to instantiate other i2c devices without it. Can you try with the original driver ?

Thanks,
Guenter

Of course you are right. Please pretend this patch never happened :)

thanks
Philipp

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors