Re: [PATCH] regulator: add a data summary tree in debugfs

2015-04-06 Thread Mark Brown
On Mon, Apr 06, 2015 at 02:04:47AM +0200, Heiko Stübner wrote: > + switch (rdev->desc->type) { > + case REGULATOR_VOLTAGE: > + seq_printf(s, "%8dmV ", > +_regulator_get_voltage(rdev) / 1000); > + break; > + case REGULATOR_CURRENT: > +

[PATCH] regulator: add a data summary tree in debugfs

2015-04-05 Thread Heiko Stübner
On modern systems the regulator hierarchy can get quite long and nested with regulators supplying other regulators. In some cases when debugging it might be nice to get a tree of these regulators, their consumers and the regulation constraints in one go. To achieve this add a regulator_summary sys