summaryrefslogtreecommitdiffstats
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2023-09-03 21:38:29 -0600
committerElyes Haouas <ehaouas@noos.fr>2023-09-08 00:53:57 +0000
commit74f18777a2e6919172a4214c3195bfcc48f48407 (patch)
tree792af40f72ed0f4287239a707acce3edbe89c9d2 /src/drivers/i2c
parentcef239675b46ffec6c3c4a99875329f0ee92a6b5 (diff)
downloadcoreboot-74f18777a2e6919172a4214c3195bfcc48f48407.tar.gz
coreboot-74f18777a2e6919172a4214c3195bfcc48f48407.tar.bz2
coreboot-74f18777a2e6919172a4214c3195bfcc48f48407.zip
arch to drivers/intel: Fix misspellings & capitalization issues
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Ic52f01d1d5d86334e0fd639b968b5eed43a35f1d Reviewed-on: https://review.coreboot.org/c/coreboot/+/77633 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/rtd2132/chip.h2
-rw-r--r--src/drivers/i2c/tpm/cr50.c2
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring.c4
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring.h4
-rw-r--r--src/drivers/i2c/ww_ring/ww_ring_programs.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/drivers/i2c/rtd2132/chip.h b/src/drivers/i2c/rtd2132/chip.h
index b65182feeb75..50ea7d53149a 100644
--- a/src/drivers/i2c/rtd2132/chip.h
+++ b/src/drivers/i2c/rtd2132/chip.h
@@ -11,7 +11,7 @@ struct drivers_i2c_rtd2132_config {
u16 t4; /* Delay from backlight output disable to PWM output disable. */
u16 t5; /* Delay from PWM output disable to LVDS output disable. */
u16 t6; /* Delay from LVDS output disable to panel Vcc disable. */
- u16 t7; /* Delay between tweo panel power on/off sequence. */
+ u16 t7; /* Delay between two panel power on/off sequence. */
/*
* LVDS swap.
diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c
index 7c0c48865861..ff1b3a0e3f6e 100644
--- a/src/drivers/i2c/tpm/cr50.c
+++ b/src/drivers/i2c/tpm/cr50.c
@@ -123,7 +123,7 @@ static int cr50_i2c_write(uint8_t addr, const uint8_t *buffer, size_t len)
}
/*
- * Cr50 processes reset requests asynchronously and consceivably could be busy
+ * Cr50 processes reset requests asynchronously and conceivably could be busy
* executing a long command and not reacting to the reset pulse for a while.
*
* This function will make sure that the AP does not proceed with boot until
diff --git a/src/drivers/i2c/ww_ring/ww_ring.c b/src/drivers/i2c/ww_ring/ww_ring.c
index 98c162bb4dc2..3956a198411a 100644
--- a/src/drivers/i2c/ww_ring/ww_ring.c
+++ b/src/drivers/i2c/ww_ring/ww_ring.c
@@ -310,7 +310,7 @@ static int ledc_init_validate(TiLp55231 *ledc)
}
/*
- * Signal Depthcharge that the controller has been initiazed by
+ * Signal Depthcharge that the controller has been initialized by
* coreboot.
*/
data = LP55231_VARIABLE_COOKIE;
@@ -340,7 +340,7 @@ int ww_ring_display_pattern(unsigned int i2c_bus, enum display_pattern pattern)
/*
* First stop all running programs to avoid
- * inerference between the controllers.
+ * interference between the controllers.
*/
for (j = 0; j < WW_RING_NUM_LED_CONTROLLERS; j++) {
if (!lp55231s[j].dev_addr)
diff --git a/src/drivers/i2c/ww_ring/ww_ring.h b/src/drivers/i2c/ww_ring/ww_ring.h
index db724d370499..b43b9b851b97 100644
--- a/src/drivers/i2c/ww_ring/ww_ring.h
+++ b/src/drivers/i2c/ww_ring/ww_ring.h
@@ -5,12 +5,12 @@
/*
* Different types of display patterns to be shown by the LED ring while
- * contrlled by coreboot.
+ * controlled by coreboot.
*/
enum display_pattern {
WWR_ALL_OFF, /* Turn the LEDs off. */
WWR_RECOVERY_PUSHED, /* Recovery button push detected on start up. */
- WWR_WIPEOUT_REQUEST, /* Held long enough for wipout request. */
+ WWR_WIPEOUT_REQUEST, /* Held long enough for wipeout request. */
WWR_RECOVERY_REQUEST, /* Held long enough for recovery request. */
WWR_NORMAL_BOOT /* No buttons pressed, normal boot sequence. */
};
diff --git a/src/drivers/i2c/ww_ring/ww_ring_programs.c b/src/drivers/i2c/ww_ring/ww_ring_programs.c
index 73dd4dabf16c..da7cafc173ba 100644
--- a/src/drivers/i2c/ww_ring/ww_ring_programs.c
+++ b/src/drivers/i2c/ww_ring/ww_ring_programs.c
@@ -89,7 +89,7 @@ static const TiLp55231Program solid_000000_program = {
* The three internal engines seem to be competing for resources and get out
* of sync in seconds if left running asynchronously.
*
- * When solid patterns are deployed with instanteneous color intensity
+ * When solid patterns are deployed with instantaneous color intensity
* changes, all three LEDs can be controlled by one engine in sequential
* accesses. But the controllers still need to be synchronized.
*