[PATCH V3 6/8] drivers: boot_constraint: Add debugfs support

Viresh Kumar viresh.kumar at linaro.org
Tue Aug 29 03:04:43 PDT 2017


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 at codeaurora.org>
> > Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> 
> Minor debugfs api interaction nits below:

All accepted :)

-- 
viresh



More information about the linux-arm-kernel mailing list