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:
 <MA0P287MB2822C3C5AC61D2A91542C33EFEBE2@MA0P287MB2822.INDP287.PROD.OUTLOOK.COM>
Date: Mon, 5 Aug 2024 09:31:24 +0800
From: Chen Wang <unicorn_wang@...look.com>
To: Inochi Amaoto <inochiama@...look.com>, Jean Delvare <jdelvare@...e.com>,
 Guenter Roeck <linux@...ck-us.net>, Rob Herring <robh@...nel.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
 <conor+dt@...nel.org>, Jonathan Corbet <corbet@....net>,
 Paul Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt
 <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
 Guo Ren <guoren@...nel.org>, Chao Wei <chao.wei@...hgo.com>,
 Jinyu Tang <tangjinyu@...ylab.org>, Hal Feng <hal.feng@...rfivetech.com>,
 Yangyu Chen <cyy@...self.name>,
 Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Cc: linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
 linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
 linux-riscv@...ts.infradead.org
Subject: Re: [PATCH v9 4/4] riscv: defconfig: Enable MCU support for SG2042

Why this patch change the dts?

On 2024/8/2 20:38, Inochi Amaoto wrote:
> Enable MCU driver for SG2042 to provide thermal and reboot support.
>
> Signed-off-by: Inochi Amaoto <inochiama@...look.com>
> Tested-by: Chen Wang <unicorn_wang@...look.com>
> Reviewed-by: Chen Wang <unicorn_wang@...look.com>
> ---
>   arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts | 2 +-
>   arch/riscv/configs/defconfig                        | 1 +
>   2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts b/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts
> index 8b8fdf6243d4..76375e25a495 100644
> --- a/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts
> +++ b/arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts
> @@ -67,7 +67,7 @@ soc_active3: soc-active3 {
>   				};
>   
>   				soc_hot: soc-hot {
> -					temperature = <85000>;
> +					temperature = <80000>;
>   					hysteresis = <5000>;
>   					type = "hot";
>   				};
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 0d678325444f..a0f346301df6 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -170,6 +170,7 @@ CONFIG_SPI_SUN6I=y
>   CONFIG_GPIO_SIFIVE=y
>   CONFIG_POWER_RESET_GPIO_RESTART=y
>   CONFIG_SENSORS_SFCTEMP=m
> +CONFIG_SENSORS_SG2042_MCU=y
>   CONFIG_CPU_THERMAL=y
>   CONFIG_DEVFREQ_THERMAL=y
>   CONFIG_RZG2L_THERMAL=y

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ