<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/Documentation/hwmon, branch v6.5-rc6</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v6.5-rc6</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v6.5-rc6'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2023-06-25T03:17:18+00:00</updated>
<entry>
<title>hwmon: (oxp-sensors) Add support for AOKZOE A1 PRO</title>
<updated>2023-06-25T03:17:18+00:00</updated>
<author>
<name>Jerrod Frost</name>
<email>jcfrosty@proton.me</email>
</author>
<published>2023-06-25T01:23:44+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4dbbaf8fbdbd13adc80731b2452257857e4c2d8b'/>
<id>urn:sha1:4dbbaf8fbdbd13adc80731b2452257857e4c2d8b</id>
<content type='text'>
This device is an iteration over the AOKZOE A1 with the same EC mapping
and features.

It also has support for tt_toggle.

Signed-off-by: Jerrod Frost &lt;jcfrosty@proton.me&gt;
Signed-off-by: Joaquín Ignacio Aramendía &lt;samsagax@gmail.com&gt;
Link: https://lore.kernel.org/r/20230625012347.121352-2-samsagax@gmail.com
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (corsair-psu) update Series 2022 and 2023 support</title>
<updated>2023-06-24T15:47:29+00:00</updated>
<author>
<name>Wilken Gottwalt</name>
<email>wilken.gottwalt@posteo.net</email>
</author>
<published>2023-06-24T10:14:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=741ed0856d5ef94c2dbdbf58cb13d262d89505bb'/>
<id>urn:sha1:741ed0856d5ef94c2dbdbf58cb13d262d89505bb</id>
<content type='text'>
The series 2022/2023 reports slightly longer vendor/product strings
and shares USB ids. Technically the reply size is the USB HID packet
size (64 bytes) but all the supported commands do not use more than 8
bytes and replies reporting back strings do not use more then 24 bytes
(vendor and product are in one string in the newer devices now). The
rest of the reply is always filled with '\0'. Also update comments
and documentation accordingly.

Signed-off-by: Wilken Gottwalt &lt;wilken.gottwalt@posteo.net&gt;
Link: https://lore.kernel.org/r/ZJbB72CAPmLflhHG@monster.localdomain
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (corsair-psu) various cleanups</title>
<updated>2023-06-23T14:47:37+00:00</updated>
<author>
<name>Wilken Gottwalt</name>
<email>wilken.gottwalt@posteo.net</email>
</author>
<published>2023-06-23T13:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b54c4b02abd1578132712eae5b294a9c77e7422b'/>
<id>urn:sha1:b54c4b02abd1578132712eae5b294a9c77e7422b</id>
<content type='text'>
Fix some typos, adjust documentation and comments to current state of
knowledge and update coding style to be more uniform.

Signed-off-by: Wilken Gottwalt &lt;wilken.gottwalt@posteo.net&gt;
Link: https://lore.kernel.org/r/ZJWf3H972hGgLK-8@monster.localdomain
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (corsair-psu) add support for reading PWM values and mode</title>
<updated>2023-06-22T17:42:39+00:00</updated>
<author>
<name>Wilken Gottwalt</name>
<email>wilken.gottwalt@posteo.net</email>
</author>
<published>2023-06-22T17:09:28+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=0d67bbc48c7397bc97fa91c9b9c66c6570451131'/>
<id>urn:sha1:0d67bbc48c7397bc97fa91c9b9c66c6570451131</id>
<content type='text'>
Add support for reading PWM values and mode,
and update documentation accordingly.

Signed-off-by: Wilken Gottwalt &lt;wilken.gottwalt@posteo.net&gt;
Link: https://lore.kernel.org/r/ZJSASByXpzoZ0XyH@monster.localdomain
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (oxp-sensors) Add tt_toggle attribute on supported boards</title>
<updated>2023-06-18T03:49:18+00:00</updated>
<author>
<name>Joaquín Ignacio Aramendía</name>
<email>samsagax@gmail.com</email>
</author>
<published>2023-06-11T14:33:20+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=be144ee49127216b456da26f1a32b6ba281ac505'/>
<id>urn:sha1:be144ee49127216b456da26f1a32b6ba281ac505</id>
<content type='text'>
OneXPlayer boards from the last generation (both for OneXPlayer and AOK
ZOE brands) have a toggle in the EC to switch the "Turbo/Silent" button
into a different keyboard event.

Add a means to use that "Turbo button takeover" function and expose it
to userspace in a custom sysfs `tt_toggle` attribute. It can be read to
take the current state. Write 1|0 to activate the function. The specific
keycode is dependent on the board but can be checked by running
`evtest` utility.

Newer BIOS on the OneXPlayer added this function aside from string changes.
Add a board enum to differentiate it from the old OneXplayer Mini AMD BIOS.

Currently known supported boards:
- AOK ZOE A1
- OneXPlayer Mini AMD (only newer BIOS version supported)
- OneXPlayer Mini Pro

Signed-off-by: Joaquín Ignacio Aramendía &lt;samsagax@gmail.com&gt;
Link: https://lore.kernel.org/r/20230611143332.40590-2-samsagax@gmail.com
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (sht3x) Add new non-stardard sysfs attribute</title>
<updated>2023-06-17T16:14:39+00:00</updated>
<author>
<name>JuenKit Yip</name>
<email>JuenKit_Yip@hotmail.com</email>
</author>
<published>2023-06-16T16:00:16+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=af5ab550125f1bbae0ba89ed8e1994a11f40b96a'/>
<id>urn:sha1:af5ab550125f1bbae0ba89ed8e1994a11f40b96a</id>
<content type='text'>
Add "repeatability" attribute to sysfs, it could be
read or written to control the sensor.

Signed-off-by: JuenKit Yip &lt;JuenKit_Yip@hotmail.com&gt;
Link: https://lore.kernel.org/r/DB4PR10MB6261B507C7656E3568DA33E39258A@DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM
[groeck: Fixed multi-line alignment; dropped check of unsigned against &lt; 0]
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (sht3x)replace "high-precision" property to "repeatability"</title>
<updated>2023-06-17T15:54:34+00:00</updated>
<author>
<name>JuenKit Yip</name>
<email>JuenKit_Yip@hotmail.com</email>
</author>
<published>2023-06-16T16:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=7d6d53ba3bccc5497e5bda5da4868c410f3eaa02'/>
<id>urn:sha1:7d6d53ba3bccc5497e5bda5da4868c410f3eaa02</id>
<content type='text'>
Replace use of "precision" with "repeatability" to match
datasheet terminology.

No functional change.

Signed-off-by: JuenKit Yip &lt;JuenKit_Yip@hotmail.com&gt;
Link: https://lore.kernel.org/r/DB4PR10MB626113BFFA66DE32C3479D229258A@DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM
[groeck: Added commit description]
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (sht3x) remove blocking_io property</title>
<updated>2023-06-17T15:51:23+00:00</updated>
<author>
<name>JuenKit Yip</name>
<email>JuenKit_Yip@hotmail.com</email>
</author>
<published>2023-06-16T16:00:13+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5bca68ac63571b67f905b45f6caffd12f8ab80b7'/>
<id>urn:sha1:5bca68ac63571b67f905b45f6caffd12f8ab80b7</id>
<content type='text'>
Due to no support on clock-strench, blocking mode was removed and
now single-shot mode only uses non-blocking mode.

Signed-off-by: JuenKit Yip &lt;JuenKit_Yip@hotmail.com&gt;
Link: https://lore.kernel.org/r/DB4PR10MB6261DA9202AF37B4F6ECDD6C9258A@DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (sht3x) remove sht3x_platform_data</title>
<updated>2023-06-17T15:50:05+00:00</updated>
<author>
<name>JuenKit Yip</name>
<email>JuenKit_Yip@hotmail.com</email>
</author>
<published>2023-06-16T16:00:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=fc669e922ecff02c173a8484f7a5ed4810089209'/>
<id>urn:sha1:fc669e922ecff02c173a8484f7a5ed4810089209</id>
<content type='text'>
Since no in-tree driver supports it, sht3x_platform_data has been
removed and the relevant properties have been moved to sht3x_data.

Signed-off-by: JuenKit Yip &lt;JuenKit_Yip@hotmail.com&gt;
Link: https://lore.kernel.org/r/DB4PR10MB626126FB7226D5AF341197449258A@DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>Documentation/hwmon: Fix description of devm_hwmon_device_unregister()</title>
<updated>2023-06-10T14:38:22+00:00</updated>
<author>
<name>Yongsheng Yang</name>
<email>iyysheng@gmail.com</email>
</author>
<published>2023-06-09T07:55:10+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=5e28d5e4b8bbc94526e66e808ef0ba1b91b72b3e'/>
<id>urn:sha1:5e28d5e4b8bbc94526e66e808ef0ba1b91b72b3e</id>
<content type='text'>
Use devm_hwmon_device_register_with_info to replace
hwmon_device_register_with_info in description of
devm_hwmon_device_unregister.

Signed-off-by: Yongsheng Yang &lt;iyysheng@gmail.com&gt;
Reviewed-by: Bagas Sanjaya &lt;bagasdotme@gmail.com&gt;
Link: https://lore.kernel.org/r/20230609075510.1305-1-iyysheng@gmail.com
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
