aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/laptops
diff options
context:
space:
mode:
authorNitin Joshi <nitjoshi@gmail.com>2021-03-17 11:46:36 +0900
committerHans de Goede <hdegoede@redhat.com>2021-03-21 18:04:19 +0100
commit3feb52a2b8d97989823f1aa9cfff281b8475ff4e (patch)
treed3e99f5d31afc7c80ed79e316d8f1452cf218056 /Documentation/admin-guide/laptops
parentplatform/x86: intel-vbtn: Stop reporting SW_DOCK events (diff)
downloadlinux-dev-3feb52a2b8d97989823f1aa9cfff281b8475ff4e.tar.xz
linux-dev-3feb52a2b8d97989823f1aa9cfff281b8475ff4e.zip
platform/x86: thinkpad_acpi: sysfs interface to get wwan antenna type
On some newer Thinkpads we need to set SAR value based on antenna type. This patch provides a sysfs interface that userspace can use to get antenna type and set corresponding SAR value, as is required for FCC certification. Reviewed-by: Mark Pearson <markpearson@lenovo.com> Signed-off-by: Nitin Joshi <njoshi1@lenovo.com> Link: https://lore.kernel.org/r/20210317024636.356175-1-njoshi1@lenovo.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/laptops')
-rw-r--r--Documentation/admin-guide/laptops/thinkpad-acpi.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/admin-guide/laptops/thinkpad-acpi.rst b/Documentation/admin-guide/laptops/thinkpad-acpi.rst
index 91fd6846ce17..6721a80a2d4f 100644
--- a/Documentation/admin-guide/laptops/thinkpad-acpi.rst
+++ b/Documentation/admin-guide/laptops/thinkpad-acpi.rst
@@ -52,6 +52,7 @@ detailed description):
- LCD Shadow (PrivacyGuard) enable and disable
- Lap mode sensor
- Setting keyboard language
+ - WWAN Antenna type
A compatibility table by model and feature is maintained on the web
site, http://ibm-acpi.sf.net/. I appreciate any success or failure
@@ -1490,6 +1491,25 @@ fr(French), fr-ch(French(Switzerland)), hu(Hungarian), it(Italy), jp (Japan),
nl(Dutch), nn(Norway), pl(Polish), pt(portugese), sl(Slovenian), sv(Sweden),
tr(Turkey)
+WWAN Antenna type
+-----------------
+
+sysfs: wwan_antenna_type
+
+On some newer Thinkpads we need to set SAR value based on the antenna
+type. This interface will be used by userspace to get the antenna type
+and set the corresponding SAR value, as is required for FCC certification.
+
+The available commands are::
+
+ cat /sys/devices/platform/thinkpad_acpi/wwan_antenna_type
+
+Currently 2 antenna types are supported as mentioned below:
+- type a
+- type b
+
+The property is read-only. If the platform doesn't have support the sysfs
+class is not created.
Adaptive keyboard
-----------------