Home
last modified time | relevance | path

Searched refs:pmic_reg_write (Results 1 – 25 of 57) sorted by relevance

123

/external/u-boot/board/freescale/common/
Dpfuze.c32 ret = pmic_reg_write(p, PFUZE100_SW1ABMODE, mode); in pfuze_mode_init()
39 ret = pmic_reg_write(p, offset + i * SWITCH_SIZE, mode); in pfuze_mode_init()
72 pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg); in pfuze_common_init()
78 pmic_reg_write(p, PFUZE100_SW1ABCONF, reg); in pfuze_common_init()
84 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in pfuze_common_init()
90 pmic_reg_write(p, PFUZE100_SW1CCONF, reg); in pfuze_common_init()
115 ret = pmic_reg_write(dev, PFUZE100_SW1ABMODE, mode); in pfuze_mode_init()
122 ret = pmic_reg_write(dev, offset + i * SWITCH_SIZE, mode); in pfuze_mode_init()
151 pmic_reg_write(dev, PFUZE100_SW1ABSTBY, reg); in pfuze_common_init()
157 pmic_reg_write(dev, PFUZE100_SW1ABCONF, reg); in pfuze_common_init()
[all …]
/external/u-boot/board/samsung/universal_c210/
Duniversal.c90 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in adc_power_control()
157 ret |= pmic_reg_write(dev, in s5pc210_phy_control()
162 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc210_phy_control()
166 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc210_phy_control()
171 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc210_phy_control()
175 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc210_phy_control()
179 ret |= pmic_reg_write(dev, in s5pc210_phy_control()
227 ret |= pmic_reg_write(dev, MAX8998_REG_LDO7, val); in init_pmic_lcd()
231 ret |= pmic_reg_write(dev, MAX8998_REG_LDO17, val); in init_pmic_lcd()
240 ret |= pmic_reg_write(dev, MAX8998_REG_ONOFF1, val); in init_pmic_lcd()
[all …]
/external/u-boot/board/freescale/mx51evk/
Dmx51evk.c188 pmic_reg_write(p, REG_POWER_MISC, val); in power_init()
193 pmic_reg_write(p, REG_CHARGE, val); in power_init()
196 pmic_reg_write(p, REG_POWER_MISC, PWUP); in power_init()
201 pmic_reg_write(p, REG_SW_0, val); in power_init()
206 pmic_reg_write(p, REG_SW_1, val); in power_init()
211 pmic_reg_write(p, REG_SW_2, val); in power_init()
224 pmic_reg_write(p, REG_SW_4, val); in power_init()
232 pmic_reg_write(p, REG_SW_5, val); in power_init()
238 pmic_reg_write(p, REG_SETTING_0, val); in power_init()
244 pmic_reg_write(p, REG_SETTING_1, val); in power_init()
[all …]
/external/u-boot/board/udoo/neo/
Dneo.c121 ret = pmic_reg_write(p, PFUZE3000_LDOGCTL, reg); in power_init_board()
125 ret = pmic_reg_write(p, PFUZE3000_SW1AMODE, 0xc); in power_init_board()
129 ret = pmic_reg_write(p, PFUZE3000_SW1BMODE, 0xc); in power_init_board()
133 ret = pmic_reg_write(p, PFUZE3000_SW2MODE, 0xc); in power_init_board()
137 ret = pmic_reg_write(p, PFUZE3000_SW3MODE, 0xc); in power_init_board()
145 ret = pmic_reg_write(p, PFUZE3000_SW1ASTBY, reg); in power_init_board()
153 ret = pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); in power_init_board()
161 ret = pmic_reg_write(p, PFUZE3000_SW1ACONF, reg); in power_init_board()
169 ret = pmic_reg_write(p, PFUZE3000_SW1BCONF, reg); in power_init_board()
177 ret = pmic_reg_write(p, PFUZE3000_SW1AVOLT, reg); in power_init_board()
[all …]
/external/u-boot/board/freescale/mx53loco/
Dmx53loco.c214 ret = pmic_reg_write(p, DA9053_BUCKCORE_REG, val); in power_init()
222 ret = pmic_reg_write(p, DA9053_SUPPLY_REG, val); in power_init()
229 ret = pmic_reg_write(p, DA9053_BUCKPRO_REG, 0x62); in power_init()
235 ret = pmic_reg_write(p, DA9053_SUPPLY_REG, 0x62); in power_init()
258 ret = pmic_reg_write(p, REG_SW_0, val); in power_init()
267 ret = pmic_reg_write(p, REG_SW_1, val); in power_init()
276 ret = pmic_reg_write(p, REG_POWER_CTL2, val); in power_init()
285 ret = pmic_reg_write(p, REG_MODE_0, val); in power_init()
293 ret = pmic_reg_write(p, SWBST_CTRL, val); in power_init()
/external/u-boot/board/nvidia/nyan-big/
Dnyan-big.c60 pmic_reg_write(dev, 0x00, 0x3c); in tegra_lcd_pmic_init()
62 pmic_reg_write(dev, 0x00, 0x50); in tegra_lcd_pmic_init()
63 pmic_reg_write(dev, 0x12, 0x10); in tegra_lcd_pmic_init()
64 pmic_reg_write(dev, 0x0c, 0x07); in tegra_lcd_pmic_init()
65 pmic_reg_write(dev, 0x20, 0x10); in tegra_lcd_pmic_init()
/external/u-boot/board/samsung/trats/
Dtrats.c230 ret = pmic_reg_write(dev, MAX8997_REG_SAFEOUTCTRL, reg); in s5pc210_phy_control()
237 ret = pmic_reg_write(dev, MAX8997_REG_LDO3CTRL, reg); in s5pc210_phy_control()
244 ret = pmic_reg_write(dev, MAX8997_REG_LDO8CTRL, reg); in s5pc210_phy_control()
252 ret = pmic_reg_write(dev, MAX8997_REG_LDO8CTRL, reg); in s5pc210_phy_control()
259 ret = pmic_reg_write(dev, MAX8997_REG_LDO3CTRL, reg); in s5pc210_phy_control()
266 ret = pmic_reg_write(dev, MAX8997_REG_SAFEOUTCTRL, reg); in s5pc210_phy_control()
425 ret |= pmic_reg_write(p, MAX8997_REG_LDO15CTRL, 0x1c | EN_LDO); in lcd_power()
427 ret |= pmic_reg_write(p, MAX8997_REG_LDO13CTRL, 0x2c | EN_LDO); in lcd_power()
449 ret |= pmic_reg_write(p, MAX8997_REG_LDO3CTRL, 0x6 | EN_LDO); in mipi_power()
451 ret |= pmic_reg_write(p, MAX8997_REG_LDO4CTRL, 0x14 | EN_LDO); in mipi_power()
/external/u-boot/drivers/power/mfd/
Dpmic_max77693.c22 pmic_reg_write(p, MAX77693_CHG_CNFG_06, val); in max77693_charger_state()
28 pmic_reg_write(p, MAX77693_CHG_CNFG_00, val); in max77693_charger_state()
42 pmic_reg_write(p, MAX77693_CHG_CNFG_02, val); in max77693_charger_state()
46 pmic_reg_write(p, MAX77693_CHG_CNFG_00, val); in max77693_charger_state()
/external/u-boot/drivers/power/fuel_gauge/
Dfg_max17042.c23 ret = pmic_reg_write(p, addr, *(data + i)); in fg_write_regs()
53 ret |= pmic_reg_write(p, addr, val); in fg_write_and_verify()
79 pmic_reg_write(p, MAX17042_CONFIG, 0x2310); in por_fuelgauge_init()
91 pmic_reg_write(p, MAX17042_MLOCKReg1, MODEL_UNLOCK1); in por_fuelgauge_init()
92 pmic_reg_write(p, MAX17042_MLOCKReg2, MODEL_UNLOCK2); in por_fuelgauge_init()
150 pmic_reg_write(p, MAX17042_MLOCKReg1, MODEL_LOCK1); in por_fuelgauge_init()
151 pmic_reg_write(p, MAX17042_MLOCKReg2, MODEL_LOCK2); in por_fuelgauge_init()
/external/u-boot/board/technexion/pico-imx7d/
Dpico-imx7d.c90 pmic_reg_write(p, PFUZE3000_LDOGCTL, reg); in power_init_board()
94 pmic_reg_write(p, PFUZE3000_SW1AMODE, reg); in power_init_board()
95 pmic_reg_write(p, PFUZE3000_SW1BMODE, reg); in power_init_board()
99 pmic_reg_write(p, PFUZE3000_SW1ASTBY, reg); in power_init_board()
100 pmic_reg_write(p, PFUZE3000_SW1BSTBY, reg); in power_init_board()
106 pmic_reg_write(p, PFUZE3000_SW1BVOLT, reg); in power_init_board()
/external/u-boot/board/samsung/goni/
Dgoni.c150 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc1xx_phy_control()
158 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc1xx_phy_control()
167 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF1, reg); in s5pc1xx_phy_control()
175 ret = pmic_reg_write(dev, MAX8998_REG_ONOFF2, reg); in s5pc1xx_phy_control()
/external/u-boot/board/woodburn/
Dwoodburn.c185 pmic_reg_write(p, REG_SW_4, val); in board_init()
193 pmic_reg_write(p, REG_SW_5, val); in board_init()
199 pmic_reg_write(p, REG_SETTING_0, val); in board_init()
203 pmic_reg_write(p, REG_MODE_0, val); in board_init()
/external/u-boot/drivers/gpio/
Dpm8916_gpio.c68 ret = pmic_reg_write(dev->parent, gpio_base + REG_CTL, in pm8916_gpio_set_direction()
71 ret = pmic_reg_write(dev->parent, gpio_base + REG_CTL, in pm8916_gpio_set_direction()
77 ret = pmic_reg_write(dev->parent, gpio_base + REG_DIG_PULL_CTL, in pm8916_gpio_set_direction()
85 ret = pmic_reg_write(dev->parent, gpio_base + REG_DIG_VIN_CTL, in pm8916_gpio_set_direction()
91 ret = pmic_reg_write(dev->parent, gpio_base + REG_DIG_OUT_CTL, in pm8916_gpio_set_direction()
/external/u-boot/drivers/power/pmic/
Dpmic_max8997.c41 pmic_reg_write(p, MAX8997_REG_MBCCTRL2, val); in pmic_charger_state()
59 pmic_reg_write(p, MAX8997_REG_MBCCTRL4, val); in pmic_charger_state()
63 pmic_reg_write(p, MAX8997_REG_MBCCTRL2, val); in pmic_charger_state()
Das3722_gpio.c26 err = pmic_reg_write(pmic, AS3722_GPIO_CONTROL(gpio), value); in as3722_gpio_configure()
61 err = pmic_reg_write(pmic, AS3722_GPIO_SIGNAL_OUT, value); in as3722_gpio_set_value()
84 err = pmic_reg_write(pmic, AS3722_GPIO_CONTROL(gpio), value); in as3722_gpio_direction_output()
/external/u-boot/board/samtec/vining_2000/
Dvining_2000.c210 pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg); in pfuze_init()
216 pmic_reg_write(p, PFUZE100_SW1ABCONF, reg); in pfuze_init()
222 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in pfuze_init()
228 pmic_reg_write(p, PFUZE100_SW1CCONF, reg); in pfuze_init()
253 ret = pmic_reg_write(p, PFUZE100_SW1ABMODE, mode); in pfuze_mode_init()
260 ret = pmic_reg_write(p, offset + i * SWITCH_SIZE, mode); in pfuze_mode_init()
/external/u-boot/board/technexion/pico-imx6ul/
Dpico-imx6ul.c233 pmic_reg_write(pfuze, PFUZE3000_LDOGCTL, 0x1); in power_init_board()
236 pmic_reg_write(pfuze, PFUZE3000_SW1BCONF, 0x40); in power_init_board()
239 pmic_reg_write(pfuze, PFUZE3000_SW1BMODE, 0xc); in power_init_board()
242 pmic_reg_write(pfuze, PFUZE3000_SW1BSTBY, 0xb); in power_init_board()
/external/u-boot/drivers/power/regulator/
Dpalmas_regulator.c78 ret = pmic_reg_write(dev->parent, adr, ret); in palmas_smps_enable()
160 return pmic_reg_write(dev->parent, adr, ret); in palmas_smps_val()
192 return pmic_reg_write(dev->parent, adr, reg); in palmas_ldo_bypass_enable()
223 ret = pmic_reg_write(dev->parent, adr, ret); in palmas_ldo_enable()
290 return pmic_reg_write(dev->parent, adr, ret); in palmas_ldo_val()
Dlp873x_regulator.c50 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_buck_enable()
120 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_buck_val()
153 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_ldo_enable()
215 ret = pmic_reg_write(dev->parent, adr, ret); in lp873x_ldo_val()
/external/u-boot/board/el/el6x/
Del6x.c418 pmic_reg_write(p, PFUZE100_VGEN3VOL, reg); in power_init_board()
424 pmic_reg_write(p, PFUZE100_VGEN5VOL, reg); in power_init_board()
430 pmic_reg_write(p, PFUZE100_SW1ABSTBY, reg); in power_init_board()
436 pmic_reg_write(p, PFUZE100_SW1ABCONF, reg); in power_init_board()
442 pmic_reg_write(p, PFUZE100_SW1CSTBY, reg); in power_init_board()
448 pmic_reg_write(p, PFUZE100_SW1CCONF, reg); in power_init_board()
/external/u-boot/board/gateworks/gw_ventana/
Dcommon.c1265 pmic_reg_write(p, PFUZE100_VGEN1VOL, reg); in setup_pmic()
1271 pmic_reg_write(p, PFUZE100_SWBSTCON1, reg); in setup_pmic()
1295 pmic_reg_write(p, LTC3676_DVB3B, in setup_pmic()
1298 pmic_reg_write(p, LTC3676_DVB3A, 0x1f); in setup_pmic()
1302 pmic_reg_write(p, LTC3676_DVB3B, in setup_pmic()
1305 pmic_reg_write(p, LTC3676_DVB3A, 0x1f); in setup_pmic()
1308 pmic_reg_write(p, LTC3676_DVB4B, in setup_pmic()
1311 pmic_reg_write(p, LTC3676_DVB4A, 0x1f); in setup_pmic()
1315 pmic_reg_write(p, LTC3676_DVB1B, in setup_pmic()
1318 pmic_reg_write(p, LTC3676_DVB1A, 0x1f); in setup_pmic()
[all …]
/external/u-boot/drivers/rtc/
Dmc13xxx-rtc.c57 pmic_reg_write(p, REG_RTC_DAY, day); in rtc_set()
58 pmic_reg_write(p, REG_RTC_TIME, time); in rtc_set()
/external/u-boot/board/freescale/mx31pdk/
Dmx31pdk.c96 pmic_reg_write(p, REG_POWER_CTL0, val | COINCHEN); in board_late_init()
97 pmic_reg_write(p, REG_INT_STATUS1, RTCRSTI); in board_late_init()
/external/u-boot/board/freescale/mx53evk/
Dmx53evk.c95 pmic_reg_write(p, REG_SW_2, val); in power_init()
106 pmic_reg_write(p, REG_SW_1, val); in power_init()
112 pmic_reg_write(p, REG_SW_2, val); in power_init()
/external/u-boot/board/freescale/mx6sllevk/
Dmx6sllevk.c72 pmic_reg_write(dev, PFUZE100_SW1ABMODE, APS_PFM); in power_init_board()
75 pmic_reg_write(dev, offset + i * SWITCH_SIZE, APS_PFM); in power_init_board()

123