13 #include <linux/module.h>
14 #include <linux/slab.h>
19 static void of_get_regulation_constraints(
struct device_node *np,
22 const __be32 *min_uV, *max_uV, *uV_offset;
23 const __be32 *min_uA, *max_uA, *ramp_delay;
39 if (min_uV && max_uV && constraints->
min_uV == constraints->
max_uV)
89 of_get_regulation_constraints(node, &init_data);
113 unsigned int num_matches)
115 unsigned int count = 0;
125 "regulator-compatible",
NULL);
128 for (i = 0; i < num_matches; i++) {
140 "failed to parse DT for regulator %s\n",