lkml.org 
[lkml]   [2020]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 42/85] ARM: dts: sun4i-a10: fix cpu_alert temperature
    Date
    From: Clément Péron <peron.clem@gmail.com>

    [ Upstream commit dea252fa41cd8ce332d148444e4799235a8a03ec ]

    When running dtbs_check thermal_zone warn about the
    temperature declared.

    thermal-zones: cpu-thermal:trips:cpu-alert0:temperature:0:0: 850000 is greater than the maximum of 200000

    It's indeed wrong the real value is 85°C and not 850°C.

    Signed-off-by: Clément Péron <peron.clem@gmail.com>
    Signed-off-by: Maxime Ripard <maxime@cerno.tech>
    Link: https://lore.kernel.org/r/20201003100332.431178-1-peron.clem@gmail.com
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
    index e0a9b371c248f..2265ca24c0c71 100644
    --- a/arch/arm/boot/dts/sun4i-a10.dtsi
    +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
    @@ -143,7 +143,7 @@
    trips {
    cpu_alert0: cpu-alert0 {
    /* milliCelsius */
    - temperature = <850000>;
    + temperature = <85000>;
    hysteresis = <2000>;
    type = "passive";
    };
    --
    2.27.0


    \
     
     \ /
      Last update: 2020-11-09 14:13    [W:6.986 / U:0.824 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site