From patchwork Wed Mar 31 20:42:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12176261 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E478C433B4 for ; Wed, 31 Mar 2021 20:48:31 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E9A496100C for ; Wed, 31 Mar 2021 20:48:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9A496100C Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=me.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=Uvl0TVM5cBNN9T6Y9Yv5YEwOhDTomyhjj/gBBcWUL+g=; b=n33BONNKdAGZXhLTkYAOx62rVH IRBpoEdDKq4573+cu2NWMxFaRytQle99wyw3Anqma9ThP/6bsyo3uUhh1UxI0m/t9wlukzT9FJPEw BZ8UQvJEVm8p0QjmikkCvDl3YWCe/h/6jA2tfzyFtZrDaNOMoq2cAcrZSHMlHC5dK7cqWpb4aUbCJ tp7Eti3DRvTcD3OjcgflyFEPHdFHVNm9PujE/mSVLf8uuZIPB9SSjqJQqz9S36rgTO8se1GZtf3q3 ZGh2f33OYgcNiMCAyztlVqhHgMuSusxSp8ltbH9z7tZq1+QP052vuQC17207mUDVBAM8MiQiZYQar TXUD2xVA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lRhjK-007XsZ-2P; Wed, 31 Mar 2021 20:46:22 +0000 Received: from st43p00im-ztfb10061701.me.com ([17.58.63.172]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lRhgv-007Wtk-Uj for linux-arm-kernel@lists.infradead.org; Wed, 31 Mar 2021 20:43:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1617223432; bh=guqjlHmUoqU2kkK2WPOJUt3nCnKjFTkRBUFYV9GMCpw=; h=From:To:Subject:Date:Message-Id; b=LwVRGL9u3Pd7yk73BrtZ64H0ope5oA0n7AUC3mSQCWQjGF6nIzjS/LVjWm9Tj2Xsz KOj6a8TtGL4syOZyLzr/sLzc5xNp2OlD5383KplZqVMNoJT4kCKMXLBwYo4jqtvrZq Yqc7MUFC/tYJrc7ev62l96eNYSLTwuf0CMsU6gsq/0zAFQoDJQQQEOSyzQp577w/Ng 24sW7aYkD8sGK2/5fhoJ9SVvrUNjsX0P+kcNHhjzMPmXAldnbVFlFgsXTJV311pU4q Fl0XxkiyKReTUlkMDkub6r4cg4WhV0mZfKuMfdP75tKQ5ST3pRUP4XkogTAAlZp/p4 wH7Djbppi39mg== Received: from localhost (101.220.150.77.rev.sfr.net [77.150.220.101]) by st43p00im-ztfb10061701.me.com (Postfix) with ESMTPSA id 6965AAC03CA; Wed, 31 Mar 2021 20:43:46 +0000 (UTC) From: Alain Volmat To: Patrice Chotard , Rob Herring Cc: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, avolmat@me.com Subject: [PATCH v3 12/13] ARM: dts: sti: add the thermal sensor node within stih418 Date: Wed, 31 Mar 2021 22:42:27 +0200 Message-Id: <20210331204228.26107-13-avolmat@me.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210331204228.26107-1-avolmat@me.com> References: <20210331204228.26107-1-avolmat@me.com> X-Proofpoint-Virus-Version: =?utf-8?q?vendor=3Dfsecure_engine=3D1=2E1=2E170-?= =?utf-8?q?22c6f66c430a71ce266a39bfe25bc2903e8d5c8f=3A6=2E0=2E369=2C18=2E0?= =?utf-8?q?=2E761=2C17=2E0=2E607=2E475=2E0000000_definitions=3D2021-03-31=5F?= =?utf-8?q?08=3A2021-03-30=5F02=2C2021-03-31=5F08=2C2020-04-07=5F01_signatur?= =?utf-8?q?es=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 mlxlogscore=999 clxscore=1015 adultscore=0 bulkscore=0 spamscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2103310144 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210331_214354_733366_77BDD2B7 X-CRM114-Status: UNSURE ( 9.60 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The STiH418 embedded the same sensor as the STiH410. This commit adds the corresponding node, relying on the st_thermal driver. Signed-off-by: Alain Volmat Reviewed-by: Patrice Chotard --- arch/arm/boot/dts/stih418.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih418.dtsi b/arch/arm/boot/dts/stih418.dtsi index 39a249983496..97eda4392fbe 100644 --- a/arch/arm/boot/dts/stih418.dtsi +++ b/arch/arm/boot/dts/stih418.dtsi @@ -108,5 +108,13 @@ assigned-clock-parents = <&clk_s_c0_pll1 0>; assigned-clock-rates = <200000000>; }; + + thermal@91a0000 { + compatible = "st,stih407-thermal"; + reg = <0x91a0000 0x28>; + clock-names = "thermal"; + clocks = <&clk_sysin>; + interrupts = ; + }; }; };