<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/hwmon.h, branch linux-4.20.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.20.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.20.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2018-10-11T03:37:13+00:00</updated>
<entry>
<title>hwmon: (core) Add hwmon_in_enable attribute</title>
<updated>2018-10-11T03:37:13+00:00</updated>
<author>
<name>Nicolin Chen</name>
<email>nicoleotsuka@gmail.com</email>
</author>
<published>2018-10-05T23:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=68c0d69dee594e1488aebe12aa50fd79a3e5e5b5'/>
<id>urn:sha1:68c0d69dee594e1488aebe12aa50fd79a3e5e5b5</id>
<content type='text'>
According to hwmon ABI, in%d_enable is a sysfs interface that
allows user space to enable and disable the input sensor. So
this patch just simply adds the attribute to the list.

Signed-off-by: Nicolin Chen &lt;nicoleotsuka@gmail.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: Add helper to tell if a char is invalid in a name</title>
<updated>2018-07-18T01:01:46+00:00</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2018-07-17T19:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dcb5d0fcaa1ddd0af9c18ef51e6b05e38a6cec71'/>
<id>urn:sha1:dcb5d0fcaa1ddd0af9c18ef51e6b05e38a6cec71</id>
<content type='text'>
HWMON device names are not allowed to contain "-* \t\n". Add a helper
which will return true if passed an invalid character. It can be used
to massage a string into a hwmon compatible name by replacing invalid
characters with '_'.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>hwmon: Add support for power min, lcrit, min_alarm and lcrit_alarm</title>
<updated>2018-07-18T01:01:46+00:00</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2018-07-17T19:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=aa7f29b07c8702127124d0522e3cd46850cdbc41'/>
<id>urn:sha1:aa7f29b07c8702127124d0522e3cd46850cdbc41</id>
<content type='text'>
Some sensors support reporting minimal and lower critical power, as
well as alarms when these thresholds are reached. Add support for
these attributes to the hwmon core.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>hwmon: Add missing HWMON_T_LCRIT_ALARM define</title>
<updated>2018-07-18T01:01:46+00:00</updated>
<author>
<name>Andrew Lunn</name>
<email>andrew@lunn.ch</email>
</author>
<published>2018-07-17T19:48:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2fe31e43124040a67495fa81f7ac67bc4c09ebc8'/>
<id>urn:sha1:2fe31e43124040a67495fa81f7ac67bc4c09ebc8</id>
<content type='text'>
The enum hwmon_temp_lcrit_alarm exists, but the BIT definition is
missing.

Signed-off-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<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>
</feed>
