Lines Matching refs:device
28 The same device - e.g. MAX8997 uses two different I2C busses and addresses.
35 The "flat" hierarchy for power devices works well when each device performs only
38 The problem emerges when we have a device (battery) which conceptually shall be
43 Up till now u-boot doesn't support device model, so a simple one had to be
64 Everything is a power device described by struct pmic. Even battery is
65 considered as a valid power device. This helps for better management of those
85 prompt to change values of device's register (enable/disable LDO, BUCK).
94 - FG device (struct power_fg):
99 - Charger device (struct power_chrq):
107 - Battery device (struct power_battery):
109 hierarchy battery device
118 -- *fg_battery_check -> FG device (fg_max17042.c)
119 -- *fg_battery_update -> FG device (fg_max17042.c)
120 -- *chrg_type -> MUIC device (muic_max8997.c)
121 -- *chrg_bat_present -> PMIC device (pmic_max8997.c)
122 -- *chrg_state -> PMIC device (pmic_max8997.c)
123 -- *battery_init -> BAT device (bat_trats.c)
124 -- *battery_charge -> BAT device (bat_trats.c)
129 How to add a new power device
132 1. Simple device should be added with creation of file
136 Then "pmic" command supports reading/writing/dump of device's internal
153 1. Description of the devices related to power via device tree is not available.
159 where X is the device number. This problem will be addressed when extended
166 4. Adjust the framework to work with the device model.