summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2021-07-28 23:23:53 -0700
committerCommit Bot <commit-bot@chromium.org>2021-08-02 22:40:07 +0000
commit01cf7dd4c94a48cde96f5578f53026c85d2e1fa7 (patch)
tree214b453b43948f30d5fce486ea43e3325a5394bf /include/driver
parentd6f9055cefc87094971b4e63f40f6ffa64198158 (diff)
downloadchrome-ec-01cf7dd4c94a48cde96f5578f53026c85d2e1fa7.tar.gz
COIL: I2C: Update terminology
BRANCH=none BUG=b:163885307 TEST=compare_build.sh matches Change-Id: I7c1acf52cc530b5970755593c0488945c386adc7 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3060266 Reviewed-by: Boris Mittelberg <bmbm@google.com>
Diffstat (limited to 'include/driver')
-rw-r--r--include/driver/accelgyro_bmi160_public.h2
-rw-r--r--include/driver/accelgyro_bmi260_public.h2
-rw-r--r--include/driver/tcpm/tcpm.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/driver/accelgyro_bmi160_public.h b/include/driver/accelgyro_bmi160_public.h
index fa5b030cbd..6a6890eb84 100644
--- a/include/driver/accelgyro_bmi160_public.h
+++ b/include/driver/accelgyro_bmi160_public.h
@@ -13,7 +13,7 @@
* This is defined in include/i2c.h and is no longer an 8bit
* address. The 7/10 bit address starts at bit 0 and leaves
* room for a 10 bit address, although we don't currently
- * have any 10 bit slaves. I2C or SPI is indicated by a
+ * have any 10 bit peripherals. I2C or SPI is indicated by a
* more significant bit
*/
diff --git a/include/driver/accelgyro_bmi260_public.h b/include/driver/accelgyro_bmi260_public.h
index fa616d4a41..9b93ef65ae 100644
--- a/include/driver/accelgyro_bmi260_public.h
+++ b/include/driver/accelgyro_bmi260_public.h
@@ -13,7 +13,7 @@
* This is defined in include/i2c.h and is no longer an 8bit
* address. The 7/10 bit address starts at bit 0 and leaves
* room for a 10 bit address, although we don't currently
- * have any 10 bit slaves. I2C or SPI is indicated by a
+ * have any 10 bit peripherals. I2C or SPI is indicated by a
* more significant bit
*/
diff --git a/include/driver/tcpm/tcpm.h b/include/driver/tcpm/tcpm.h
index 2bd14c0f5c..848178d958 100644
--- a/include/driver/tcpm/tcpm.h
+++ b/include/driver/tcpm/tcpm.h
@@ -22,7 +22,7 @@
#ifndef CONFIG_USB_PD_TCPC
-/* I2C wrapper functions - get I2C port / slave addr from config struct. */
+/* I2C wrapper functions - get I2C port / peripheral addr from config struct. */
#ifndef CONFIG_USB_PD_TCPC_LOW_POWER
static inline int tcpc_addr_write(int port, int i2c_addr, int reg, int val)
{