Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-mt65xx.c155 struct clk *clk_pmic; /* PMIC clock for i2c from PMIC */ member
254 ret = clk_prepare_enable(i2c->clk_pmic); in mtk_i2c_clock_enable()
271 clk_disable_unprepare(i2c->clk_pmic); in mtk_i2c_clock_disable()
846 i2c->clk_pmic = devm_clk_get(&pdev->dev, "pmic"); in mtk_i2c_probe()
847 if (IS_ERR(i2c->clk_pmic)) { in mtk_i2c_probe()
849 return PTR_ERR(i2c->clk_pmic); in mtk_i2c_probe()
851 clk = i2c->clk_pmic; in mtk_i2c_probe()