Thread (23 messages) 23 messages, 4 authors, 2017-09-19

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

From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2017-08-29 10:04:50
Also in: lkml

On 29-08-17, 08:36, Greg Kroah-Hartman wrote:
On Tue, Aug 01, 2017 at 02:53:47PM +0530, Viresh Kumar wrote:
quoted
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 <redacted>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Minor debugfs api interaction nits below:
All accepted :)

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help