public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: viresh.kumar@linaro.org (Viresh Kumar)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC v2 4/6] drivers: boot_constraint: Add debugfs support
Date: Wed, 12 Jul 2017 12:48:02 +0530	[thread overview]
Message-ID: <20170712071802.GA1679@vireshk-i7> (raw)
In-Reply-To: <c52f57d42ec875da97acde84e5dbe86be5390f6c.1499770771.git.viresh.kumar@linaro.org>

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

  reply	other threads:[~2017-07-12  7:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-12  6:34 [RFC v2 0/6] drivers: Boot Constraints core Viresh Kumar
2017-07-12  6:34 ` [RFC v2 1/6] drivers: Add boot constraints core Viresh Kumar
2017-07-12  6:34 ` [RFC v2 2/6] drivers: boot_constraint: Add support for supply constraints Viresh Kumar
2017-07-12  6:34 ` [RFC v2 3/6] drivers: boot_constraint: Add boot_constraints_disable kernel parameter Viresh Kumar
2017-07-12  6:34 ` [RFC v2 4/6] drivers: boot_constraint: Add debugfs support Viresh Kumar
2017-07-12  7:18   ` Viresh Kumar [this message]
2017-07-12  6:34 ` [RFC v2 5/6] drivers: boot_constraint: Add initial DT bindings Viresh Kumar
2017-07-12 21:28   ` Rob Herring
2017-07-13  2:52     ` Chen-Yu Tsai
2017-07-13  5:09       ` Viresh Kumar
2017-07-13  9:46         ` Chen-Yu Tsai
2017-07-13  9:51           ` Viresh Kumar
2017-07-13  9:36     ` Viresh Kumar
2017-07-17 17:34       ` Rob Herring
2017-07-18  5:58         ` Viresh Kumar
2017-07-12  6:34 ` [RFC v2 6/6] drivers: boot_constraint: Add constraints for OF devices Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170712071802.GA1679@vireshk-i7 \
    --to=viresh.kumar@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox