lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BYAPR12MB3014C1C921052E96D30A92D5ADA60@BYAPR12MB3014.namprd12.prod.outlook.com>
Date:   Mon, 4 May 2020 07:12:53 +0000
From:   Sandipan Patra <spatra@...dia.com>
To:     Thierry Reding <treding@...dia.com>,
        "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "u.kleine-koenig@...gutronix.de" <u.kleine-koenig@...gutronix.de>,
        Jonathan Hunter <jonathanh@...dia.com>
CC:     Bibek Basu <bbasu@...dia.com>, Bitan Biswas <bbiswas@...dia.com>,
        "linux-pwm@...r.kernel.org" <linux-pwm@...r.kernel.org>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/2] arm64: tegra: Add pwm-fan profile settings

Gentle reminder.

> -----Original Message-----
> From: Sandipan Patra <spatra@...dia.com>
> Sent: Friday, April 17, 2020 7:03 PM
> To: Thierry Reding <treding@...dia.com>; robh+dt@...nel.org; u.kleine-
> koenig@...gutronix.de; Jonathan Hunter <jonathanh@...dia.com>
> Cc: Bibek Basu <bbasu@...dia.com>; Bitan Biswas <bbiswas@...dia.com>;
> linux-pwm@...r.kernel.org; devicetree@...r.kernel.org; linux-
> tegra@...r.kernel.org; linux-kernel@...r.kernel.org; Sandipan Patra
> <spatra@...dia.com>
> Subject: [PATCH 1/2] arm64: tegra: Add pwm-fan profile settings
> 
> Add support for profiles in device tree to allow different fan settings for trip
> point temp/hyst/pwm.
> 
> Signed-off-by: Sandipan Patra <spatra@...dia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
> b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
> index e15d1ea..ff2b980 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
> @@ -219,10 +219,19 @@
> 
>  	fan: fan {
>  		compatible = "pwm-fan";
> -		pwms = <&pwm4 0 45334>;
> -
> -		cooling-levels = <0 64 128 255>;
>  		#cooling-cells = <2>;
> +		pwms = <&pwm4 0 45334>;
> +		profiles {
> +			default = "quiet";
> +			quiet {
> +				state_cap = <4>;
> +				cooling-levels = <0 77 120 160 255 255 255 255
> 255 255>;
> +			};
> +			cool {
> +				state_cap = <4>;
> +				cooling-levels = <0 77 120 160 255 255 255 255
> 255 255>;
> +			};
> +		};
>  	};
> 
>  	gpio-keys {
> --
> 2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ