Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/21099 )
Change subject: ec/google: Detect keyboard backlight at runtime
......................................................................
Patch Set 1: Verified-1
to work, this needs an EC side change which isn't up yet
--
To view, visit https://review.coreboot.org/21099
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Idc36bfaa6e69581ba19b52d37af6956f63cfdb8f
Gerrit-Change-Number: 21099
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi(a)google.com>
Gerrit-Comment-Date: Fri, 18 Aug 2017 19:21:43 +0000
Gerrit-HasComments: No
Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/21099
Change subject: ec/google: Detect keyboard backlight at runtime
......................................................................
ec/google: Detect keyboard backlight at runtime
This enables adding the backlight driver to boards that may or may not
come with a keyboard backlight function.
It's the responsibility of the EC to report if that feature exists, but
that's not a big extra burden given that it already keeps track of
everything else related to the backlight.
BUG=b:64705535
BRANCH=none
CQ-DEPEND=CL:620595
TEST=configured the value manually and noticed the presence/absence of
/sys/firmware/platform/GOOG0002:00 on a Chrome OS Linux kernel.
Change-Id: Idc36bfaa6e69581ba19b52d37af6956f63cfdb8f
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
M src/ec/google/chromeec/acpi/ec.asl
M src/ec/google/chromeec/acpi/keyboard_backlight.asl
2 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/99/21099/1
diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl
index a532492..422abe1 100644
--- a/src/ec/google/chromeec/acpi/ec.asl
+++ b/src/ec/google/chromeec/acpi/ec.asl
@@ -54,6 +54,8 @@
PATC, 8, // Programmable Auxiliary Trip Commit
CHGL, 8, // Charger Current Limit
TBMD, 1, // Tablet mode
+ Offset (0x0a),
+ KBLE, 1, // Keyboard Backlight exists
}
#if IS_ENABLED(CONFIG_EC_GOOGLE_CHROMEEC_ACPI_MEMMAP)
diff --git a/src/ec/google/chromeec/acpi/keyboard_backlight.asl b/src/ec/google/chromeec/acpi/keyboard_backlight.asl
index 75a8df3..197536a 100644
--- a/src/ec/google/chromeec/acpi/keyboard_backlight.asl
+++ b/src/ec/google/chromeec/acpi/keyboard_backlight.asl
@@ -23,6 +23,15 @@
Name (_HID, "GOOG0002")
Name (_UID, 1)
+ /* Ask EC if we even have a backlight
+ * Return 0xf (present, enabled, show in UI, functioning) or 0
+ */
+ Method (_STA, 0, NotSerialized)
+ {
+ Multiply (0xf, \_SB.PCI0.LPCB.EC0.KBLE, Local0)
+ Return (Local0)
+ }
+
/* Read current backlight value */
Method (KBQC, 0, NotSerialized)
{
--
To view, visit https://review.coreboot.org/21099
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idc36bfaa6e69581ba19b52d37af6956f63cfdb8f
Gerrit-Change-Number: 21099
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi(a)google.com>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/21098
to look at the new patch set (#3).
Change subject: [wip]intel/wifi: Add WGDS ACPI method for Geo Aware SAR
......................................................................
[wip]intel/wifi: Add WGDS ACPI method for Geo Aware SAR
To comply with all relevant bodies throughout the world,
SAR settings take into account the lowest common denominator
Tx power Settings. This setup may lead to non-optimal performance
when the user location is in a country that may allow higher power
setting. The purpose of Wireless Geo Delta Settings (WGDS) is to
provide offset settings for FCC, Europe, Japan and Rest of the World.
These offsets would be added (by Intel wifi driver) to the base SAR
Tx Power as defined in WRDS and EWRD.
Change-Id: I4f602e3f95ff3545db6cc6e428beb9a36abd9296
Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati(a)intel.com>
---
M src/drivers/intel/wifi/chip.h
M src/drivers/intel/wifi/wifi.c
M src/include/sar.h
3 files changed, 114 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/21098/3
--
To view, visit https://review.coreboot.org/21098
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4f602e3f95ff3545db6cc6e428beb9a36abd9296
Gerrit-Change-Number: 21098
Gerrit-PatchSet: 3
Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Pratikkumar V Prajapati has uploaded a new patch set (#2). ( https://review.coreboot.org/21098 )
Change subject: intel/wifi: Add WGDS ACPI method for Geo Aware SAR
......................................................................
intel/wifi: Add WGDS ACPI method for Geo Aware SAR
To comply with all relevant bodies throughout the world,
SAR settings take into account the lowest common denominator
Tx power Settings. This setup may lead to non-optimal performance
when the user location is in a country that may allow higher power
setting. The purpose of Wireless Geo Delta Settings (WGDS) is to
provide offset settings for FCC, Europe, Japan and Rest of the World.
These offsets would be added (by Intel wifi driver) to the base SAR
Tx Power as defined in WRDS and EWRD.
Change-Id: I4f602e3f95ff3545db6cc6e428beb9a36abd9296
Signed-off-by: Pratik Prajapati <pratikkumar.v.prajapati(a)intel.com>
---
M src/drivers/intel/wifi/chip.h
M src/drivers/intel/wifi/wifi.c
M src/include/sar.h
3 files changed, 114 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/21098/2
--
To view, visit https://review.coreboot.org/21098
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4f602e3f95ff3545db6cc6e428beb9a36abd9296
Gerrit-Change-Number: 21098
Gerrit-PatchSet: 2
Gerrit-Owner: Pratikkumar V Prajapati <pratikkumar.v.prajapati(a)intel.com>