diff mbox

[v3,4/4] thermal: update documentation for new device ops

Message ID 1459298497-29481-5-git-send-email-srikars@nvidia.com
State Deferred
Headers show

Commit Message

Srikar Srimath Tirumala March 30, 2016, 12:41 a.m. UTC
Add documentation for two new thermal_zone_device_ops.

Change-Id: Id1c5cc2ae4051a398dfe81c7ff0b27c1eab02579
Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
---
 Documentation/thermal/sysfs-api.txt | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Matthew Longnecker March 30, 2016, 4:54 p.m. UTC | #1
Looks good to me.

On 03/29/2016 05:41 PM, Srikar Srimath Tirumala wrote:
> different threshold temperature points.
> +	.get_trip_state: get the current state (TRIPPED or NOT_TRIPPED) of a
> +		certain trip point.
> +	.set_trip_state: set the state of a certain trip point.
> +	.enb_temp_notify: check if temperature notifications are enabled for a
> +		certain trip point.
>       tzp: thermal zone platform parameters.
>       passive_delay: number of milliseconds to wait between polls when
>   	performing passive cooling.

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Eduardo Valentin May 3, 2016, 3:27 a.m. UTC | #2
On Tue, Mar 29, 2016 at 05:41:37PM -0700, Srikar Srimath Tirumala wrote:
> Add documentation for two new thermal_zone_device_ops.
> 
> Change-Id: Id1c5cc2ae4051a398dfe81c7ff0b27c1eab02579
> Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
> ---
>  Documentation/thermal/sysfs-api.txt | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt
> index ed419d6..13344167 100644
> --- a/Documentation/thermal/sysfs-api.txt
> +++ b/Documentation/thermal/sysfs-api.txt
> @@ -59,6 +59,11 @@ temperature) and throttle appropriate devices.
>  			will be fired.
>  	.set_emul_temp: set the emulation temperature which helps in debugging
>  			different threshold temperature points.
> +	.get_trip_state: get the current state (TRIPPED or NOT_TRIPPED) of a
> +		certain trip point.
> +	.set_trip_state: set the state of a certain trip point.
> +	.enb_temp_notify: check if temperature notifications are enabled for a
> +		certain trip point.

I would prefer we merge this to the patch which is adding them.

>      tzp: thermal zone platform parameters.
>      passive_delay: number of milliseconds to wait between polls when
>  	performing passive cooling.
> -- 
> 2.1.4
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt
index ed419d6..13344167 100644
--- a/Documentation/thermal/sysfs-api.txt
+++ b/Documentation/thermal/sysfs-api.txt
@@ -59,6 +59,11 @@  temperature) and throttle appropriate devices.
 			will be fired.
 	.set_emul_temp: set the emulation temperature which helps in debugging
 			different threshold temperature points.
+	.get_trip_state: get the current state (TRIPPED or NOT_TRIPPED) of a
+		certain trip point.
+	.set_trip_state: set the state of a certain trip point.
+	.enb_temp_notify: check if temperature notifications are enabled for a
+		certain trip point.
     tzp: thermal zone platform parameters.
     passive_delay: number of milliseconds to wait between polls when
 	performing passive cooling.