From 51898ada30d5eae7bff92dfb774df5a05ff670a4 Mon Sep 17 00:00:00 2001
From: Philby John <pjohn@...>
Date: Thu, 5 Jul 2012 17:35:45 +0530
Subject: [PATCH v2] Octeon 6xxx: Add Power Throttling support for CN6xxx and above
This patch adds the sysfs primitives for power throttling.
Octeon2 supports dynamic power control which aids to cut down power
consumption. The code exposes a "percentage" power throttling
limiter by means of /sys interface for each available cpu. Setting
this value to 0 will set power consumption to a minimum as it will
only execute a couple instructions every PERIOD as set in the
PowThrottle register. If set to 100% for that particular cpu, it
will consume maximum power.