mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
mfd: Fix a bunch of typos in comments
Fix misspellings in comments across the MFD drivers and headers, found with scripts/checkpatch.pl using the list in scripts/spelling.txt. Only touches comments, no code changes. Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com> Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: André Draszik <andre.draszik@linaro.org> Link: https://patch.msgid.link/20260924103046.1709181-1-hemanth.selam@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
319633b06f
commit
fabc98ef46
|
|
@ -275,10 +275,10 @@ static int device_gpadc_init(struct pm80x_chip *chip,
|
|||
goto out;
|
||||
|
||||
/*
|
||||
* the defult of PM800 is GPADC operates at 100Ks/s rate
|
||||
* the default of PM800 is GPADC operates at 100Ks/s rate
|
||||
* and Number of GPADC slots with active current bias prior
|
||||
* to GPADC sampling = 1 slot for all GPADCs set for
|
||||
* Temprature mesurmants
|
||||
* Temperature measurements
|
||||
*/
|
||||
mask = (PM800_GPADC_GP_BIAS_EN0 | PM800_GPADC_GP_BIAS_EN1 |
|
||||
PM800_GPADC_GP_BIAS_EN2 | PM800_GPADC_GP_BIAS_EN3);
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ static void kempld_get_hardware_mutex(struct kempld_device_data *pld)
|
|||
|
||||
static void kempld_release_hardware_mutex(struct kempld_device_data *pld)
|
||||
{
|
||||
/* The harware mutex is released when 1 is written to the mutex bit. */
|
||||
/* The hardware mutex is released when 1 is written to the mutex bit. */
|
||||
iowrite8(KEMPLD_MUTEX_KEY, pld->io_index);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ static struct max8998_platform_data *max8998_i2c_parse_dt_pdata(
|
|||
|
||||
/*
|
||||
* ToDo: the 'wakeup' member in the platform data is more of a linux
|
||||
* specfic information. Hence, there is no binding for that yet and
|
||||
* specific information. Hence, there is no binding for that yet and
|
||||
* not parsed here.
|
||||
*/
|
||||
return pd;
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ static u8 rave_sp_reply_code(u8 command)
|
|||
return command + 0x20;
|
||||
case 0xE0 ... 0xEF:
|
||||
/*
|
||||
* Events emitted by all versions of the firmare use
|
||||
* Events emitted by all versions of the firmware use
|
||||
* least significant bit to get an ACK code
|
||||
*/
|
||||
return command | 0x01;
|
||||
|
|
@ -544,7 +544,7 @@ static size_t rave_sp_receive_buf(struct serdev_device *serdev,
|
|||
* NOTE: The above means that only the
|
||||
* frame started by third SOF, sent
|
||||
* after this one will have a chance
|
||||
* to get throught.
|
||||
* to get through.
|
||||
*/
|
||||
goto reset_framer;
|
||||
case RAVE_SP_DLE:
|
||||
|
|
@ -595,7 +595,7 @@ static size_t rave_sp_receive_buf(struct serdev_device *serdev,
|
|||
|
||||
/*
|
||||
* The only way to get out of the above loop and end up here
|
||||
* is throught consuming all of the supplied data, so here we
|
||||
* is through consuming all of the supplied data, so here we
|
||||
* report that we processed it all.
|
||||
*/
|
||||
return size;
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ int si476x_core_stop(struct si476x_core *core, bool soft)
|
|||
atomic_set(&core->is_alive, 0);
|
||||
|
||||
if (soft) {
|
||||
/* TODO: This probably shoud be a configurable option,
|
||||
/* TODO: This probably should be a configurable option,
|
||||
* so it is possible to have the chips keep their
|
||||
* oscillators running
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
#define DA9063_I2C_PAGE_SEL_SHIFT 1
|
||||
#define DA9063_EVENT_REG_NUM 4
|
||||
|
||||
/* Page selection I2C or SPI always in the begining of any page. */
|
||||
/* Page selection I2C or SPI always in the beginning of any page. */
|
||||
/* Page 0 : I2C access 0x000 - 0x0FF SPI access 0x000 - 0x07F */
|
||||
/* Page 1 : SPI access 0x080 - 0x0FF */
|
||||
/* Page 2 : I2C access 0x100 - 0x1FF SPI access 0x100 - 0x17F */
|
||||
|
|
|
|||
|
|
@ -337,31 +337,31 @@ enum sia_mmdsp_stat {
|
|||
* @SYSCLKOK_ERR: The SYSCLK is not available in the given time
|
||||
* @BOOT_ERR: Romcode has not validated the XP70 self reset in the given time
|
||||
* @ROMCODESAVECONTEXT: The Romcode didn.t correctly save it secure context
|
||||
* @VARMHIGHSPEEDVALTO_ERR: The ARM high speed supply value transfered
|
||||
* @VARMHIGHSPEEDVALTO_ERR: The ARM high speed supply value transferred
|
||||
* through I2C has not been correctly executed in the given time
|
||||
* @VARMHIGHSPEEDACCESS_ERR: The command value of VarmHighSpeedVal transfered
|
||||
* @VARMHIGHSPEEDACCESS_ERR: The command value of VarmHighSpeedVal transferred
|
||||
* through I2C has not been correctly executed in the given time
|
||||
* @VARMLOWSPEEDVALTO_ERR:The ARM low speed supply value transfered through
|
||||
* @VARMLOWSPEEDVALTO_ERR:The ARM low speed supply value transferred through
|
||||
* I2C has not been correctly executed in the given time
|
||||
* @VARMLOWSPEEDACCESS_ERR: The command value of VarmLowSpeedVal transfered
|
||||
* @VARMLOWSPEEDACCESS_ERR: The command value of VarmLowSpeedVal transferred
|
||||
* through I2C has not been correctly executed in the given time
|
||||
* @VARMRETENTIONVALTO_ERR: The ARM retention supply value transfered through
|
||||
* @VARMRETENTIONVALTO_ERR: The ARM retention supply value transferred through
|
||||
* I2C has not been correctly executed in the given time
|
||||
* @VARMRETENTIONACCESS_ERR: The command value of VarmRetentionVal transfered
|
||||
* @VARMRETENTIONACCESS_ERR: The command value of VarmRetentionVal transferred
|
||||
* through I2C has not been correctly executed in the given time
|
||||
* @VAPEHIGHSPEEDVALTO_ERR: The APE highspeed supply value transfered through
|
||||
* @VAPEHIGHSPEEDVALTO_ERR: The APE highspeed supply value transferred through
|
||||
* I2C has not been correctly executed in the given time
|
||||
* @VSAFEHPVALTO_ERR: The SAFE high power supply value transfered through I2C
|
||||
* @VSAFEHPVALTO_ERR: The SAFE high power supply value transferred through I2C
|
||||
* has not been correctly executed in the given time
|
||||
* @VMODSEL1VALTO_ERR: The MODEM sel1 supply value transfered through I2C has
|
||||
* @VMODSEL1VALTO_ERR: The MODEM sel1 supply value transferred through I2C has
|
||||
* not been correctly executed in the given time
|
||||
* @VMODSEL2VALTO_ERR: The MODEM sel2 supply value transfered through I2C has
|
||||
* @VMODSEL2VALTO_ERR: The MODEM sel2 supply value transferred through I2C has
|
||||
* not been correctly executed in the given time
|
||||
* @VARMOFFACCESS_ERR: The command value of Varm ON/OFF transfered through
|
||||
* @VARMOFFACCESS_ERR: The command value of Varm ON/OFF transferred through
|
||||
* I2C has not been correctly executed in the given time
|
||||
* @VAPEOFFACCESS_ERR: The command value of Vape ON/OFF transfered through
|
||||
* @VAPEOFFACCESS_ERR: The command value of Vape ON/OFF transferred through
|
||||
* I2C has not been correctly executed in the given time
|
||||
* @VARMRETACCES_ERR: The command value of Varm retention ON/OFF transfered
|
||||
* @VARMRETACCES_ERR: The command value of Varm retention ON/OFF transferred
|
||||
* through I2C has not been correctly executed in the given time
|
||||
* @CURAPPWRSTISNOTBOOT:Generated when Arm want to do power state transition
|
||||
* ApBoot to ApExecute but the power current state is not Apboot
|
||||
|
|
@ -376,11 +376,11 @@ enum sia_mmdsp_stat {
|
|||
* been correctly executed in the given time
|
||||
* @ARMREGU2VALTO_ERR: The ArmRegu2 value transferred through I2C has not
|
||||
* been correctly executed in the given time
|
||||
* @VAPEREGUVALTO_ERR: The VApeRegu value transfered through I2C has not
|
||||
* @VAPEREGUVALTO_ERR: The VApeRegu value transferred through I2C has not
|
||||
* been correctly executed in the given time
|
||||
* @VSMPS3REGUVALTO_ERR: The VSmps3Regu value transfered through I2C has not
|
||||
* @VSMPS3REGUVALTO_ERR: The VSmps3Regu value transferred through I2C has not
|
||||
* been correctly executed in the given time
|
||||
* @VMODREGUVALTO_ERR: The VModemRegu value transfered through I2C has not
|
||||
* @VMODREGUVALTO_ERR: The VModemRegu value transferred through I2C has not
|
||||
* been correctly executed in the given time
|
||||
*/
|
||||
enum mbox_to_arm_err {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#define LP8788_ALM_IRQ "ALARM_IRQ"
|
||||
|
||||
enum lp8788_int_id {
|
||||
/* interrup register 1 : Addr 00h */
|
||||
/* interrupt register 1 : Addr 00h */
|
||||
LP8788_INT_TSDL,
|
||||
LP8788_INT_TSDH,
|
||||
LP8788_INT_UVLO,
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ enum {
|
|||
/**
|
||||
* max8998_regulator_data - regulator data
|
||||
* @id: regulator id
|
||||
* @initdata: regulator init data (contraints, supplies, ...)
|
||||
* @initdata: regulator init data (constraints, supplies, ...)
|
||||
* @reg_node: DT node of regulator (unused on non-DT platforms)
|
||||
*/
|
||||
struct max8998_regulator_data {
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ enum tps65917_regulators {
|
|||
TPS65917_NUM_REGS,
|
||||
};
|
||||
|
||||
/* External controll signal name */
|
||||
/* External control signal name */
|
||||
enum {
|
||||
PALMAS_EXT_CONTROL_ENABLE1 = 0x1,
|
||||
PALMAS_EXT_CONTROL_ENABLE2 = 0x2,
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ enum {
|
|||
#define BD71828_REG_RTC_ALM2 0x63
|
||||
#define BD71828_REG_RTC_START BD71828_REG_RTC_SEC
|
||||
|
||||
/* Charger/Battey */
|
||||
/* Charger/Battery */
|
||||
#define BD71828_REG_CHG_STATE 0x65
|
||||
#define BD71828_REG_CHG_FULL 0xd2
|
||||
#define BD71828_REG_CHG_EN 0x6F
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ struct sec_platform_data {
|
|||
/**
|
||||
* sec_regulator_data - regulator data
|
||||
* @id: regulator id
|
||||
* @initdata: regulator init data (contraints, supplies, ...)
|
||||
* @initdata: regulator init data (constraints, supplies, ...)
|
||||
*/
|
||||
struct sec_regulator_data {
|
||||
int id;
|
||||
|
|
|
|||
|
|
@ -94,10 +94,10 @@ enum si476x_power_state {
|
|||
* of the @rds_fifo_drainer.
|
||||
* @rds_drainer_status_lock: Lock used to guard access to the
|
||||
* @rds_drainer_is_working variable.
|
||||
* @command: Wait queue for wainting on the command comapletion.
|
||||
* @command: Wait queue for waiting on the command completion.
|
||||
* @cts: Clear To Send flag set upon receiving first status with CTS
|
||||
* set.
|
||||
* @tuning: Wait queue used for wainting for tune/seek comand
|
||||
* @tuning: Wait queue used for waiting for tune/seek command
|
||||
* completion.
|
||||
* @stc: Similar to @cts, but for the STC bit of the status value.
|
||||
* @power_up_parameters: Parameters used as argument for POWER_UP
|
||||
|
|
|
|||
|
|
@ -739,7 +739,7 @@ int twl4030_sih_setup(struct device *dev, int module, int irq_base);
|
|||
#define TWL4030_REG_VUSB3V1 19
|
||||
|
||||
/* TWL6030 SMPS/LDO's */
|
||||
/* EXTERNAL dc-to-dc buck convertor controllable via SR */
|
||||
/* EXTERNAL dc-to-dc buck converter controllable via SR */
|
||||
#define TWL6030_REG_VDD1 30
|
||||
#define TWL6030_REG_VDD2 31
|
||||
#define TWL6030_REG_VDD3 32
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user