src/acpi to src/lib: Fix spelling errors

These issues were found and fixed by codespell, a useful tool for
finding spelling errors.

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I5b8ecdfe75d99028fee820a2034466a8ad1c5e63
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58080
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Martin Roth
2021-10-01 14:28:22 -06:00
committed by Martin Roth
parent 6c3ece9c9e
commit 0949e73906
52 changed files with 68 additions and 68 deletions

View File

@@ -118,7 +118,7 @@ Device (EC0)
SWTO, 1, // SW Throttling (1=Active) ; AEh.6
TTHR, 1, // HW (THRM#) Throttling (1=Active) ; AEh.7
TTHM, 1, // TS_THERMAL(1:Throttling for thermal) ; AFh.0
THTL, 1, // THROTTLING(1:Ctrl H/W throtting act) ; AFh.1
THTL, 1, // THROTTLING(1:Ctrl H/W throttling act); AFh.1
, 2, // Reserved ; AFh.2-3
NPST, 4, // Number of P-State level ; AFh.4-7
CTMP, 8, // Current CPU Temperature ; B0h

View File

@@ -161,7 +161,7 @@ int crosec_command_proto(struct chromeec_command *cec_command,
crosec_io_t crosec_io, void *context);
/**
* Performs light verification of the EC<->AP communcation channel.
* Performs light verification of the EC<->AP communication channel.
*
* @return 0 on success, -1 on error
*/
@@ -330,7 +330,7 @@ struct usb_pd_port_caps {
* Get role-based capabilities for a USB-PD port
*
* @param port Which port to get information about
* @param *power_role_cap The power-role capabillity of the port
* @param *power_role_cap The power-role capability of the port
* @param *try_power_role_cap The Try-power-role capability of the port
* @param *data_role_cap The data role capability of the port
* @param *port_location Location of the port on the device

View File

@@ -2856,7 +2856,7 @@ struct ec_params_motion_sense {
*/
struct __ec_todo_unpacked {
/* Data to set or EC_MOTION_SENSE_NO_VALUE to read.
* kb_wake_angle: angle to wakup AP.
* kb_wake_angle: angle to wake up AP.
*/
int16_t data;
} kb_wake_angle;

View File

@@ -10,7 +10,7 @@ enum {
KB_POWER_SMI = 0x04,
/* Read but do not clear power state information */
KB_POWER_STATUS = 0x05,
/* Inform the EC aboout the reason host is turning off */
/* Inform the EC about the reason host is turning off */
KB_POWER_OFF = 0x08,
/* Control wireless radios */
KB_RADIO_CONTROL = 0x2b,

View File

@@ -75,7 +75,7 @@ Device (EC0)
KBID, 1, // 0=EN KBD, 1=JP KBD ; 80h.1
, 6, // Reserved ; 80h.2-7
NPST, 8, // Number of P-State level ; 81h
MPST, 8, // Maxumum P-State ; 82h
MPST, 8, // Maximum P-State ; 82h
KWAK, 1, // Keyboard WAKE(0=Disable,1=Enable) ; 83h.0
TWAK, 1, // TouchPad WAKE(0=Disable,1=Enable) ; 83h.1
, 1, // Reserved ; 83h.2

View File

@@ -23,7 +23,7 @@ Device (BATX)
0, // 0: Power Unit
0xFFFFFFFF, // 1: Design Capacity
0xFFFFFFFF, // 2: Last Full Charge Capacity
1, // 3: Battery Technology(Rechargable)
1, // 3: Battery Technology(Rechargeable)
10800, // 4: Design Voltage 10.8V
0, // 5: Design capacity of warning
0, // 6: Design capacity of low

View File

@@ -444,7 +444,7 @@ Device (EC0)
MBTH, 4, // bit 3-0: battery 0 highest level
SBTH, 4, // bit 7-4: battery 1 highest level
// note: if highest level is 0 or 0xF, it means not defined
// (in this case, use default hightest level, it is 6)
// (in this case, use default highest level, it is 6)
Offset(0xEF), // [EC Function Specification Major Version]
Offset(0xF0), // [Build ID]~ offset:0F7h