Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp3393615ybn; Fri, 27 Sep 2019 05:50:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwR5LREJ8FiBnN06Yg+VbPmtBwsNXmQS+qyl606eEQlBZP7FgUMJXQt6x1fDdhGiX0N5Q3U X-Received: by 2002:a17:906:c787:: with SMTP id cw7mr7642624ejb.34.1569588639869; Fri, 27 Sep 2019 05:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569588639; cv=none; d=google.com; s=arc-20160816; b=rF6KYbqk05OMhAYVEhDiqUtWTkXAVKGLA531W1A6zJMbaF4Raxq6MhdCjauH0p9M0t 7ualHnAjKLQE2rMkAWT1d5VHemMBzJdwOU0oChQYfs9rgPIg8XqiNKbGoDNPdCyC8qKP LY5ChfWdK7L9vjsLJcvo/t/w3HJCMo3KMn0A+x7q1FrpxmUzZF7ojY1UGVwwAwWM2gBq GK7ddtWklOKbhdK53lUePv0+TOubo+mNNwdFnY3uIykz1Rk93og/zXAGccaeKc0SNdEW zCLddNQYZXZzMsobStzissnCYGMhbbXSvuYQ6mFt+N9h0O084UGzaA3yiMgMchG2z2Eb r8ew== 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=uFRkuroOBs+uKwTPCimySu+UhJ9t5OAbbzvyFqNj3Aw=; b=doZgcwB+v7VlL+dfAME/g6voZrPfQzT7uOIJDVA7fKrfp5VlXakUmKKqvCUq3UJ7tf otEFvVwmbkJficO750O9BP+IIlH2LIV7yVieEOKyJP5Nkp/tv6WOC1JpPaTbACDSDsnP ehp2BsIx14tJsOeTY94+oQtNkUKIlg2vYRIKMyqT9vqIqWyOVUo/L4bPe2nYHR/HCbUC Jq5f8R++n58JMGGU1b1q5oQb5QlMeoBmtgQNEMM3b+LmEVkPa7cc3GIkFTBfT0tuYx8P aSzs4SnAmX18nzzrH3C2XRgDUJ7Gryf0csOUvro4BAysaDww4QtFjlj52GddrtaLAl89 pnzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=IbvIMhs+; 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 os6si2749167ejb.224.2019.09.27.05.50.15; Fri, 27 Sep 2019 05:50:39 -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=IbvIMhs+; 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 S1727963AbfI0Mse (ORCPT + 99 others); Fri, 27 Sep 2019 08:48:34 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:33828 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727569AbfI0Mr5 (ORCPT ); Fri, 27 Sep 2019 08:47:57 -0400 Received: by mail-wm1-f68.google.com with SMTP id y135so8898113wmc.1 for ; Fri, 27 Sep 2019 05:47:55 -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=uFRkuroOBs+uKwTPCimySu+UhJ9t5OAbbzvyFqNj3Aw=; b=IbvIMhs+m82DKjlxmxk0KpabMZlkRk9aSH5y7m0WMKNaE/mPbNTvN1MMJn2rZWSpFm osUpuPBHwajyNIgPo7qTrV/0yrPwPLFjQbI0jVRZsSKArdli/vih9wM64MEHcNxpqHdk WO+VDoQkUsVjM6VKgCFC0vpUUUFdc0AAJ6baqTRGuGXwmt8WrhPNDhC6vt9qYU70TPFP 6cqZ6jXeg6FgaROINu2jYzBNrOjPzi/wIYCNwEvTN3ak39a9n87GVYe1dtV+Qh2u21vk YKgYN+feGNtlbmmosfTegWr1Zt2SwCV24NMYw4CsQUG+CCcJO2qgT7IQn+HXeTe2Z/cG 7k6A== 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=uFRkuroOBs+uKwTPCimySu+UhJ9t5OAbbzvyFqNj3Aw=; b=fhvpMeFVIBBRhUMIyMU/V8wPhMmt72AnSiJujFftuMWB3mufBmjwNkp8PuP7BYek6r AkQS6WQG+j1Pm5CCzzLHNrhYPEEcpWXnv7Sh5XkVMNNiLKEtJW9n1gIKGIrx2hL2RIDP xYW9ZBrI7M0JnoQMYOE7R3YvrDHuKj8x848by4jIAgUWNdoWiVE/CGRICst9iQ+DDWpe D28j6fg5z91FUyR1OmQuYtjlBKltAlpE9jAanr9vv+jhNwvQahD3pMWzW4brH8PptqrK wWKng2myjo5VRJD/yiGBBA+Nj3UR4lgzCRc6hV30iMkjQ6dx5JJmjzh8qWaOsSj+DQKe PzWw== X-Gm-Message-State: APjAAAVHx/BzrnwO0bF+LI4Tnqw36u0qRc47GxOX3I14y6f3A1R3ofWA PFPSwi/RUk/1F991/yA5XC7TIA== X-Received: by 2002:a05:600c:1009:: with SMTP id c9mr6777747wmc.64.1569588475224; Fri, 27 Sep 2019 05:47:55 -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 h9sm2985564wrv.30.2019.09.27.05.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2019 05:47:54 -0700 (PDT) From: Guillaume La Roque To: amit.kucheria@linaro.org, rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: [PATCH v5 3/7] arm64: dts: amlogic: g12: add temperature sensor Date: Fri, 27 Sep 2019 14:47:44 +0200 Message-Id: <20190927124750.12467-4-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190927124750.12467-1-glaroque@baylibre.com> References: <20190927124750.12467-1-glaroque@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add cpu and ddr temperature sensors for G12 Socs Reviewed-by: Martin Blumenstingl Tested-by: Christian Hewitt Tested-by: Kevin Hilman Signed-off-by: Guillaume La Roque --- .../boot/dts/amlogic/meson-g12-common.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index 38d70ce1cfc7..0660d9ef6a86 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -1353,6 +1353,26 @@ }; }; + cpu_temp: temperature-sensor@34800 { + compatible = "amlogic,g12a-cpu-thermal", + "amlogic,g12a-thermal"; + reg = <0x0 0x34800 0x0 0x50>; + interrupts = ; + clocks = <&clkc CLKID_TS>; + #thermal-sensor-cells = <0>; + amlogic,ao-secure = <&sec_AO>; + }; + + ddr_temp: temperature-sensor@34c00 { + compatible = "amlogic,g12a-ddr-thermal", + "amlogic,g12a-thermal"; + reg = <0x0 0x34c00 0x0 0x50>; + interrupts = ; + clocks = <&clkc CLKID_TS>; + #thermal-sensor-cells = <0>; + amlogic,ao-secure = <&sec_AO>; + }; + usb2_phy0: phy@36000 { compatible = "amlogic,g12a-usb2-phy"; reg = <0x0 0x36000 0x0 0x2000>; -- 2.17.1