Searched refs:pmic_core (Results 1 – 2 of 2) sorted by relevance
297 const struct chip_data *pmic_core; in mt6397_probe() local313 pmic_core = of_device_get_match_data(&pdev->dev); in mt6397_probe()314 if (!pmic_core) in mt6397_probe()317 ret = regmap_read(pmic->regmap, pmic_core->cid_addr, &id); in mt6397_probe()323 pmic->chip_id = (id >> pmic_core->cid_shift) & 0xff; in mt6397_probe()331 ret = pmic_core->irq_init(pmic); in mt6397_probe()336 pmic_core->cells, pmic_core->cell_size, in mt6397_probe()
160 pmic_core.c will support storing available devices in a list.