regulator: tps65217: Add device tree support
This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with regulator set and get APIs. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Mark Brown

vecāks
257ee3c6dd
revīzija
a7f1b63eb8
@@ -293,6 +293,7 @@ static int __devinit tps65217_regulator_probe(struct platform_device *pdev)
|
||||
tps->info[pdev->id] = info;
|
||||
|
||||
config.dev = &pdev->dev;
|
||||
config.of_node = pdev->dev.of_node;
|
||||
config.init_data = pdev->dev.platform_data;
|
||||
config.driver_data = tps;
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user