Lines Matching +full:buck +full:- +full:f
2 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com/
4 * Author: Andrew F. Davis <afd@ti.com>
172 if (of_property_read_bool(node, "ti,regulator-step-size-25mv")) { in tps65086_of_parse_cb()
173 switch (desc->id) { in tps65086_of_parse_cb()
177 regulators[desc->id].desc.linear_ranges = in tps65086_of_parse_cb()
179 regulators[desc->id].desc.n_linear_ranges = in tps65086_of_parse_cb()
185 regulators[desc->id].desc.linear_ranges = in tps65086_of_parse_cb()
187 regulators[desc->id].desc.n_linear_ranges = in tps65086_of_parse_cb()
191 dev_warn(config->dev, "25mV step mode only valid for BUCK regulators\n"); in tps65086_of_parse_cb()
196 if (desc->id <= BUCK6 && of_property_read_bool(node, "ti,regulator-decay")) { in tps65086_of_parse_cb()
197 ret = regmap_write_bits(config->regmap, in tps65086_of_parse_cb()
198 regulators[desc->id].decay_reg, in tps65086_of_parse_cb()
199 regulators[desc->id].decay_mask, in tps65086_of_parse_cb()
200 regulators[desc->id].decay_mask); in tps65086_of_parse_cb()
202 dev_err(config->dev, "Error setting decay\n"); in tps65086_of_parse_cb()
212 struct tps65086 *tps = dev_get_drvdata(pdev->dev.parent); in tps65086_regulator_probe()
219 config.dev = &pdev->dev; in tps65086_regulator_probe()
220 config.dev->of_node = tps->dev->of_node; in tps65086_regulator_probe()
222 config.regmap = tps->regmap; in tps65086_regulator_probe()
225 rdev = devm_regulator_register(&pdev->dev, ®ulators[i].desc, in tps65086_regulator_probe()
228 dev_err(tps->dev, "failed to register %s regulator\n", in tps65086_regulator_probe()
229 pdev->name); in tps65086_regulator_probe()
238 { "tps65086-regulator", },
245 .name = "tps65086-regulator",
252 MODULE_AUTHOR("Andrew F. Davis <afd@ti.com>");