Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4085377ybh; Tue, 6 Aug 2019 06:07:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyIUaAHFkOIIYsAt7olYueQj+bBoEGbz3aic81ccH3avw6fZJOX7bJSm7k21+VlMoebhmM X-Received: by 2002:a17:902:9307:: with SMTP id bc7mr3012157plb.183.1565096872398; Tue, 06 Aug 2019 06:07:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565096872; cv=none; d=google.com; s=arc-20160816; b=fNykcIvMoOzeZzyHqsxDJMMpBGbn2w9CRd7ruQWGQjnBxgGE0o4R0622klHU6+jvr/ xZOiah/XjqAzPNQU+zELNRC2gphpc9m8sluxe/1pgt8COKQrDcpRrc9PZvl/P3AjZ2AE OFdxZO3P8rPIPGuoy79Tlw9CfDDQTLC3E4nIjHmR5clmf1uUh4DCdUJ6EzdkKh9Vrrzu ufXdD6+yfV80cCWhuaKZS6ovCkdG54t6c4ESxmaYepGauTzBT4DrA7PPK1y+KZW6ewPp 25VG9q0eIhu0LtoFDRDdBYs/gFzw4AMpUKQ6h+VUlR7GkyvACFgT7nmKJ5rPmiASCpOF JUGw== 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=uqH4UC1eSv85wYUtuk1mdjTGck9SIfF7lj/7yQH/8cg=; b=P9fvonCokE4voE4D2FBXlZeYVORERn6R5tLAvGi8/IKoP8kEWiWp1XZ/a9o5LWEfEe 6KhjY3fg0OZwsit9LPaCky57rzSAG869bXhgtpY8lEj2N4lVGFBYmJu6LOLJX8Yy+ora 0uen3Mw95i6lfj1EOIYcYsH9/c5ByPVPhFI8lNMyKVZtwCt8ZV0qltiabZXHKYwjrdrv NbeN0xnOxICGAfP+wNYF2ncn5v53z5zniFMw4c33j28+gQpbVn6OxrNOeyKgLPSaBClY 2kiaMVvU3YPu50JqlMqbzoeYmXOVRLfthCHQKkcEkiO5S1YteCQ90JhtyDfuCqf2HbuP 3PSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=aAt655SR; 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 b4si47992982pfg.49.2019.08.06.06.07.36; Tue, 06 Aug 2019 06:07:52 -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=aAt655SR; 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 S1731893AbfHFNFQ (ORCPT + 99 others); Tue, 6 Aug 2019 09:05:16 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37733 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731759AbfHFNFP (ORCPT ); Tue, 6 Aug 2019 09:05:15 -0400 Received: by mail-wr1-f65.google.com with SMTP id n9so62762697wrr.4 for ; Tue, 06 Aug 2019 06:05:14 -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=uqH4UC1eSv85wYUtuk1mdjTGck9SIfF7lj/7yQH/8cg=; b=aAt655SRq+X0Jny0WrUuo7sHjdd6G8a1GtrHRFYhXO1URHEr3byWv8/KWMOj8q9TjQ 040nKWawlrr5JZ83gyaGdkT+k1Mod+TK9X1aG9bdRz2rdifNlah3zVCF0zUmssP6DQAi u3gIb/HUhMGroGl90/ytrizOn8PNZgHtXNNLH4BpNhVvNKEckWXSXJP70eDShNK7qgyd 50ytA6pXiVCBbSku2+T3undY7EiTNu9bOpKmrDi6UT7/QwWz3kFlsPMYFtqH5oCuGoja w7UBBPo0rnAaaKloFS59gpptairrYwWMTvFTstw4Idmcu9lwAcX3CdPgsDkSbBH7H2dZ h8TA== 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=uqH4UC1eSv85wYUtuk1mdjTGck9SIfF7lj/7yQH/8cg=; b=QoPUMTJBnE2VLUvRMQLdIlU/1phFRzfuMWbMMzCmeeAggQkFr9cP8DD/XtUUGkkAGL hboLmlK90Pz2Uh7VxBZHdWOX4C0+nK4MJgMy/RH/31txemf/SPPoLggjFXnQ03UYLuta thY1F2oLAFsp7i6h5sGDiO20JcvpeLmrketP5qJ8/i29mRh/EPXFzgOzgAW+hhYm0/EI rdEqWzOUNx/dtxQaZ1OAJT8nKqnHdUxWwOHtVjj+IQRW/n+XFobNixgoS46bL2jtoZ91 XcyDki8F2uaq+fpytQcjhw/BZOp/UJ7IIOf4ffpMElH9yduIV2i4AeZwZdRZpga2oP++ PVUw== X-Gm-Message-State: APjAAAVE+PZv0LG3vY53Nc25rDyR8skjKf8IHJLx7TFRWeWHjwJMvRmB xK76/M4wQRzpa9s3fz0YylCeRfiowFs= X-Received: by 2002:adf:e708:: with SMTP id c8mr4973678wrm.25.1565096713800; Tue, 06 Aug 2019 06:05:13 -0700 (PDT) Received: from glaroque-ThinkPad-T480.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id j33sm201888738wre.42.2019.08.06.06.05.12 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 06 Aug 2019 06:05:13 -0700 (PDT) From: Guillaume La Roque To: daniel.lezcano@linaro.org, khilman@baylibre.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 3/6] arm64: dts: amlogic: g12: add temperature sensor Date: Tue, 6 Aug 2019 15:05:03 +0200 Message-Id: <20190806130506.8753-4-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190806130506.8753-1-glaroque@baylibre.com> References: <20190806130506.8753-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 Signed-off-by: Guillaume La Roque Reviewed-by: Martin Blumenstingl --- .../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 06e186ca41e3..a06298538614 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,g12-cpu-thermal", + "amlogic,g12-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,g12-ddr-thermal", + "amlogic,g12-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