From patchwork Wed May 13 13:41:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lars Povlsen X-Patchwork-Id: 11546315 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A2BAE90 for ; Wed, 13 May 2020 13:42:28 +0000 (UTC) Received: by mail.kernel.org (Postfix) id DA55820657; Wed, 13 May 2020 13:42:29 +0000 (UTC) Delivered-To: soc@kernel.org Received: from esa5.microchip.iphmx.com (esa5.microchip.iphmx.com [216.71.150.166]) (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 98342204EF for ; Wed, 13 May 2020 13:42:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="xsUR00wg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 98342204EF Authentication-Results: mail.kernel.org; dmarc=pass (p=none dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=Lars.Povlsen@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1589377351; x=1620913351; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PV07J/wAT10xDYr9kx06zNqja/xgCGRaYSoB57UP5EA=; b=xsUR00wgiYPKZwHX8VDkx4Lsd2Khp2/qLniLVmrSvoejRO7iP7xXqak/ UE7Ib/MfA7jM5AKv+EE0SHWnOr3Ka9E/frBGZXcgKG3VQxRefk+JchcZo S/3hbNAj2b9C5q4TXglbWzxT1cCqr/qYVsW1Zz48wQq5WHIbbp7QCiQsL zgS1Jir82++Gvc2yb/9a6bRZr0GPHrvCh05nl7HJWA5ixfENHD+2awTun AsB0xiv+3IdVegPZhvO/+99pVCdCcJ7ymHHHaZw/N0H6bI2QlEHEU/Uz+ wiTx8hudb9YggQTeosecKLMv55Ha6gqWr1xj0eOeiMnxB2s2Y+p5o6hYL Q==; IronPort-SDR: G9KdmkzZxo6j5xx25DGIDDmDefKyX/w0bsG8CdPIn9a7RBFlaLp2vc0dkyZa4XLPoBOrBXuZGg CY87CN9ml9fv7a9axPhgMkERYAcnXBh2MAKZlDARR7BdY7lcK3qBYJvsYXyhUybUomFPjFzLBe Tw1O5C+jE5+AO4u5VEYTBhKteWPbnnr91XKTO91NfAHrwxMbTxtOs8IPJ887vLcal9YVO13RZ/ fqZvORksXotyjqiGYNIzioj1uG4UvI0XXMJpqnIhcnJy2G8msgEoU+gEysh2QMhaovgs5A7rRs GL0= X-IronPort-AV: E=Sophos;i="5.73,387,1583218800"; d="scan'208";a="75771963" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 May 2020 06:41:54 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 13 May 2020 06:41:55 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Wed, 13 May 2020 06:41:53 -0700 From: Lars Povlsen List-Id: To: Guenter Roeck , SoC Team CC: Lars Povlsen , Jean Delvare , Microchip Linux Driver Support , , , , , Alexandre Belloni Subject: [PATCH 2/3] arm64: dts: sparx5: Add hwmon temperature sensor Date: Wed, 13 May 2020 15:41:39 +0200 Message-ID: <20200513134140.25357-3-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513134140.25357-1-lars.povlsen@microchip.com> References: <20200513134140.25357-1-lars.povlsen@microchip.com> MIME-Version: 1.0 This adds a hwmon temperature node sensor to the Sparx5 SoC. Reviewed-by: Alexandre Belloni Signed-off-by: Lars Povlsen --- arch/arm64/boot/dts/microchip/sparx5.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/microchip/sparx5.dtsi b/arch/arm64/boot/dts/microchip/sparx5.dtsi index f09a49c41ce19..b5f2d088af30e 100644 --- a/arch/arm64/boot/dts/microchip/sparx5.dtsi +++ b/arch/arm64/boot/dts/microchip/sparx5.dtsi @@ -233,5 +233,11 @@ i2c1: i2c@600103000 { clock-frequency = <100000>; clocks = <&ahb_clk>; }; + + tmon0: tmon@610508110 { + compatible = "microchip,sparx5-temp"; + reg = <0x6 0x10508110 0xc>; + #thermal-sensor-cells = <0>; + }; }; };