您好!
根据 PMIC 文档、以下是 PMIC 所需的初始化过程:
6.1 Initialization Upon a successful power up, the BIST_PASS_INT and ENABLE_INT interrupts are set. Any other interrupts indicate an issue but the automated recovery attempt was successful. The recommended procedure is to: 1. Interrogate the interrupts 2. Determine the course of action 3. Set the NSLEEP bits 4. Clear the interrupts
但是、在驱动器中、至少在我看来、我们只有这样:
int tps6594_device_init(struct tps6594 *tps, bool enable_crc) { ... /* Keep PMIC in ACTIVE state */ ret = regmap_set_bits(tps->regmap, TPS6594_REG_FSM_NSLEEP_TRIGGERS, TPS6594_BIT_NSLEEP1B | TPS6594_BIT_NSLEEP2B); if (ret) return dev_err_probe(dev, ret, "Failed to set PMIC state\n"); ... return 0; }
您能否确认驾驶员工作正常?