[PATCH v3] lm87: Allow channel data to be set from dts file.

2016-11-14 Thread Mahoda Ratnayaka
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 --- Notes: changes since v1: Removed unncessary variables channel and np. Update the code as per review

[PATCH v4] Documentation: dtb: lm87: Add hwmon binding documentation.

2016-11-01 Thread Mahoda Ratnayaka
This patch adds lm87 hwmon device tree node documentation. Signed-off-by: Mahoda Ratnayaka --- Notes: Changes since v1: As suggested include all the changes are moved in to the same patch and the all the optional properties are now defined instead of using a single variable

[PATCH v3] Documentation: dtb: lm87: Add hwmon binding documentation.

2016-10-10 Thread Mahoda Ratnayaka
This patch adds lm87 hwmon device tree node documentation. Signed-off-by: Mahoda Ratnayaka --- Notes: Changes since v1: As suggested include all the changes are moved in to the same patch and the all the optional properties are now defined instead of using a single variable

Re: [PATCH v2] Documentation: dtb: lm87: Add hwmon binding documentation.

2016-10-10 Thread Mahoda Ratnayaka
r, and both of them have the same pin configuration for setting the channel mode register. So, I don't think vendor prefixes are applicable for this case. Thanks, Mahoda From: Rob Herring Sent: Sunday, 9 October 2016 2:29 p.m. To: Mahoda R

[PATCH v2] Documentation: dtb: lm87: Add hwmon binding documentation.

2016-10-03 Thread Mahoda Ratnayaka
This patch adds lm87 hwmon device tree node documentation. Signed-off-by: Mahoda Ratnayaka --- Notes: Changes since v1: As suggested include all the changes are moved in to the same patch and the all the optional properties are now defined instead of using a single variable

Re: [PATCH v2] lm87: Allow channel data to be set from dts file.

2016-09-21 Thread Mahoda Ratnayaka
kernel.org on behalf of Guenter Roeck Sent: Tuesday, 20 September 2016 9:55 p.m. To: Mahoda Ratnayaka; Jean Delvare; linux-hwmon@vger.kernel.org; devicet...@vger.kernel.org; Rob Herring Cc: Chris Packham Subject: Re: [PATCH v2] lm87: Allow channel data to be set from dts file. On 09/19/2016 10:22

[PATCH v2] lm87: Allow channel data to be set from dts file.

2016-09-19 Thread Mahoda Ratnayaka
initialized correctly. For example temp3 sensor sysfs entries. This adds the required functionality to set the channel variable from the DTS file. This is done via reading the reading a property named "channel" from the lm87 driver. Signed-off-by: Mahoda Ratnayaka --- Notes: cha

[PATCH 1/2] Documentation: dtb: lm87: Add hwmon binding documentation.

2016-09-19 Thread Mahoda Ratnayaka
This patch adds lm87 hwmon device tree node documentation. Signed-off-by: Mahoda Ratnayaka --- Documentation/devicetree/bindings/hwmon/lm87.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/lm87.txt diff --git a/Documentation

Re: [PATCH] hwmon: (lm87) Add channel data from the dts file.

2016-09-06 Thread Mahoda Ratnayaka
ks, Mahoda From: linux-hwmon-ow...@vger.kernel.org on behalf of Guenter Roeck Sent: Wednesday, 7 September 2016 5:20 a.m. To: Mahoda Ratnayaka Cc: Jean Delvare; linux-hwmon@vger.kernel.org; Chris Packham Subject: Re: [PATCH] hwmon: (lm87) Add channel data from the dts file. On Mon, Sep 0

[PATCH] hwmon: (lm87) Add channel data from the dts file.

2016-09-04 Thread Mahoda Ratnayaka
initialized correctly. For example temp3 sensor sysfs entries. This adds the required functionality to set the channel variable from the DTS file. This is done via reading the reading a property named "channel" from the lm87 driver. Signed-off-by: Mahoda Ratnayaka --- drivers/hwmon/l