aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwmon
diff options
context:
space:
mode:
authorMahoda Ratnayaka <mahoda.ratnayaka@alliedtelesis.co.nz>2017-03-31 12:01:00 +1300
committerGuenter Roeck <linux@roeck-us.net>2017-04-02 07:01:53 -0700
commit67043d1853d67e3a03038654ab51df3aa8f66ae4 (patch)
tree539967b58caf928308eb49d91c1fd66a14ce3138 /Documentation/devicetree/bindings/hwmon
parentDocumentation: dtb: lm87: Add hwmon binding documentation (diff)
downloadlinux-dev-67043d1853d67e3a03038654ab51df3aa8f66ae4.tar.xz
linux-dev-67043d1853d67e3a03038654ab51df3aa8f66ae4.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
0 files changed, 0 insertions, 0 deletions