|
@@ -209,7 +209,7 @@ static const struct regulator_desc regulators[] = {
|
|
|
1, -1, -1, TPS65218_REG_ENABLE1,
|
|
|
TPS65218_ENABLE1_DC6_EN, NULL, NULL, 0, 0),
|
|
|
TPS65218_REGULATOR("LDO1", TPS65218_LDO_1, tps65218_ldo1_dcdc34_ops, 64,
|
|
|
- TPS65218_REG_CONTROL_DCDC4,
|
|
|
+ TPS65218_REG_CONTROL_LDO1,
|
|
|
TPS65218_CONTROL_LDO1_MASK, TPS65218_REG_ENABLE2,
|
|
|
TPS65218_ENABLE2_LDO1_EN, NULL, ldo1_dcdc3_ranges,
|
|
|
2, 0),
|
|
@@ -240,6 +240,7 @@ static int tps65218_regulator_probe(struct platform_device *pdev)
|
|
|
config.init_data = init_data;
|
|
|
config.driver_data = tps;
|
|
|
config.regmap = tps->regmap;
|
|
|
+ config.of_node = pdev->dev.of_node;
|
|
|
|
|
|
rdev = devm_regulator_register(&pdev->dev, ®ulators[id], &config);
|
|
|
if (IS_ERR(rdev)) {
|