From patchwork Mon Sep 26 18:37:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 12989267 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D9428C32771 for ; Mon, 26 Sep 2022 18:41:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kP9AhFzYc6Nq38eVOeUIkA1ZppELl7y2gqX9L3kF4GQ=; b=wuGNsdotb/UZ0i c8dcOAuvGpDSZ6cbz/NsIyvsQbobW9RHvxv7pItdgkK+ia4nLQKkxru391j5JLD2wGF7U/AwF5p1h /PYh7Uh0umrlhokGo4VMJYyfn1xd13jvU3a1kzikzfx+iYEIztRytp71bVITADHqcTuXEs7J26C6+ bPPgP0anY8EtaQoC/R1R7zQJsvQ9k6IOq8H2PrCiQWtxHPb+Xb4pW7b2Kn3XbuJN2IdkFZyB5axvp EH4kuF/nLRJJav81uPukpAj/8Uzoy5nWQ1hy28RNy7iK8xDmrlme8i+1+g+Jx00xIQtgvHGcIa9ud KZfvgf5vqhga9f7LkIEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oct1W-006Kjz-6N; Mon, 26 Sep 2022 18:40:10 +0000 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ocsz7-006IIo-GU; Mon, 26 Sep 2022 18:37:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Content-Type:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=X/Xqb9iReTmBYL1vyNLyfo977MT6MBoIhiCyEd781tQ=; b=xV0Bw6Vvfqr5oL++BD7b8hPkrg X43nvESt/P4dkG8/bhrlZm8uJGuJdCpk0jQhsCFUFOcFn0ZuBH6kCowOhGeIHynkLDG5LvVKoO6l9 2BiQx24OLtMeLXPgB09KSuSReNcfp8+n/Eu9q/cqD6ONAs81vfUW+BIz7NAAr/qMR1vkozmugwx0c kv44fUcqv1NVe2yqsPUo1lPzG1g0m+hZtyrLmCiL5MvTkUHN1vYD1q+dco4b5SdD5aGEEi8b8f++W 51BB09eLzoNx+JRI3JHS856m/gX98sXxlhaoCJnGNnafkRJtK/ETzlokkj+DCtdEGULKpEQbUuO8B +SQruS6w==; Received: from [2a01:e34:ec5d:a741:8a4c:7c4e:dc4c:1787] (helo=ohm.rr44.fr) by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ocsz3-00B9PU-3a; Mon, 26 Sep 2022 20:37:37 +0200 Received: from aurel32 by ohm.rr44.fr with local (Exim 4.96) (envelope-from ) id 1ocsz1-007wby-1T; Mon, 26 Sep 2022 20:37:35 +0200 From: Aurelien Jarno To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Cc: Dongjin Kim , Aurelien Jarno Subject: [PATCH v2 03/13] arm64: dts: rockchip: add thermal support to ODROID-M1 Date: Mon, 26 Sep 2022 20:37:17 +0200 Message-Id: <20220926183727.1893566-4-aurelien@aurel32.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220926183727.1893566-1-aurelien@aurel32.net> References: <20220926183727.1893566-1-aurelien@aurel32.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220926_113741_781907_24897E04 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the thermal nodes for the ODROID-M1. Signed-off-by: Aurelien Jarno --- arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts b/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts index b3016437640b..112c65af3f55 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-odroid-m1.dts @@ -409,6 +409,12 @@ &sdmmc0 { status = "okay"; }; +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <0>; + status = "okay"; +}; + &uart2 { status = "okay"; };