Searched refs:pmic_core (Results 1 – 1 of 1) sorted by relevance
152 const struct chip_data *pmic_core; in mt6397_probe() local168 pmic_core = of_device_get_match_data(&pdev->dev); in mt6397_probe()169 if (!pmic_core) in mt6397_probe()172 ret = regmap_read(pmic->regmap, pmic_core->cid_addr, &id); in mt6397_probe()178 pmic->chip_id = (id >> pmic_core->cid_shift) & 0xff; in mt6397_probe()