/** * struct sec_pmic_dev - s2m/s5m master device for sub-drivers * @dev: Master device of the chip * @pdata: Platform data populated with data from DTS * or board files * @regmap_pmic: Regmap associated with PMIC's I2C address * @i2c: I2C client of the main driver * @device_type: Type of device, matches enum sec_device_type * @irq_base: Base IRQ number for device, required for IRQs * @irq: Generic IRQ number for device * @irq_data: Runtime data structure for IRQ controller * @wakeup: Whether or not this is a wakeup device
*/ struct sec_pmic_dev { struct device *dev; struct sec_platform_data *pdata; struct regmap *regmap_pmic; struct i2c_client *i2c;
int device_type; int irq; struct regmap_irq_chip_data *irq_data;
};
int buck2_init; int buck3_init; int buck4_init; /* Whether or not manually set PWRHOLD to low during shutdown. */ bool manual_poweroff; /* Disable the WRSTBI (buck voltage warm reset) when probing? */ bool disable_wrstbi;
};
/** * sec_regulator_data - regulator data * @id: regulator id * @initdata: regulator init data (contraints, supplies, ...)
*/ struct sec_regulator_data { int id; struct regulator_init_data *initdata; struct device_node *reg_node; struct gpio_desc *ext_control_gpiod;
};
/* * sec_opmode_data - regulator operation mode data * @id: regulator id * @mode: regulator operation mode
*/ struct sec_opmode_data { int id; unsignedint mode;
};
/* * samsung regulator operation mode * SEC_OPMODE_OFF Regulator always OFF * SEC_OPMODE_ON Regulator always ON * SEC_OPMODE_LOWPOWER Regulator is on in low-power mode * SEC_OPMODE_SUSPEND Regulator is changed by PWREN pin * If PWREN is high, regulator is on * If PWREN is low, regulator is off
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.