<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/platform, branch v5.10</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.10</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.10'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-11-26T14:49:16Z</updated>
<entry>
<title>platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet</title>
<updated>2020-11-26T14:49:16Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2020-11-24T11:04:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c9aa128080cbce92f8715a9328f88d8ca3134279'/>
<id>urn:sha1:c9aa128080cbce92f8715a9328f88d8ca3134279</id>
<content type='text'>
Add touchscreen info for the Irbis TW118 tablet.

Reported-and-tested-by: russianneuromancer &lt;russianneuromancer@ya.ru&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Link: https://lore.kernel.org/r/20201124110454.114286-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: touchscreen_dmi: Add info for the Predia Basic tablet</title>
<updated>2020-11-26T14:49:02Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2020-10-15T19:49:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0f511edc6ac12f1ccf1c6c2d4412f5ed7ba426a6'/>
<id>urn:sha1:0f511edc6ac12f1ccf1c6c2d4412f5ed7ba426a6</id>
<content type='text'>
Add touchscreen info for the Predia Basic tablet.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Acked-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Link: https://lore.kernel.org/r/20201015194949.50566-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC</title>
<updated>2020-11-26T14:48:55Z</updated>
<author>
<name>Max Verevkin</name>
<email>me@maxverevkin.tk</email>
</author>
<published>2020-11-24T13:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=8b205d3e1bf52ab31cdd5c55f87c87a227793d84'/>
<id>urn:sha1:8b205d3e1bf52ab31cdd5c55f87c87a227793d84</id>
<content type='text'>
The Pavilion 13 x360 PC has a chassis-type which does not indicate it is
a convertible, while it is actually a convertible. Add it to the
dmi_switches_allow_list.

Signed-off-by: Max Verevkin &lt;me@maxverevkin.tk&gt;
Link: https://lore.kernel.org/r/20201124131652.11165-1-me@maxverevkin.tk
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: toshiba_acpi: Fix the wrong variable assignment</title>
<updated>2020-11-26T14:48:46Z</updated>
<author>
<name>Kaixu Xia</name>
<email>kaixuxia@tencent.com</email>
</author>
<published>2020-11-22T05:49:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a72c46ac4d665614faa25e267c3fb27fb729ed7'/>
<id>urn:sha1:2a72c46ac4d665614faa25e267c3fb27fb729ed7</id>
<content type='text'>
The commit 78429e55e4057 ("platform/x86: toshiba_acpi: Clean up
variable declaration") cleans up variable declaration in
video_proc_write(). Seems it does the variable assignment in the
wrong place, this results in dead code and changes the source code
logic. Fix it by doing the assignment at the beginning of the funciton.

Fixes: 78429e55e4057 ("platform/x86: toshiba_acpi: Clean up variable declaration")
Reported-by: Tosk Robot &lt;tencent_os_robot@tencent.com&gt;
Signed-off-by: Kaixu Xia &lt;kaixuxia@tencent.com&gt;
Link: https://lore.kernel.org/r/1606024177-16481-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE</title>
<updated>2020-11-26T14:48:37Z</updated>
<author>
<name>Timo Witte</name>
<email>timo.witte@gmail.com</email>
</author>
<published>2020-08-04T00:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9e7a005ad56aa7d6ea5830c5ffcc60bf35de380b'/>
<id>urn:sha1:9e7a005ad56aa7d6ea5830c5ffcc60bf35de380b</id>
<content type='text'>
Got a dmesg message on my AMD Renoir based Acer laptop:
"acer_wmi: Unknown key number - 0x84" when toggling keyboard
background light

Signed-off-by: Timo Witte &lt;timo.witte@gmail.com&gt;
Reviewed-by: "Lee, Chun-Yi" &lt;jlee@suse.com&gt;
Link: https://lore.kernel.org/r/20200804001423.36778-1-timo.witte@gmail.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: thinkpad_acpi: Whitelist P15 firmware for dual fan control</title>
<updated>2020-11-26T14:45:40Z</updated>
<author>
<name>Matthias Maier</name>
<email>tamiko@43-1.org</email>
</author>
<published>2020-11-26T00:04:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=80a8c3185f5047dc7438ed226b72385bf93b4071'/>
<id>urn:sha1:80a8c3185f5047dc7438ed226b72385bf93b4071</id>
<content type='text'>
This commit enables dual fan control for the following new Lenovo
models: P15, P15v.

Signed-off-by: Matthias Maier &lt;tamiko@43-1.org&gt;
Link: https://lore.kernel.org/r/20201126000416.2459645-2-tamiko-ibm-acpi-devel@43-1.org
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: thinkpad_acpi: Send tablet mode switch at wakeup time</title>
<updated>2020-11-26T14:45:24Z</updated>
<author>
<name>Benjamin Berg</name>
<email>bberg@redhat.com</email>
</author>
<published>2020-11-23T13:21:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e40cc1b476d60f22628741e53cf3446a29e6e6b9'/>
<id>urn:sha1:e40cc1b476d60f22628741e53cf3446a29e6e6b9</id>
<content type='text'>
The lid state may change while the machine is suspended. As such, we may
need to re-check the state at wake-up time (at least when waking up from
hibernation).
Add the appropriate call to the resume handler in order to sync the
SW_TABLET_MODE switch state with the hardware state.

Fixes: dda3ec0aa631 ("platform/x86: thinkpad_acpi: Implement tablet mode using GMMS method")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=210269
Signed-off-by: Benjamin Berg &lt;bberg@redhat.com&gt;
Acked-by: Henrique de Moraes Holschuh &lt;hnh@hmh.eng.br&gt;
Link: https://lore.kernel.org/r/20201123132157.866303-1-benjamin@sipsolutions.net
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: thinkpad_acpi: Add BAT1 is primary battery quirk for Thinkpad Yoga 11e 4th gen</title>
<updated>2020-11-26T14:44:44Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2020-11-09T10:35:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c986a7024916c92a775fc8d853fba3cae1d5fde4'/>
<id>urn:sha1:c986a7024916c92a775fc8d853fba3cae1d5fde4</id>
<content type='text'>
The Thinkpad Yoga 11e 4th gen with the N3450 / Celeron CPU only has
one battery which is named BAT1 instead of the expected BAT0, add a
quirk for this. This fixes not being able to set the charging tresholds
on this model; and this alsoe fixes the following errors in dmesg:

ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error
thinkpad_acpi: Error probing battery 2
battery: extension failed to load: ThinkPad Battery Extension
battery: extension unregistered: ThinkPad Battery Extension

Note that the added quirk is for the "R0K" BIOS versions which are
used on the Thinkpad Yoga 11e 4th gen's with a Celeron CPU, there
is a separate "R0L" BIOS for the i3/i5 based versions. This may also
need the same quirk, but if that really is necessary is unknown.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Link: https://lore.kernel.org/r/20201109103550.16265-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: thinkpad_acpi: Do not report SW_TABLET_MODE on Yoga 11e</title>
<updated>2020-11-26T14:44:35Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2020-11-06T14:01:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f2eae1888cf22590c38764b8fa3c989c0283870e'/>
<id>urn:sha1:f2eae1888cf22590c38764b8fa3c989c0283870e</id>
<content type='text'>
The Yoga 11e series has 2 accelerometers described by a BOSC0200 ACPI node.
This setup relies on a Windows service which reads both accelerometers and
then calculates the angle between the 2 halves to determine laptop / tent /
tablet mode and then reports the calculated mode back to the EC by calling
special ACPI methods on the BOSC0200 node.

The bmc150 iio driver does not support this (it involves double
calculations requiring sqrt and arccos so this really needs to be done
in userspace), as a result of this on the Yoga 11e the thinkpad_acpi
code always reports SW_TABLET_MODE=0, starting with GNOME 3.38 reporting
SW_TABLET_MODE=0 causes GNOME to:

1. Not show the onscreen keyboard when a text-input field is focussed
   with the touchscreen.
2. Disable accelerometer based auto display-rotation.

This makes sense when in laptop-mode but not when in tablet-mode. But
since for the Yoga 11e the thinkpad_acpi code always reports
SW_TABLET_MODE=0, GNOME does not know when the device is in tablet-mode.

Stop reporting the broken (always 0) SW_TABLET_MODE on Yoga 11e models
to fix this.

Note there are plans for userspace to support 360 degree hinges style
2-in-1s with 2 accelerometers and figure out the mode by itself, see:
https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/216

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Link: https://lore.kernel.org/r/20201106140130.46820-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: thinkpad_acpi: add P1 gen3 second fan support</title>
<updated>2020-11-26T14:44:09Z</updated>
<author>
<name>Iakov 'Jake' Kirilenko</name>
<email>jake.kirilenko@gmail.com</email>
</author>
<published>2020-11-05T15:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=15d89c9f6f4a186ade7aefbe77e7ede9746b6c47'/>
<id>urn:sha1:15d89c9f6f4a186ade7aefbe77e7ede9746b6c47</id>
<content type='text'>
Tested on my P1 gen3, works fine with `thinkfan`. Since thinkpad_acpi fan
control is off by default, it is safe to add 2nd fan control for brave
overclockers

Signed-off-by: Iakov 'Jake' Kirilenko &lt;jake.kirilenko@gmail.com&gt;
Link: https://lore.kernel.org/r/20201105152556.34073-1-jake.kirilenko@gmail.com
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
</feed>
