<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/hwmon.h, branch v4.17.5</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.17.5</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.17.5'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-02-28T16:37:57+00:00</updated>
<entry>
<title>hwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration</title>
<updated>2018-02-28T16:37:57+00:00</updated>
<author>
<name>Sudeep Holla</name>
<email>sudeep.holla@arm.com</email>
</author>
<published>2017-09-27T15:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d57538004b2e57be6a5d8583b65d1b049245abf7'/>
<id>urn:sha1:d57538004b2e57be6a5d8583b65d1b049245abf7</id>
<content type='text'>
It's useful to know the maximum types of sensor supported by hwmon
framework. It can be used to allocate some data structures when sorting
the monitors based on their type.

This will be used by scmi hwmon support.

Cc: linux-hwmon@vger.kernel.org
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Sudeep Holla &lt;sudeep.holla@arm.com&gt;
</content>
</entry>
<entry>
<title>hwmon: Constify str parameter of hwmon_ops-&gt;read_string</title>
<updated>2017-04-02T14:01:53+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2017-03-07T14:15:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5ba6bcbc335771c37d05b88cbfcad5441b57130b'/>
<id>urn:sha1:5ba6bcbc335771c37d05b88cbfcad5441b57130b</id>
<content type='text'>
The read_string callback is supposed to retrieve a pointer to a
constant string.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Reviewed-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: Add missing HWMON_T_ALARM</title>
<updated>2017-03-22T07:18:22+00:00</updated>
<author>
<name>Peter Huewe</name>
<email>PeterHuewe@gmx.de</email>
</author>
<published>2017-03-16T23:28:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a5023a99393dab276069cd60dad3e61d57720fda'/>
<id>urn:sha1:a5023a99393dab276069cd60dad3e61d57720fda</id>
<content type='text'>
Unfortunately the HWMON_T_ALARM define was missing,
although the associated entry was present in hwmon_temp_attributes.
This is needed to convert drivers to the new interface which use channel
based alarms.

Signed-off-by: Peter Huewe &lt;peterhuewe@gmx.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Rename groups parameter in API to extra_groups</title>
<updated>2016-12-10T05:54:22+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-10-17T00:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=848ba0a2f20dc121a3ef5272a24641d2bd963d8b'/>
<id>urn:sha1:848ba0a2f20dc121a3ef5272a24641d2bd963d8b</id>
<content type='text'>
The 'groups' parameter of hwmon_device_register_with_info() and
devm_hwmon_device_register_with_info() is only necessary if extra
non-standard attributes need to be provided. Rename the parameter
to extra_groups and clarify the documentation.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Deprecate hwmon_device_register()</title>
<updated>2016-12-10T05:54:19+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-10-16T18:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=af1bd36c06b5fad33baa7ee16820226efbd96cd9'/>
<id>urn:sha1:af1bd36c06b5fad33baa7ee16820226efbd96cd9</id>
<content type='text'>
Inform the user that hwmon_device_register() is deprecated,
and suggest conversion to the newest API. Also remove
hwmon_device_register() from the kernel API documentation.

Note that hwmon_device_register() is not marked as __deprecated()
since doing so might result in build errors.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add support for string attributes to new API</title>
<updated>2016-12-10T05:54:16+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-08-08T03:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e159ab5cb1afb519601a961405933c61cdd5a56a'/>
<id>urn:sha1:e159ab5cb1afb519601a961405933c61cdd5a56a</id>
<content type='text'>
The new API is so far only suited for data attributes and does not work
well for string attributes, specifically for the 'label' attributes.
Provide a separate callback function for those.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Clarify when read and write callbacks are mandatory</title>
<updated>2016-12-10T05:54:15+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-11-20T10:55:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f680b2845694a197e7bfc9f56b241f9a3f17296e'/>
<id>urn:sha1:f680b2845694a197e7bfc9f56b241f9a3f17296e</id>
<content type='text'>
The callback descrption in hwmon.h was misleading and stated that read and
write callbacks would be optional. More accurate is is that the callbacks
are mandatory if readable / writeable attributes are present.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add basic pwm attribute support to new API</title>
<updated>2016-09-09T04:34:15+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-26T19:20:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f9f7bb3a0efafb662a4c639bc62df1df2b7321f9'/>
<id>urn:sha1:f9f7bb3a0efafb662a4c639bc62df1df2b7321f9</id>
<content type='text'>
Add basic pwm attribute support (no auto attributes) to new API.

Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add fan attribute support to new API</title>
<updated>2016-09-09T04:34:15+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-26T02:52:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8faee73f92cd4dd4928e6860001315a0cc834c99'/>
<id>urn:sha1:8faee73f92cd4dd4928e6860001315a0cc834c99</id>
<content type='text'>
Acked-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (core) Add energy and humidity attribute support to new API</title>
<updated>2016-09-09T04:34:15+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2016-06-20T18:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6bfcca44a6e7b0a6d92eab39c4cb830516b9568c'/>
<id>urn:sha1:6bfcca44a6e7b0a6d92eab39c4cb830516b9568c</id>
<content type='text'>
Acked-by: Punit Agrawal &lt;punit.agrawal@arm.com&gt;
Reviewed-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
