This change adds to enable BCL2 node; adds bcl thermal zone
mitigations and cooling maps for pmih010x.
Change-Id: I4e4cef9a1d7064afd32ee1422bb2e5a23a31689a
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Currently, charger FW configures and enables ship mode in parallel with
shutdown activity. This can cause a race condition leaving the device in
a bad state if the device is powering off while SW is still issuing SPMI
writes.
Add the battery charger "qcom,ship-mode-immediate" property on Sun
platforms so that ship mode will be configured immediately by charger FW
after user sets ship_mode_en.
Change-Id: I55a78c7b5c59b8b82519713fb4267d081c54a92f
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Add wireless firmware name in battery charger device to support wireless
FW update for IDT9418 wireless transceiver found on Sun platforms.
Change-Id: I0e715b5a2bd297eec5f801c2fb09bc6023ac9c42
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Add thermal mitigation step for sun boards so that clients like
thermal SW can do thermal mitigation via charge_control_limit
property under battery power supply.
Change-Id: I0a4ec6e466d5cc52577a28334ec66eddcaf35ef5
Signed-off-by: Subbaraman Narayanamurthy <quic_subbaram@quicinc.com>
Add SMB and IDT charger PMIC devices inside of the pmic-glink-debug
device. These are interfaced over I2C and an SPMI bridge bus. This
ensures that software is able to access the registers of these PMICs.
Change-Id: I7afc56cb78a353960cb7db98ce5d9b51a05db9fe
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
Add PMIC Glink ADC channel nodes for Sun MTP and QRD boards.
This exposes an interface for software to read PMIC charger ADC
channels for input current, charge current, and die temperature.
This is useful for PMICs connected via I2C which are only
accessible to charger firmware.
Change-Id: Ie8a9a0690b9937f9c0c541123c28e544ba3495ec
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
Add initial device trees to support Sun QRD sku1 and sku2 SoC
and it's platforms.
Change-Id: Ibf28cbc9f33f19908c4d8ac1b431d17632c43e6b
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>