X86 platform drivers
 help / color / mirror / Atom feed
* Upstreaming Lenovo tablet switch driver
@ 2022-10-14 22:12 Lorenz Brun
  2022-10-15  1:26 ` Armin Wolf
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenz Brun @ 2022-10-14 22:12 UTC (permalink / raw)
  To: platform-driver-x86

Hi x86 platform list,

I'm considering contributing support for the usage mode/tablet mode 
switch for some Lenovo laptops (including the popular IdeaPad Flex 
series).
There is already an out-of-tree driver at 
https://github.com/lukas-w/yoga-usage-mode which works well,
but I'd like to get this support upstream.

I have a few questions regarding the best approach:
1. There is the ideapad-laptop module already which deals with a bunch 
of functionality related to these laptops, but not the mode switch. Do 
you prefer a separate driver or should the functionality be added to 
ideapad-laptop?
2. The existing out-of-tree driver uses a WMI interface to access mode 
information. Should I work on the WMI layer or should I figure out 
which EC registers to use to get the functionality independently? If 
yes, how do we want to identify support for this type of mode switch?

Regards,
Lorenz



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-15 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14 22:12 Upstreaming Lenovo tablet switch driver Lorenz Brun
2022-10-15  1:26 ` Armin Wolf
2022-10-15 22:25   ` Lorenz Brun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox