From mboxrd@z Thu Jan 1 00:00:00 1970 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=-17.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 19AC3C4338F for ; Tue, 3 Aug 2021 12:09:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED58A60EE8 for ; Tue, 3 Aug 2021 12:09:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234912AbhHCMJU (ORCPT ); Tue, 3 Aug 2021 08:09:20 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:24742 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235309AbhHCMJU (ORCPT ); Tue, 3 Aug 2021 08:09:20 -0400 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 173C7GEA008194; Tue, 3 Aug 2021 14:08:50 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=YP6GeDkhv23N3H3s/t4ZBoWEGwnmTPCec20LHUS888g=; b=FZeveeDx+YrFSwHCEK5v9/lH3eqLLt6Xrgh9zq+JJNSuoZLZruXmidrqGvRu2pwsza3k n0GbWGuVgNuC7G5+7ANBE8nfmWZ8mGqteHM3wiehglbXZXf9+PbyQANmV/LGWT71yO6l TVzKHZjHepmJ3mLmLeXDIOeX/qIhFqk1jxRRoA1wGHREDGSHa0f+Askexyr/3ecB0qsG /+5rjrFrgHsKKK6XPxfHaZyuhx6b7qlKpmOTUXtreZrrD+S+HDGTs9R3iRVZ/LXGs7qh ouDkeE6Bxf/2m+9tx7kkzfJI9K9YNjWzKJO9esZXp+iFOuIkL/KvTtwo1EMd6zStQIWS ZQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3a74mx88fu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Aug 2021 14:08:50 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 6BFF810002A; Tue, 3 Aug 2021 14:08:49 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 5F0B6220F3F; Tue, 3 Aug 2021 14:08:49 +0200 (CEST) Received: from lmecxl0573.lme.st.com (10.75.127.47) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 3 Aug 2021 14:08:48 +0200 Subject: Re: [PATCH v3 12/13] ARM: dts: sti: add the thermal sensor node within stih418 To: Alain Volmat , Rob Herring CC: Arnd Bergmann , , , References: <20210331204228.26107-1-avolmat@me.com> <20210331204228.26107-13-avolmat@me.com> From: Patrice CHOTARD Message-ID: Date: Tue, 3 Aug 2021 14:08:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210331204228.26107-13-avolmat@me.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-03_02:2021-08-03,2021-08-03 signatures=0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Alain On 3/31/21 10:42 PM, Alain Volmat wrote: > 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 > --- > 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 = ; > + }; > }; > }; > Reviewed-by: Patrice Chotard Thanks Patrice