Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1685562

Re: [RFC v2 4/6] drivers: boot_constraint: Add debugfs support

From Viresh Kumar <viresh.kumar@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFC v2 4/6] drivers: boot_constraint: Add debugfs support
Date 2017-07-12 09:20 +0200
Message-ID <u2k6f-57j-23@gated-at.bofh.it> (permalink)
References <u2jtv-4CF-3@gated-at.bofh.it> <u2jtw-4CF-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12-07-17, 12:04, 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:
> supply-vmmc
> 
> /sys/kernel/debug/boot_constraints/f723d000.dwmmc0/supply-vmmc:
> u_volt_max  u_volt_min
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
>  drivers/base/boot_constraint.c | 80 ++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 80 insertions(+)

Forgot to mention that this one depends on
https://marc.info/?l=linux-kernel&m=149870936319587 for compilation
without CONFIG_DEBUG_FS.

--
viresh

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC v2 4/6] drivers: boot_constraint: Add debugfs support Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-12 08:40 +0200
  Re: [RFC v2 4/6] drivers: boot_constraint: Add debugfs support Viresh Kumar <viresh.kumar@linaro.org> - 2017-07-12 09:20 +0200

csiph-web