Re: [PATCH V4] PM / OPP: Add debugfs support

From: Rafael J. Wysocki
Date: Fri Nov 06 2015 - 19:38:34 EST

On Thursday, November 05, 2015 03:02:50 PM Viresh Kumar wrote:
> This patch adds debugfs support to OPP layer to export OPPs and their
> properties for all the devices.
> This creates a top level directory: /sys/kernel/debug/opp and then
> device specific directories (based on device names) inside it. For
> example: 'cpu0', 'cpu1', etc..
> If multiple devices share the OPP table, then the real directory is
> created only for the first device. For all others, links are created to
> the real directory.
> Inside the device specific directory, a separate directory is created
> for each OPP. And within that files per opp property.
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> Hi Rafael,
> This was applied to pm/linux-next earlier, but then we dropped it citing
> few merge conflicts with driver-core changes. i.e. debugfs_create_bool()
> and debugfs_create_ulong() changes.
> All that is merged by Linus and so we can get this merged back again,
> once you are comfortable.
> @Stephen: I have dropped your Reviewed by tag as there were minor
> changes here, please give it again :)

So I'll wait for the response from Stephen and then I'll queue up this one
for v4.5.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at