From patchwork Mon Feb 11 05:50:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjay Singh Rawat X-Patchwork-Id: 14727 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 2DB8723E0D for ; Mon, 11 Feb 2013 05:51:03 +0000 (UTC) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by fiordland.canonical.com (Postfix) with ESMTP id 3B721A1987D for ; Mon, 11 Feb 2013 05:51:01 +0000 (UTC) Received: by mail-vb0-f47.google.com with SMTP id e21so3556280vbm.34 for ; Sun, 10 Feb 2013 21:51:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=djKg6NSdK+s9l+vMWX6ErcQGGYUuAJwKNp17JVY/zz8=; b=JTIp+mfz5hriZE+Mn6yAE8xdvjFEULYOEArE4zu6qCBM05VvlsdkUWQfCWend7ZAik ybZBK81K7E0dQhtiHFTjw7cFf2Koi1qeCfcIoeVi/6hHXf/FHlzk/W0/zEFLWbyH+wfv asopcam4SRLt4OYVflwT8eHj8sQLEwuUe/McrCoFRJgGQQhG1LQrkX/vtQn8WyfE03sm rpVB/83YX/Jjpyz0Fo5zTzdHMCzCRItnb/U5bUf+pAyFIf6FWzmsnk8FLIytwiQ4KI1A AwIwLuvEh8Wx3z/Q4bL2ukF7FnKECh14nEEbzHo/L1Xg2L203I/EXmmvO4hmMY0GbLJ5 iC4Q== X-Received: by 10.220.219.204 with SMTP id hv12mr17112549vcb.71.1360561860741; Sun, 10 Feb 2013 21:51:00 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp79502vec; Sun, 10 Feb 2013 21:51:00 -0800 (PST) X-Received: by 10.66.88.133 with SMTP id bg5mr17991586pab.21.1360561859519; Sun, 10 Feb 2013 21:50:59 -0800 (PST) Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52]) by mx.google.com with ESMTPS id d10si39659105paz.205.2013.02.10.21.50.59 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Feb 2013 21:50:59 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of sanjay.rawat@linaro.org) client-ip=209.85.160.52; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.52 is neither permitted nor denied by best guess record for domain of sanjay.rawat@linaro.org) smtp.mail=sanjay.rawat@linaro.org Received: by mail-pb0-f52.google.com with SMTP id ma3so541105pbc.11 for ; Sun, 10 Feb 2013 21:50:59 -0800 (PST) X-Received: by 10.68.11.200 with SMTP id s8mr16127198pbb.141.1360561858946; Sun, 10 Feb 2013 21:50:58 -0800 (PST) Received: from srawat-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPS id id8sm6567576pbc.38.2013.02.10.21.50.56 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Feb 2013 21:50:58 -0800 (PST) From: Sanjay Singh Rawat To: linaro-dev@lists.linaro.org Cc: patches@linaro.org, Sanjay Singh Rawat Subject: [powerdebug,1/2] documentation: add regulator related information Date: Mon, 11 Feb 2013 11:20:37 +0530 Message-Id: <1360561837-4877-1-git-send-email-sanjay.rawat@linaro.com> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQnwcW7+GfPi8+XVa+VAyb5/Cr5m+HgahW8ZiwXP12ZT3i4VhdRXAVov/Uo61zIujI8YX3qJ Add information about the regulator state and status field Signed-off-by: Sanjay Singh Rawat --- doc.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc.txt diff --git a/doc.txt b/doc.txt new file mode 100644 index 0000000..36ffc46 --- /dev/null +++ b/doc.txt @@ -0,0 +1,20 @@ +Regulator related information +============================= +Regulator fields "state" and "status" give below information about the regulator. + +- state: field tell whether regulator is enabled or disabled. Following are the states + | - Enabled + | - Disabled + | - Unknown (if unable to determine) + | + | + ----> status: When enabled, depending on the regulator hardware capability(modes) and runtime requirement; regulators are set to specific modes. The status field gives a little + more specific information about the current "state" of the regulator, which operating modes it is in. Following can be the possible status: + - Idle + - Fast + - Normal + - Standby + - Bypass + - Error + - Undefined + - On/Off