Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5515398ybi; Tue, 4 Jun 2019 07:49:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwEeLJQUu1jE2Hs2SErVVnYwKOJhewEuk5glicjtCZaohCWB/tpqX41n3Eu1n2klMv3kqE0 X-Received: by 2002:a17:90a:9504:: with SMTP id t4mr38072199pjo.100.1559659752484; Tue, 04 Jun 2019 07:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559659752; cv=none; d=google.com; s=arc-20160816; b=VFdJFwPdo8Jh3+RcJaJd9ecEiLQwrBAyV6Nf/CykhaotwgSz9ndTZQvQTwcDYldH5+ EvQQuDy59rzOSWvARvoGj0JcECjdUp0LCCQcgECP2Ncc9GLtVPjZziZDDJgwqH1HMbBD PmSI9tUwrYm+i3txRcnaY7rFxI8vM8oNvG0Zj+LHMqvhCFtFN3/WfDPZJB4dRBuwU+nk GH4APJt6JajAE2x8Mgzh+HREzuDs76zLmuFugOBmgxsubuupa6LeRngU1E1z5F3IfyIB afXLWcfLokX2BmpmcGaAzbTdG9U45PuUWP3jLvm72nyMkMxwdJGmKFhAR3KiXwW20wRS wVRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=bLDsai7BCDJ9/WAFUmOmDJ4D/4W6/bXgG+qdhNwcZhk=; b=Rbaawf0F989bsO0NEEzoTufvH1Npg7KwDunKPdTFbQ2wrup2qk23s5+3en2IifRhL3 ZqEVoRHtExzRdiX6Jt6p+NoeDUK8d2d2qkyh59XelMOptuSZ1swx7n34y/cAr9m4/Je8 zaS4oEQmhe7yiEHUinMnPwLhH82PuQ/Y60SCylf0fnkl6EF3NKDxfizsBjS4VC4toflZ KNal6f7dAU0/LFkzhtp26TEM44VKPMPiafTPvfccis48ooTPjGfRRCyVTZ2VsbMSVDKb WllIvk+YHmZoBgRs2Qck1whGNUg27Agw9cE5KodBgIXML05+B0OOGpU7oEAX2/Pnfy2e DxHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=iNBvPjb5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i96si2626170pje.4.2019.06.04.07.48.54; Tue, 04 Jun 2019 07:49:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=iNBvPjb5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727908AbfFDOr3 (ORCPT + 99 others); Tue, 4 Jun 2019 10:47:29 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40735 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727673AbfFDOrU (ORCPT ); Tue, 4 Jun 2019 10:47:20 -0400 Received: by mail-wr1-f68.google.com with SMTP id p11so11301433wre.7 for ; Tue, 04 Jun 2019 07:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bLDsai7BCDJ9/WAFUmOmDJ4D/4W6/bXgG+qdhNwcZhk=; b=iNBvPjb5Qy21/12AvtkoRo4IHAm41Wg4Vk0nBhVKAQXzW/FfWktrlAJB1cx60YTjZN pYT8vqd6X/6JxxL9Q2aDSrZhJTO8FGCMZjYSJ5YlrT0gcbOLrUoxbTCpOJhoo0WVj4uS qaihsQHl5/DKak5ZC4VFsTKtIgy1bcly73SbJxXYkhpOuPjvu72uV4TFbFhLE4u3db1x XBPLS2/aV/kZr/v/fqELn48ZEdCAlNPLQJ879P7p7ggyomOArRwgIWvmJZa1MtjT8tc2 kZ2WrTjGxBjbXU7Ioqw6JIRq/dfUL+mD1M9xuYkST96HZDAcr4mgLkbPuWKE5Xr5iIM5 KumQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bLDsai7BCDJ9/WAFUmOmDJ4D/4W6/bXgG+qdhNwcZhk=; b=rDBPqtfYfaqM0siVnKXf9Bg30vxbPRMqq2TBwLNRRGeQlfmE2YnF2bkBUKj4tRNDmj yLyaxnDCqvm5Qj8Xb51j4Wzwfv1ENb5559UI1iXnyrfym5E5TihiLK91905pX9k23DcY CsmWkb/9bGQHWVZKyFrxeMwlC8lfYQBEQcpAw9G7fIA2KAzCcmUD/WkFRl+wnmzdrJOx V/LdVbIHDBh6IJTzz6m9xzabnKlPs2rnrZLor8ptt8d7JJuo9WIMZHdLN07mQ7gqcTWw MbXnZJgDlmbH/m2igv0Ft+J9EgqpwBeWVEBU+IMIWzCHD7CbFKpsxxJNi/ZPtXfBmoMI 3ZgA== X-Gm-Message-State: APjAAAWPyNJ1KYjNu1fEoKM7fKrRZrcDN0bvIakGQkc7rScOVytkT/RQ 4m9kOoGRqhGz6GMO7/HBbQN5wFtSY6kPnA== X-Received: by 2002:a5d:62c9:: with SMTP id o9mr19704199wrv.186.1559659638823; Tue, 04 Jun 2019 07:47:18 -0700 (PDT) Received: from glaroque-ThinkPad-T480.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id v184sm3649639wme.10.2019.06.04.07.47.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 07:47:18 -0700 (PDT) From: Guillaume La Roque To: jic23@kernel.org, khilman@baylibre.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: meson: g12a: add temperature sensor node Date: Tue, 4 Jun 2019 16:47:13 +0200 Message-Id: <20190604144714.2009-3-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190604144714.2009-1-glaroque@baylibre.com> References: <20190604144714.2009-1-glaroque@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add two temperature sensor the first near CPU and GPU, second near DDR Signed-off-by: Guillaume La Roque --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 840dab606110..37f17087bdb1 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -1360,6 +1360,28 @@ }; }; + cpu_temp: temperature-sensor@34800 { + compatible = "amlogic,meson-g12a-cpu-tsensor", + "amlogic,meson-g12a-tsensor"; + reg = <0x0 0x34800 0x0 0x50>; + interrupts = ; + clocks = <&clkc CLKID_TS>; + status = "okay"; + #io-channel-cells = <1>; + amlogic,ao-secure = <&sec_AO>; + }; + + ddr_temp: temperature-sensor@34c00 { + compatible = "amlogic,meson-g12a-ddr-tsensor", + "amlogic,meson-g12a-tsensor"; + reg = <0x0 0x34c00 0x0 0x50>; + interrupts = ; + clocks = <&clkc CLKID_TS>; + status = "okay"; + #io-channel-cells = <1>; + amlogic,ao-secure = <&sec_AO>; + }; + usb2_phy0: phy@36000 { compatible = "amlogic,g12a-usb2-phy"; reg = <0x0 0x36000 0x0 0x2000>; -- 2.17.1