Searched hist:"67043 d18" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | lm87.c | 67043d18 Thu Mar 30 18:01:00 CDT 2017 Mahoda Ratnayaka <mahoda.ratnayaka@alliedtelesis.co.nz> hwmon: (lm87) Allow channel data to be set from dts file
Currently there is no method for setting the channel value from the DTS file. When, the driver uses a dts file to initialize the driver platform_data is not set. As a result channel variable may not be set correctly.
Without the channel variable set correctly, some of the sensors will not be initialized correctly. For example temp3 sensor sysfs entries.
This implements the schema agreed with the device tree binding document.
Signed-off-by: Mahoda Ratnayaka <mahoda.ratnayaka@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net> 67043d18 Thu Mar 30 18:01:00 CDT 2017 Mahoda Ratnayaka <mahoda.ratnayaka@alliedtelesis.co.nz> hwmon: (lm87) Allow channel data to be set from dts file Currently there is no method for setting the channel value from the DTS file. When, the driver uses a dts file to initialize the driver platform_data is not set. As a result channel variable may not be set correctly. Without the channel variable set correctly, some of the sensors will not be initialized correctly. For example temp3 sensor sysfs entries. This implements the schema agreed with the device tree binding document. Signed-off-by: Mahoda Ratnayaka <mahoda.ratnayaka@alliedtelesis.co.nz> Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|