Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mfd/
H A Dtps65910.c448 struct tps65910_board *pmic_plat_data; in tps65910_i2c_probe() local
454 pmic_plat_data = dev_get_platdata(&i2c->dev); in tps65910_i2c_probe()
456 if (!pmic_plat_data && i2c->dev.of_node) { in tps65910_i2c_probe()
457 pmic_plat_data = tps65910_parse_dt(i2c, &chip_id); in tps65910_i2c_probe()
458 of_pmic_plat_data = pmic_plat_data; in tps65910_i2c_probe()
461 if (!pmic_plat_data) in tps65910_i2c_probe()
490 init_data->irq = pmic_plat_data->irq; in tps65910_i2c_probe()
491 init_data->irq_base = pmic_plat_data->irq_base; in tps65910_i2c_probe()
494 tps65910_ck32k_init(tps65910, pmic_plat_data); in tps65910_i2c_probe()
495 tps65910_sleepinit(tps65910, pmic_plat_data); in tps65910_i2c_probe()
[all …]
/openbmc/linux/drivers/regulator/
H A Dtps65910-regulator.c1001 struct tps65910_board *pmic_plat_data; in tps65910_parse_dt_reg_data() local
1008 pmic_plat_data = devm_kzalloc(&pdev->dev, sizeof(*pmic_plat_data), in tps65910_parse_dt_reg_data()
1010 if (!pmic_plat_data) in tps65910_parse_dt_reg_data()
1049 pmic_plat_data->tps65910_pmic_init_data[idx] = in tps65910_parse_dt_reg_data()
1059 return pmic_plat_data; in tps65910_parse_dt_reg_data()
1078 struct tps65910_board *pmic_plat_data; in tps65910_probe() local
1082 pmic_plat_data = dev_get_platdata(tps65910->dev); in tps65910_probe()
1083 if (!pmic_plat_data && tps65910->dev->of_node) in tps65910_probe()
1084 pmic_plat_data = tps65910_parse_dt_reg_data(pdev, in tps65910_probe()
1087 if (!pmic_plat_data) { in tps65910_probe()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-rc5t583.c209 struct rc5t583_platform_data *pmic_plat_data; in rc5t583_rtc_probe() local
232 pmic_plat_data = dev_get_platdata(rc5t583->dev); in rc5t583_rtc_probe()
233 irq = pmic_plat_data->irq_base; in rc5t583_rtc_probe()