Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3982188pxb; Mon, 27 Sep 2021 07:02:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSly5ozbt/xDYKDZYKOO92y9idiDkvai8RO91bKEd4rt5SswvSe5ZCoCMp09WZvOxypAs0 X-Received: by 2002:a17:906:f0d4:: with SMTP id dk20mr182592ejb.199.1632751320907; Mon, 27 Sep 2021 07:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751320; cv=none; d=google.com; s=arc-20160816; b=wX6lKVc0uA/24i65LGnECOtSHpOQx8oP06ByVaRONc+tNgDv2H69VbHbXjtS6mjH7e RuGx80kcSdNwDwRi4AHlOUg/Pd8V8dTyplI5bQ2zzlVGVNTSxG742vd4OxSgIIk8hJBA zx2xNaH3AVUPixB8onYgEDTa/AhpDKP256FV5sWNQPvjIAl/E6++FKd4Br5iQ1fYdDFm saIQn6hAYVgLrobv/xV5teXmqqc3EXahrTIuUGycay49XQekcS2JqsfIC4tzhWuu3VrD 3btzhW91gqopLm9gjWjc94Bnp1rfRI0oPiiw3nxPrNW7x2PwyaqER/J8Tadp1vft2v0H lSLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Y7vj4xZPFn9+tfZ+j+P9dodtpWlZMWh3pCCf/nex1Uk=; b=O7NuIpFr11gYexHoZ8RJVhlWr0sqZc+HhO2vN0hs6ls3SnrrJDEakCDczn+AkifkwL Z2E8MUXnXD3QJ6/qveMye6Aq8C9BtMD7Js8I1NHMpWvQsNybFF3gBZNEoTHYIIQPmrV2 gXAuiyKgk5BvpdcE0qPm3fNohgzEwDDO5m/OprPc4rZQCORXhNBWQhhV3npujuys012x ujKOwD7PBTr+I57+gdqkzXKnSyRYx5FVHn567wWV3/GvzrwjTjH9KLQIa5Teagqoj+4G a/6TtgYc6jdAEO6QtP8PJEurWawocAwBHAM7wS47xH1r5FMxMgo6oOBtpnkJUlOIFHGx I30Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lQQbBWA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q23si17350685ejj.178.2021.09.27.07.01.33; Mon, 27 Sep 2021 07:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lQQbBWA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234754AbhI0OBj (ORCPT + 99 others); Mon, 27 Sep 2021 10:01:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:47920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234587AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C81861002; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=pgBtpFgwAsewCq5MDA93H9m+9sWkW6ZRNITD23kNlxI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQQbBWA3iSL4L/2wNQBFDnPu9TIBXW2ihCEN3RPk+Hm7XueaVETkiffruOquy7bs4 izVoyjNF4HeLmY7rN5qznjhjTVfC8blgqIfaiO/TV8uzohZVIp8Pfa4rOWgrmIF6zc oXBADPkQqEMk5lKBLP+e+OLf6XvqlAPyX28MCpCMQYiQKaWbe2o0+W8KYKFD+QIodW uw7iJYX3s5fE71K/F9+jnKaU1aH9MLrzPvZT3fLkfVVcGBXxuT54fRcUGxG4xWW8pF O2PVDiv2bMgTQbu1IBxi/xTJwsBf6jWjhlUZXIylQ0aLNiEYhRn6UroJKsFi2TeWH2 dtRglqXgKz2DQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000Au6-JT; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , "Rafael J. Wysocki" , Alan Stern , Dominik Brodowski , linux-kernel@vger.kernel.org Subject: [PATCH 09/17] ABI: sysfs-devices-power: add some debug sysfs files Date: Mon, 27 Sep 2021 15:59:42 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Those files were added back in Apr 2010, but there's no documentation for them yet. Fixes: c92445fadb91 ("PM / Runtime: Add sysfs debug files") Signed-off-by: Mauro Carvalho Chehab --- See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/ Documentation/ABI/testing/sysfs-devices-power | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-devices-power b/Documentation/ABI/testing/sysfs-devices-power index 84694b8fec8e..1b2a2d41ff80 100644 --- a/Documentation/ABI/testing/sysfs-devices-power +++ b/Documentation/ABI/testing/sysfs-devices-power @@ -283,3 +283,25 @@ Contact: Arjan van de Ven Description: Reports total time that the device has been suspended. Used for runtime PM statistics. + +What: /sys/devices/.../power/runtime_usage +Date: Apr 2010 +Contact: Dominik Brodowski +Description: + Reports the runtime PM usage count of a device. + +What: /sys/devices/.../power/runtime_enabled +Date: Apr 2010 +Contact: Dominik Brodowski +Description: + Is runtime PM enabled for this device? + States are "enabled", "disabled", "forbidden" or a + combination of the latter two. + +What: /sys/devices/.../power/runtime_active_kids +Date: Apr 2010 +Contact: Dominik Brodowski +Description: + Reports the runtime PM children usage count of a device, or + 0 if the the children will be ignored. + -- 2.31.1