Re: [PATCH V3 6/8] drivers: boot_constraint: Add debugfs support
From: Viresh Kumar
Date: Tue Aug 29 2017 - 06:04:55 EST
On 29-08-17, 08:36, Greg Kroah-Hartman wrote:
> On Tue, Aug 01, 2017 at 02:53:47PM +0530, Viresh Kumar wrote:
> > This patch adds debugfs support for boot constraints. This is how it
> > looks for a "vmmc-supply" constraint for the MMC device.
> >
> > $ ls -R /sys/kernel/debug/boot_constraints/
> > /sys/kernel/debug/boot_constraints/:
> > f723d000.dwmmc0
> >
> > /sys/kernel/debug/boot_constraints/f723d000.dwmmc0:
> > clk-ciu pm-domain supply-vmmc supply-vmmcaux
> >
> > /sys/kernel/debug/boot_constraints/f723d000.dwmmc0/clk-ciu:
> >
> > /sys/kernel/debug/boot_constraints/f723d000.dwmmc0/pm-domain:
> >
> > /sys/kernel/debug/boot_constraints/f723d000.dwmmc0/supply-vmmc:
> > u_volt_max u_volt_min
> >
> > /sys/kernel/debug/boot_constraints/f723d000.dwmmc0/supply-vmmcaux:
> > u_volt_max u_volt_min
> >
> > Tested-by: Rajendra Nayak <rnayak@xxxxxxxxxxxxxx>
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> Minor debugfs api interaction nits below:
All accepted :)
--
viresh