Re: [PATCH v2] platform/chrome: cros_ec: Expose suspend_timeout_ms in debugfs
From: Tzung-Bi Shih
Date: Mon Aug 22 2022 - 01:56:10 EST
On Thu, Aug 18, 2022 at 10:24:23AM -0700, Prashant Malani wrote:
> On Thu, Aug 18, 2022 at 8:29 AM Evan Green <evgreen@xxxxxxxxxxxx> wrote:
> > diff --git a/Documentation/ABI/testing/debugfs-cros-ec b/Documentation/ABI/testing/debugfs-cros-ec
> > index 1fe0add99a2a99..9f79c641b2d09f 100644
> > --- a/Documentation/ABI/testing/debugfs-cros-ec
> > +++ b/Documentation/ABI/testing/debugfs-cros-ec
> > @@ -54,3 +54,25 @@ Description:
> > this feature.
> >
> > Output will be in the format: "0x%08x\n".
> > +
> > +What: /sys/kernel/debug/<cros-ec-device>/suspend_timeout_ms
> > +Date: August 2022
> > +KernelVersion: 6.1
> > +Description:
> > + Some ECs have a feature where they will track transitions to the
> > + a hardware-controlled sleep line, such as Intel's SLP_S0 line,
> > + in order to detect cases where a system failed to go into deep
> > + sleep states. The suspend_timeout file controls the amount of
> s/suspend_timeout/suspend_timeout_ms
Please also fix it in code.