From patchwork Thu Aug 1 08:16:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien FLETY X-Patchwork-Id: 13749963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1C3EC3DA4A for ; Thu, 1 Aug 2024 08:16:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 7A834C4AF09; Thu, 1 Aug 2024 08:16:47 +0000 (UTC) Received: from mail-4317.proton.ch (mail-4317.proton.ch [185.70.43.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id B3E76C4AF0A for ; Thu, 1 Aug 2024 08:16:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org B3E76C4AF0A Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=flety.net Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=flety.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flety.net; s=protonmail; t=1722500196; x=1722759396; bh=bJ4flZR8rKZb3iVsnQL0kqdewSzG4NLhaFx3eLgGN0s=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=XAyTmmA2+gk5bAbxrfWKRu71hxDsNTmI6PqN87a+QF6BKyVTzIGBbC8K8gz4E6yet LkLzbO4ep+LNkx4nU4iOTh8O+l/8COPisYIB82ECBW1l1LMFjAUXmnUcgyO98USpRI kz2kS/wkpRLj+fgwnbckyrnpn8dVNjl9XsABg0VM61t/rh8oXKGwvxMg3apfbNpYst WAoZswuqlZujdPXF0Q7tCFuuf3Bqe3MO2Dg5/6pCBvHwc8ynliek4VwH7fBs0NY0CQ BrJJnC8XRnStnQpMaBxLq1QKwC0Z+T//gYEL48Z7Ed1GijXhTx5H15Ooi/f1oViXDa EPjYo86O+Ugcg== Date: Thu, 01 Aug 2024 08:16:31 +0000 To: "arnd@arndb.de" , "olof@lixom.net" From: Damien FLETY List-Id: Cc: "soc@kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: PATCH: Turing RK1 DTB Fan Message-ID: Feedback-ID: 25816149:user:proton X-Pm-Message-ID: 9a6304332b6beeb6ebbee5afba9ae889721feb45 MIME-Version: 1.0 Support the official cooling fan on Turing RK1. Damien FLETY --- rk3588-turing-rk1.dtsi 2024-08-01 08:07:42.967506469 +0000 +++ src/linux/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dtsi 2024-08-01 08:08:58.292765373 +0000 @@ -65,47 +65,6 @@ }; }; -&package_thermal { - polling-delay = <1000>; - - trips { - trip_passive: trip_passive { - temperature = <40000>; - hysteresis = <2000>; - type = "passive"; - }; - trip_active: trip_active { - temperature = <45000>; - hysteresis = <2000>; - type = "active"; - }; - trip_hot: trip_hot { - temperature = <80000>; - hysteresis = <2000>; - type = "hot"; - }; - }; - - cooling-maps { - map0 { - trip = <&trip_passive>; - cooling-device = <&fan 0 1>; - }; - map1 { - trip = <&trip_active>; - cooling-device = <&fan 1 4>; - }; - map2 { - trip = <&trip_hot>; - cooling-device = <&fan 4 5>; - }; - map3 { - trip = <&package_crit>; - cooling-device = <&fan 5 5>; - }; - }; -}; - &combphy2_psu { status = "okay"; };