Anna KaraÅ› has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43089 )
Change subject: src/include: improve the description of hexstrtobin
......................................................................
src/include: improve the description of hexstrtobin
Specify how hexstrtobin.c processes the strings of odd length.
Signed-off-by: Anna Karas <aka(a)semihalf.com>
Change-Id: Ie8cd8fb93d7dab08c5e7f28fc511b6381f5ad13a
---
M src/include/lib.h
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/43089/1
diff --git a/src/include/lib.h b/src/include/lib.h
index 0d6fdb1..46d8b02 100644
--- a/src/include/lib.h
+++ b/src/include/lib.h
@@ -40,6 +40,8 @@
*
* Defined in src/lib/hexstrtobin.c
* Ignores non-hex characters in the string.
+ * Ignores the last hex character if the number of hex characters in the string
+ * is odd.
* Returns the number of bytes that have been put in the buffer.
*/
size_t hexstrtobin(const char *str, uint8_t *buf, size_t len);
--
To view, visit https://review.coreboot.org/c/coreboot/+/43089
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie8cd8fb93d7dab08c5e7f28fc511b6381f5ad13a
Gerrit-Change-Number: 43089
Gerrit-PatchSet: 1
Gerrit-Owner: Anna KaraÅ› <aka(a)semihalf.com>
Gerrit-MessageType: newchange
Peichao Li has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43161 )
Change subject: b/google/vilboz: enable wifi module
......................................................................
b/google/vilboz: enable wifi module
At this moment Vilboz board version is 1,
so we need to configure it
BUG=b:160547115
BRANCH=None
TEST=flash the bios to vilboz DUT and test WIFI module
Signed-off-by: peichao.wang <peichao.wang(a)bitland.corp-partner.google.com>
Change-Id: I9699bb839a801ab7d14c38b971ec28e3a322a997
---
M src/mainboard/google/zork/Kconfig
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/43161/1
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index e24f78a..19225d7 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -142,13 +142,13 @@
default 3 if BOARD_GOOGLE_MORPHIUS
default 2 if BOARD_GOOGLE_BERKNIP
default 3 if BOARD_GOOGLE_DALBOZ
- default 2 if BOARD_GOOGLE_VILBOZ
+ default 1 if BOARD_GOOGLE_VILBOZ
default 256
config VARIANT_MIN_BOARD_ID_WIFI_POWER_ACTIVE_LOW
int
default 3 if BOARD_GOOGLE_BERKNIP
- default 3 if BOARD_GOOGLE_VILBOZ
+ default 2 if BOARD_GOOGLE_VILBOZ
default VARIANT_MIN_BOARD_ID_V3_SCHEMATICS
endif # BOARD_GOOGLE_BASEBOARD_TREMBYLE || BOARD_GOOGLE_BASEBOARD_DALBOZ
--
To view, visit https://review.coreboot.org/c/coreboot/+/43161
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9699bb839a801ab7d14c38b971ec28e3a322a997
Gerrit-Change-Number: 43161
Gerrit-PatchSet: 1
Gerrit-Owner: Peichao Li <peichao.wang(a)bitland.corp-partner.google.com>
Gerrit-MessageType: newchange
John Zhao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42953 )
Change subject: mb/intel/tglrvp: Add PMC.MUX.CONx devices to devicetree for tglrvp_up3
......................................................................
mb/intel/tglrvp: Add PMC.MUX.CONx devices to devicetree for tglrvp_up3
Two usb Type-C ports under the actual mux device. Each port has its own
ACPI device entry. These nodes are the ones that the USB Type-C
port/connector device will refer to in order to configure the mux.
TEST=Verified the scope of PMC.MUX CONx in the SSDT on Tigerlake RVP
board.
Signed-off-by: John Zhao <john.zhao(a)intel.com>
Change-Id: I7210e00cebe16a5fb8417ac23abad98e574e0982
---
M src/mainboard/intel/tglrvp/Kconfig
M src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
2 files changed, 22 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/53/42953/1
diff --git a/src/mainboard/intel/tglrvp/Kconfig b/src/mainboard/intel/tglrvp/Kconfig
index e4d605e..cfebc6b 100644
--- a/src/mainboard/intel/tglrvp/Kconfig
+++ b/src/mainboard/intel/tglrvp/Kconfig
@@ -9,6 +9,7 @@
select DRIVERS_I2C_HID
select DRIVERS_I2C_GENERIC
select DRIVERS_I2C_MAX98373
+ select DRIVERS_INTEL_PMC
select DRIVERS_USB_ACPI
select DRIVERS_SPI_ACPI
select GENERATE_SMBIOS_TABLES
diff --git a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
index 4550815..4a7698c 100644
--- a/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
+++ b/src/mainboard/intel/tglrvp/variants/tglrvp_up3/devicetree.cb
@@ -254,7 +254,27 @@
device pci 1e.3 off end # GSPI1 0xA0AB
device pci 1f.0 on end # eSPI 0xA080 - A09F
device pci 1f.1 on end # P2SB 0xA0A0
- device pci 1f.2 hidden end # PMC 0xA0A1
+ device pci 1f.2 hidden # PMC 0xA0A1
+ # The pmc_mux chip driver is a placeholder for the
+ # PMC.MUX device in the ACPI hierarchy.
+ chip drivers/intel/pmc_mux
+ device generic 0 on
+ chip drivers/intel/pmc_mux/con
+ register "usb2_port_number" = "6"
+ register "usb3_port_number" = "3"
+ # SBU & HSL follow CC
+ device generic 0 on end
+ end
+ chip drivers/intel/pmc_mux/con
+ register "usb2_port_number" = "7"
+ register "usb3_port_number" = "4"
+ # SBU is fixed, HSL follows CC
+ register "sbu_orientation" = "TYPEC_ORIENTATION_NORMAL"
+ device generic 1 on end
+ end
+ end
+ end
+ end # PMC
device pci 1f.3 on end # Intel HD audio 0xA0C8-A0CF
device pci 1f.4 on end # SMBus 0xA0A3
device pci 1f.5 on end # SPI 0xA0A4
--
To view, visit https://review.coreboot.org/c/coreboot/+/42953
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I7210e00cebe16a5fb8417ac23abad98e574e0982
Gerrit-Change-Number: 42953
Gerrit-PatchSet: 1
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-MessageType: newchange
Daniel Kang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43006 )
Change subject: mb/google/volteer: Change ov2740 HID to match with Windows definition
......................................................................
mb/google/volteer: Change ov2740 HID to match with Windows definition
Change HID of ov2740 to INT3474 so that it matches with the Windows
defintion.
BUG=b:160334865
BRANCH=none
TEST=User-facing camera should work with the driver which set the HID
as INT3474
Signed-off-by: Daniel Kang <daniel.h.kang(a)intel.com>
Change-Id: I10e98d32899f31d91c1cc7ddfa099af73d8aef37
---
M src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/43006/1
diff --git a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
index 9f7b3e0..dad762a 100644
--- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
+++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
@@ -495,7 +495,7 @@
Device (CAM1)
{
- Name (_HID, "OVTI2740") /* _HID: Hardware ID */
+ Name (_HID, "INT3474") /* _HID: Hardware ID */
Name (_UID, Zero) /* _UID: Unique ID */
Name (_DDN, "Ov 2740 Camera") /* _DDN: DOS Device Name */
Method (_STA, 0, NotSerialized) /* _STA: Status */
--
To view, visit https://review.coreboot.org/c/coreboot/+/43006
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I10e98d32899f31d91c1cc7ddfa099af73d8aef37
Gerrit-Change-Number: 43006
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Kang <daniel.h.kang(a)intel.com>
Gerrit-MessageType: newchange
Daniel Kang has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42985 )
Change subject: mb/google/volteer: Fix world-facing camera LED is alway on issue
......................................................................
mb/google/volteer: Fix world-facing camera LED is alway on issue
Volteer world-facing camera has a privacy LED and it is supposed
to be turned on only when the camera is being used. But the LED
is always on and this is to fix the issue.
BUG=b:160341981
BRANCH=none
TEST=Build and boot volteer proto 2 board. Start a camera app
and check the world-facing camera LED is only turned on only when
the camera is working.
Signed-off-by: Daniel Kang <daniel.h.kang(a)intel.com>
Change-Id: I564690baffddfdd0f998525992643aaf16ba4b02
---
M src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/42985/1
diff --git a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
index a5756626..9f7b3e0 100644
--- a/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
+++ b/src/mainboard/google/volteer/variants/baseboard/include/baseboard/acpi/mipi_camera.asl
@@ -163,6 +163,9 @@
CTXS(GPP_D4)
#endif
+ /* Pull SNRPWR_EN high */
+ STXS(GPP_H14)
+
/* Pull PWREN high */
STXS(GPP_H20)
Sleep(2) /* reset pulse width */
@@ -196,6 +199,9 @@
/* Pull PWREN low */
CTXS(GPP_H20)
+ /* Pull SNRPWR_EN low */
+ CTXS(GPP_H14)
+
Store(0,STA)
}
}
--
To view, visit https://review.coreboot.org/c/coreboot/+/42985
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I564690baffddfdd0f998525992643aaf16ba4b02
Gerrit-Change-Number: 42985
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Kang <daniel.h.kang(a)intel.com>
Gerrit-MessageType: newchange