summaryrefslogtreecommitdiffstats
path: root/src/drivers/xpowers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/xpowers')
-rw-r--r--src/drivers/xpowers/axp209/axp209.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/drivers/xpowers/axp209/axp209.c b/src/drivers/xpowers/axp209/axp209.c
index f36c506a2df3..de11fbe1bdba 100644
--- a/src/drivers/xpowers/axp209/axp209.c
+++ b/src/drivers/xpowers/axp209/axp209.c
@@ -44,7 +44,7 @@ enum registers {
* in one transaction.
* These return the number of bytes read/written, or an error code. In this
* case, they return 1 on success, or an error code otherwise. This is done to
- * work with I²C drivers that return either 0 on success or the number of bytes
+ * work with I2C drivers that return either 0 on success or the number of bytes
* actually transferred.
*/
static int axp209_read(u8 bus, u8 reg, u8 *val)
@@ -62,9 +62,9 @@ static int axp209_write(u8 bus, u8 reg, u8 val)
}
/**
- * \brief Identify and initialize an AXP209 on the I²C bus
+ * \brief Identify and initialize an AXP209 on the I2C bus
*
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on if an AXP209 is found, or an error code otherwise.
*/
enum cb_err axp209_init(u8 bus)
@@ -91,7 +91,7 @@ enum cb_err axp209_init(u8 bus)
* Valid values are between 700mV and 2275mV
*
* @param[in] millivolts voltage in mV units.
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on success,
* CB_ERR_ARG if voltage is out of range, or an error code otherwise.
*/
@@ -118,7 +118,7 @@ enum cb_err axp209_set_dcdc2_voltage(u8 bus, u16 millivolts)
* Valid values are between 700mV and 3500mV
*
* @param[in] millivolts voltage in mV units.
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on success,
* CB_ERR_ARG if voltage is out of range, or an error code otherwise.
*/
@@ -145,7 +145,7 @@ enum cb_err axp209_set_dcdc3_voltage(u8 bus, u16 millivolts)
* Valid values are between 700mV and 3300mV
*
* @param[in] millivolts voltage in mV units.
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on success,
* CB_ERR_ARG if voltage is out of range, or an error code otherwise.
*/
@@ -179,7 +179,7 @@ enum cb_err axp209_set_ldo2_voltage(u8 bus, u16 millivolts)
* 2250mV, but hardware samples go as high as 3500mV.
*
* @param[in] millivolts voltage in mV units.
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on success,
* CB_ERR_ARG if voltage is out of range, or an error code otherwise.
*/
@@ -207,7 +207,7 @@ enum cb_err axp209_set_ldo3_voltage(u8 bus, u16 millivolts)
* Valid values are between 1250V and 3300mV
*
* @param[in] millivolts voltage in mV units.
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on success,
* CB_ERR_ARG if voltage is out of range, or an error code otherwise.
*/
@@ -290,7 +290,7 @@ static enum cb_err set_rail(u8 bus, int idx, u16 mv)
* reconfigured, and retain its powerup voltage.
*
* @param[in] cfg pointer to @ref drivers_xpowers_axp209_config structure
- * @param[in] bus I²C bus to which the AXP209 is connected
+ * @param[in] bus I2C bus to which the AXP209 is connected
* @return CB_SUCCES on success, or an error code otherwise.
*/
enum cb_err axp209_set_voltages(u8 bus, const struct