高通smb358的充电参数说明,主要所dtsi数据写入。
主要就是通过I2C通讯
其他参数充电电流,电压,温度
Summit smb358 battery charger
SMB358 is a single-cell battery charger. It can charge the battery and power the system via the USB/AC adapter input.The smb358 interface is via I2C bus.
Required Properties:
- compatible Must be "qcom,smb358-charger".
- reg The device 7-bit I2C address.
- interrupt-parent parent of interrupt.
- interrupts This indicates the IRQ number of the GPIO connected to the STAT pin.
- qcom,irq-gpio GPIO which receives interrupts from STAT output.
- qcom,bms-psy-name This is a string and it points to the bms power supply name.
- qcom,float-voltage-mv Float Voltage in mV - the maximum voltage up to which the battery is charged. Supported range 3500mV to 4500mV
Optional Properties:
- qcom,fastchg-current-max-ma Fast Charging current in mA. Supported range is from 200mA to 2000mA.
- qcom,chg-valid-gpio GPIO which indicates the charger presence. This GPIO is connected to the SYSOK pin.
- qcom,chg-autonomous-mode This is a bool property and it indicates that the charger is configured for autonomous oper