Home
last modified time | relevance | path

Searched refs:sgm41542 (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/power/charge/
H A Dsgm41542_charger.c170 struct sgm41542 { struct
188 static int sgm41542_read(struct sgm41542 *charger, uint reg, u8 *buffer) in sgm41542_read() argument
203 static int sgm41542_write(struct sgm41542 *charger, uint reg, u8 val) in sgm41542_write()
214 static int sgm41542_update_bits(struct sgm41542 *charger, in sgm41542_update_bits()
228 static int sgm4154x_set_input_curr_lim(struct sgm41542 *charger, int iindpm) in sgm4154x_set_input_curr_lim()
264 static int sgm4154x_set_ichrg_curr(struct sgm41542 *charger, int uA) in sgm4154x_set_ichrg_curr()
286 static int sgm4154x_set_prechrg_curr(struct sgm41542 *charger, int uA) in sgm4154x_set_prechrg_curr()
309 static int sgm4154x_set_chrg_volt(struct sgm41542 *charger, int chrg_volt) in sgm4154x_set_chrg_volt()
332 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_set_charger_voltage()
340 struct sgm41542 *charger = dev_get_priv(dev); in sgm41542_charger_enable()
[all …]
H A DKconfig23 This adds support for sgm41542 charger support.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dsgm41542_charger.txt1 Binding for sgm41542 battery charger
4 - compatible: "sgm,sgm41542" for sgm41542 Charger Power Supply
20 sgm41542: sgm41542@3b {
21 compatible = "sgm,sgm41542";