From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933170AbdGLHSH (ORCPT ); Wed, 12 Jul 2017 03:18:07 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:34029 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756530AbdGLHSF (ORCPT ); Wed, 12 Jul 2017 03:18:05 -0400 Date: Wed, 12 Jul 2017 12:48:02 +0530 From: Viresh Kumar To: Greg Kroah-Hartman Cc: Vincent Guittot , Rob Herring , Mark Brown , Stephen Boyd , Rajendra Nayak , Shiraz Hashim , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [RFC v2 4/6] drivers: boot_constraint: Add debugfs support Message-ID: <20170712071802.GA1679@vireshk-i7> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 > --- > 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