Commit 703e7713 authored by Tzung-Bi Shih's avatar Tzung-Bi Shih

platform/chrome: chromeos_acpi: support official HID GOOG0016

Support official HID GOOG0016 for ChromeOS ACPI (see [1]).

[1]: https://crrev.com/c/2266713Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: default avatarGuenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20230731024214.908235-1-tzungbi@kernel.orgSigned-off-by: default avatarTzung-Bi Shih <tzungbi@kernel.org>
parent f2d4dced
What: /sys/bus/platform/devices/GGL0001:*/BINF.2 What: /sys/bus/platform/devices/GGL0001:*/BINF.2
/sys/bus/platform/devices/GOOG0016:*/BINF.2
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -10,6 +11,7 @@ Description: ...@@ -10,6 +11,7 @@ Description:
== =============================== == ===============================
What: /sys/bus/platform/devices/GGL0001:*/BINF.3 What: /sys/bus/platform/devices/GGL0001:*/BINF.3
/sys/bus/platform/devices/GOOG0016:*/BINF.3
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -23,6 +25,7 @@ Description: ...@@ -23,6 +25,7 @@ Description:
== ===================================== == =====================================
What: /sys/bus/platform/devices/GGL0001:*/CHSW What: /sys/bus/platform/devices/GGL0001:*/CHSW
/sys/bus/platform/devices/GOOG0016:*/CHSW
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -38,6 +41,7 @@ Description: ...@@ -38,6 +41,7 @@ Description:
==== =========================================== ==== ===========================================
What: /sys/bus/platform/devices/GGL0001:*/FMAP What: /sys/bus/platform/devices/GGL0001:*/FMAP
/sys/bus/platform/devices/GOOG0016:*/FMAP
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -45,6 +49,7 @@ Description: ...@@ -45,6 +49,7 @@ Description:
processor firmware flashmap. processor firmware flashmap.
What: /sys/bus/platform/devices/GGL0001:*/FRID What: /sys/bus/platform/devices/GGL0001:*/FRID
/sys/bus/platform/devices/GOOG0016:*/FRID
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -52,6 +57,7 @@ Description: ...@@ -52,6 +57,7 @@ Description:
main processor firmware. main processor firmware.
What: /sys/bus/platform/devices/GGL0001:*/FWID What: /sys/bus/platform/devices/GGL0001:*/FWID
/sys/bus/platform/devices/GOOG0016:*/FWID
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -59,6 +65,7 @@ Description: ...@@ -59,6 +65,7 @@ Description:
main processor firmware. main processor firmware.
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.0
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.0
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -73,6 +80,7 @@ Description: ...@@ -73,6 +80,7 @@ Description:
=========== ================================== =========== ==================================
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.1
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.1
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -84,6 +92,7 @@ Description: ...@@ -84,6 +92,7 @@ Description:
== ======================= == =======================
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.2
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.2
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -91,18 +100,21 @@ Description: ...@@ -91,18 +100,21 @@ Description:
controller. controller.
What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3 What: /sys/bus/platform/devices/GGL0001:*/GPIO.X/GPIO.3
/sys/bus/platform/devices/GOOG0016:*/GPIO.X/GPIO.3
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
Returns name of the GPIO controller. Returns name of the GPIO controller.
What: /sys/bus/platform/devices/GGL0001:*/HWID What: /sys/bus/platform/devices/GGL0001:*/HWID
/sys/bus/platform/devices/GOOG0016:*/HWID
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
Returns hardware ID for the Chromebook. Returns hardware ID for the Chromebook.
What: /sys/bus/platform/devices/GGL0001:*/MECK What: /sys/bus/platform/devices/GGL0001:*/MECK
/sys/bus/platform/devices/GOOG0016:*/MECK
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -113,6 +125,7 @@ Description: ...@@ -113,6 +125,7 @@ Description:
present, or if the firmware was unable to read the extended registers, this buffer size can be zero. present, or if the firmware was unable to read the extended registers, this buffer size can be zero.
What: /sys/bus/platform/devices/GGL0001:*/VBNV.0 What: /sys/bus/platform/devices/GGL0001:*/VBNV.0
/sys/bus/platform/devices/GOOG0016:*/VBNV.0
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -122,6 +135,7 @@ Description: ...@@ -122,6 +135,7 @@ Description:
clock data). clock data).
What: /sys/bus/platform/devices/GGL0001:*/VBNV.1 What: /sys/bus/platform/devices/GGL0001:*/VBNV.1
/sys/bus/platform/devices/GOOG0016:*/VBNV.1
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
...@@ -129,6 +143,7 @@ Description: ...@@ -129,6 +143,7 @@ Description:
storage block. storage block.
What: /sys/bus/platform/devices/GGL0001:*/VDAT What: /sys/bus/platform/devices/GGL0001:*/VDAT
/sys/bus/platform/devices/GOOG0016:*/VDAT
Date: May 2022 Date: May 2022
KernelVersion: 5.19 KernelVersion: 5.19
Description: Description:
......
...@@ -5,9 +5,8 @@ Chrome OS ACPI Device ...@@ -5,9 +5,8 @@ Chrome OS ACPI Device
===================== =====================
Hardware functionality specific to Chrome OS is exposed through a Chrome OS ACPI device. Hardware functionality specific to Chrome OS is exposed through a Chrome OS ACPI device.
The plug and play ID of a Chrome OS ACPI device is GGL0001. GGL is a valid PNP ID of Google. The plug and play ID of a Chrome OS ACPI device is GGL0001 and the hardware ID is
PNP ID can be used with the ACPI devices according to the guidelines. The following ACPI GOOG0016. The following ACPI objects are supported:
objects are supported:
.. flat-table:: Supported ACPI Objects .. flat-table:: Supported ACPI Objects
:widths: 1 2 :widths: 1 2
......
...@@ -235,9 +235,9 @@ static int chromeos_acpi_device_probe(struct platform_device *pdev) ...@@ -235,9 +235,9 @@ static int chromeos_acpi_device_probe(struct platform_device *pdev)
return 0; return 0;
} }
/* GGL is valid PNP ID of Google. PNP ID can be used with the ACPI devices. */
static const struct acpi_device_id chromeos_device_ids[] = { static const struct acpi_device_id chromeos_device_ids[] = {
{ "GGL0001", 0 }, { "GGL0001", 0 },
{ "GOOG0016", 0 },
{} {}
}; };
MODULE_DEVICE_TABLE(acpi, chromeos_device_ids); MODULE_DEVICE_TABLE(acpi, chromeos_device_ids);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment