<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/platform/x86/Kconfig, branch linux-6.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-04-06T10:33:34Z</updated>
<entry>
<title>platform/x86: Add driver for Yoga Tablet Mode switch</title>
<updated>2023-04-06T10:33:34Z</updated>
<author>
<name>Gergo Koteles</name>
</author>
<published>2023-03-29T01:45:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e82882cdd241b78d305df1441c624fbbbd07af05'/>
<id>urn:sha1:e82882cdd241b78d305df1441c624fbbbd07af05</id>
<content type='text'>
This WMI driver for the tablet mode control switch for Lenovo Yoga
notebooks was originally written by Gergo Koteles. The mode is mapped to
a SW_TABLET_MODE switch capable input device.

Andrew followed the suggestions that were posted in reply to Gergo's RFC
patch, and on the v1 &amp; v2 versions of this patch to follow-up and get it
merged.

Changes from Gergo's RFC:

 - Refactored obtaining a reference to the EC ACPI device needed for the
   quirk implementation as suggested by Hans de Goede
 - Applied small fixes and switched to always registering handles with
   the driver for automatic cleanup as suggested by Barnabás Pőcze.
 - Merged the lenovo_ymc_trigger_ec function with the
   ideapad_trigger_ymc_next_read function since it was no longer
   external.
 - Added the word "Tablet" to the driver description to hopefully make
   it more clear.
 - Fixed the LENOVO_YMC_QUERY_METHOD ID and the name string for the EC
   APCI device trigged for the quirk
 - Triggered the input event on probe so that the initial tablet mode
   state when the driver is loaded is reported to userspace as suggested
   by Armin Wolf.
 - Restricted the permissions of the ec_trigger parameter as suggested
   by Armin Wolf. Also updated the description.

We have tested this on the Yoga 7 14AIL7 for the non-quirk path and on
the Yoga 7 14ARB7 which has the firmware bug that requires triggering
the embedded controller to send the mode change events. This workaround
is also used by the Windows drivers.

According to reports at https://github.com/lukas-w/yoga-usage-mode,
which uses the same WMI devices, the following models should also work:
Yoga C940, Ideapad flex 14API, Yoga 9 14IAP7, Yoga 7 14ARB7, etc.

Signed-off-by: Gergo Koteles &lt;soyer@irl.hu&gt;
Co-developed-by: Andrew Kallmeyer &lt;kallmeyeras@gmail.com&gt;
Signed-off-by: Andrew Kallmeyer &lt;kallmeyeras@gmail.com&gt;
Link: https://lore.kernel.org/r/20221004214332.35934-1-soyer@irl.hu/
Link: https://lore.kernel.org/r/20230310041726.217447-1-kallmeyeras@gmail.com/
Link: https://lore.kernel.org/r/20230323025200.5462-1-kallmeyeras@gmail.com/
Tested-by: André Apitzsch &lt;git@apitzsch.eu&gt;
Link: https://lore.kernel.org/r/20230329014559.44494-3-kallmeyeras@gmail.com
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: Add new msi-ec driver</title>
<updated>2023-03-27T14:10:20Z</updated>
<author>
<name>Nikita Kravets</name>
</author>
<published>2023-03-20T22:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=392cacf2aa10de005e58b68a58012c0c81a100c0'/>
<id>urn:sha1:392cacf2aa10de005e58b68a58012c0c81a100c0</id>
<content type='text'>
Add a new driver to allow various MSI laptops' functionalities to be
controlled from userspace. This includes such features as power
profiles (aka shift modes), fan speed, charge thresholds, LEDs, etc.

This driver contains EC memory configurations for different firmware
versions and exports battery charge thresholds to userspace (note,
that start and end thresholds control the same EC parameter
and are always 10% apart).

Link: https://github.com/BeardOverflow/msi-ec/
Link: https://github.com/BeardOverflow/msi-ec/pull/13
Cc: Aakash Singh &lt;mail@singhaakash.dev&gt;
Cc: Jose Angel Pastrana &lt;japp0005@red.ujaen.es&gt;
Signed-off-by: Nikita Kravets &lt;teackot@gmail.com&gt;
Link: https://lore.kernel.org/r/20230320225509.3559-1-teackot@gmail.com
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ib-pdx86-backlight-6.4' into review-hans</title>
<updated>2023-03-16T13:40:52Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2023-03-16T13:40:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=de4fb5f5165582caf21b9074b918acccf99582a1'/>
<id>urn:sha1:de4fb5f5165582caf21b9074b918acccf99582a1</id>
<content type='text'>
Immutable branch between pdx86 and backlight due for the v6.4 merge window
</content>
</entry>
<entry>
<title>backlight: apple_bl: Use acpi_video_get_backlight_type()</title>
<updated>2023-03-16T12:33:11Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2023-03-07T12:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3608a2cd818a8d97bd3d4dc32f6c0afaf09b15ec'/>
<id>urn:sha1:3608a2cd818a8d97bd3d4dc32f6c0afaf09b15ec</id>
<content type='text'>
On some MacBooks both the apple_bl and the apple-gmux backlight drivers
may be able to export a /sys/class/backlight device.

To avoid having 2 backlight devices for one LCD panel until now
the apple-gmux driver has been calling apple_bl_unregister() to move
the apple_bl backlight device out of the way when it loads.

Similar problems exist on other x86 laptops and all backlight drivers
which may be used on x86 laptops have moved to using
acpi_video_get_backlight_type() to determine whether they should load
or not.

Switch apple_bl to this model too, so that it is consistent with all
the other x86 backlight drivers.

Besides code-simplification and consistency this has 2 other benefits:

1) It removes a race during boot where userspace will briefly see
   an apple_bl backlight and then have it disappear again, leading to e.g.:
   https://bbs.archlinux.org/viewtopic.php?id=269920

2) This allows user to switch between the drivers by passing
   acpi_backlight=apple_gmux or acpi_backlight=vendor on the kernel
   commandline.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Daniel Thompson &lt;daniel.thompson@linaro.org&gt;
Acked-by: Lee Jones &lt;lee@kernel.org&gt;
Link: https://lore.kernel.org/r/20230307120540.389920-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: x86-android-tablets: Add support for the Dolby button on Peaq C1010</title>
<updated>2023-03-07T11:08:31Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2023-02-20T20:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=772cbba5a877eb7c528f3659415373c40e48a057'/>
<id>urn:sha1:772cbba5a877eb7c528f3659415373c40e48a057</id>
<content type='text'>
The Peaq C1010 tablet has a special "Dolby" button. This button has
a WMI interface, but this is broken in several ways:

1. It only supports polling
2. The value read on polling goes from 0 -&gt; 1 for one poll on both edges
   of the button, with no way to tell which edge causes the poll to
   return 1.
3. It uses a non unique GUID (it uses the Microsoft docs WMI example GUID).

There currently is a WMI driver for this, but it uses several kludges
to work around these issues and is not entirely reliable due to 2.

Replace the unreliable WMI driver by using the x86-android-tablets code
to instantiate a gpio_keys device for this.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Link: https://lore.kernel.org/r/20230301092331.7038-11-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: x86-android-tablets: Move into its own subdir</title>
<updated>2023-03-07T11:08:30Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2023-02-19T16:06:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=afdcb5353f06cf5ddee3999f7e6353e889a50edc'/>
<id>urn:sha1:afdcb5353f06cf5ddee3999f7e6353e889a50edc</id>
<content type='text'>
Move the x86-android-tablets code into its own subdir, this is
a preparation patch for splitting the somewhat large file into
multiple smaller files.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt;
Link: https://lore.kernel.org/r/20230301092331.7038-3-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform: x86: MLX_PLATFORM: select REGMAP instead of depending on it</title>
<updated>2023-03-07T10:37:27Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2023-02-26T05:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e7e1541c91615e9950d0b96bcd1806d297e970e'/>
<id>urn:sha1:7e7e1541c91615e9950d0b96bcd1806d297e970e</id>
<content type='text'>
REGMAP is a hidden (not user visible) symbol. Users cannot set it
directly thru "make *config", so drivers should select it instead of
depending on it if they need it.

Consistently using "select" or "depends on" can also help reduce
Kconfig circular dependency issues.

Therefore, change the use of "depends on REGMAP" to "select REGMAP".

Fixes: ef0f62264b2a ("platform/x86: mlx-platform: Add physical bus number auto detection")
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Cc: Vadim Pasternak &lt;vadimp@mellanox.com&gt;
Cc: Darren Hart &lt;dvhart@infradead.org&gt;
Cc: Hans de Goede &lt;hdegoede@redhat.com&gt;
Cc: Mark Gross &lt;markgross@kernel.org&gt;
Cc: platform-driver-x86@vger.kernel.org
Link: https://lore.kernel.org/r/20230226053953.4681-7-rdunlap@infradead.org
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: apple_gmux: Drop no longer used ACPI_VIDEO Kconfig dependency</title>
<updated>2023-02-02T21:48:20Z</updated>
<author>
<name>Hans de Goede</name>
</author>
<published>2023-01-23T15:45:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df72690ec365394c3850b37679a3b06c582db252'/>
<id>urn:sha1:df72690ec365394c3850b37679a3b06c582db252</id>
<content type='text'>
The apple_gmux code no longer uses any symbols from the ACPI_VIDEO code,
so that dependency can be dropped.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Link: https://lore.kernel.org/r/20230123154512.852921-1-hdegoede@redhat.com
</content>
</entry>
<entry>
<title>platform/x86: Move existing HP drivers to a new hp subdir</title>
<updated>2022-11-16T07:48:19Z</updated>
<author>
<name>Jorge Lopez</name>
</author>
<published>2022-10-20T20:10:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e9b8992b122cb12688bd259fc99e67d1be234eb'/>
<id>urn:sha1:6e9b8992b122cb12688bd259fc99e67d1be234eb</id>
<content type='text'>
The purpose of this patch is to provide a central location where all
HP related drivers are found. HP drivers will recide under
drivers/platform/x86/hp directory.

Introduce changes to Kconfig file to list all HP driver under "HP X86
Platform Specific Device Drivers" menu option. Additional changes
include update MAINTAINERS file to indicate hp related drivers new
path.

Signed-off-by: Jorge Lopez &lt;jorge.lopez2@hp.com&gt;
Link: https://lore.kernel.org/r/20221020201033.12790-2-jorge.lopez2@hp.com
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>platform/x86: Battery charge mode in toshiba_acpi (sysfs)</title>
<updated>2022-09-09T19:58:16Z</updated>
<author>
<name>Arvid Norlander</name>
</author>
<published>2022-09-02T18:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ef5db9eb084f6212345a7b09355c78ce05f71e2'/>
<id>urn:sha1:8ef5db9eb084f6212345a7b09355c78ce05f71e2</id>
<content type='text'>
This commit adds the ACPI battery hook which in turns adds the sysfs
entries.

Because the Toshiba laptops only support two modes (eco or normal), which
in testing correspond to 80% and 100% we simply round to the nearest
possible level when set.

It is possible that Toshiba laptops other than the Z830 has different set
points for the charging. If so, a quirk table could be introduced in the
future for this. For now, assume that all laptops that support this feature
work the same way.

Tested on a Toshiba Satellite Z830.

Signed-off-by: Arvid Norlander &lt;lkml@vorpal.se&gt;
Link: https://lore.kernel.org/r/20220902180037.1728546-3-lkml@vorpal.se
Reviewed-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
</feed>
