Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1297387imm; Sat, 4 Aug 2018 00:07:40 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfaBylDph07tKIqTOU7oK6FwGJUQqz58hR6sBNzgytaymNTea9bSrHBO2gaEoRaj9CUFVXv X-Received: by 2002:a63:3c0c:: with SMTP id j12-v6mr6537268pga.440.1533366460198; Sat, 04 Aug 2018 00:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533366460; cv=none; d=google.com; s=arc-20160816; b=kdsVvhhclAbHZp7Ht7yzrBabXYcdFDm8jRnmBDcysoFynlQpLXTm7kz/HVUYIAw0w8 fOQDB+k3tHnUx7BfBhhJO+NGv6QYikq5Y4aGw4I11Joo63wgIM6vWiWQov4fBwCSy1SA ME9/Xl1XhsH33NV3fOr4zJq5aoB9F0Dtn3GE4v0VGTXP7Be0979DTTAnyegH1pVSIoj5 7YA4lfx50uVBHGccrkqzuirdsOMCmqli+d83w+C4QLqtGH97a+xjXypsRkQM45kLLnWD ZKaiZDKDbMjoMPF0AIYX7Ff+oWGlvUHRJbE62rrntJQP26Cb0AQhpNzfuykgyzpSvfGk ry5A== 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:arc-authentication-results; bh=gyw5jA8OniDQnD8U4Wh3fJ3VqdSLG24AqF8D+6NSU70=; b=Onl2eEQS2t9EJkR+r+X2RBadd1mJV8JbAFIoQNQI/F7A9oqRN/SFhNx4EzBaX6SQ+L u7euz7LvsbwkSZaT0aTu2g1ovcSMUE7yeplhjxxO9D5DZM7pOTL6+K6rHMqxjJnv+Taj NNkqpJepnZdWwLU9bKqixWhkU/kJlvws6Qs7kvAMAfRampbRvVP12gya0B4p2WLoU0Ig 9C5sBx24QG0dOKlbzlkc5eZRBfZHL3kl0lkS0d4+5u5gXjk33NaHRuwK6HPCLcQPu1sS YWo8vAjcuzvnXX4QRYD1FxIj23HvmoXkHv0v8IOVomqZExLUz72Wvy5BGrtL78VrnYNr MORw== ARC-Authentication-Results: i=1; mx.google.com; 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 n128-v6si7386683pfn.90.2018.08.04.00.07.26; Sat, 04 Aug 2018 00:07:40 -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; 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 S1727821AbeHDJDw (ORCPT + 99 others); Sat, 4 Aug 2018 05:03:52 -0400 Received: from mx2.freebsd.org ([8.8.178.116]:59349 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbeHDJDv (ORCPT ); Sat, 4 Aug 2018 05:03:51 -0400 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 172B366503; Sat, 4 Aug 2018 07:04:14 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3FBFE88E37; Sat, 4 Aug 2018 07:04:13 +0000 (UTC) (envelope-from manu@freebsd.org) Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: manu) by smtp.freebsd.org (Postfix) with ESMTPSA id E1B2A15D4F; Sat, 4 Aug 2018 07:04:11 +0000 (UTC) (envelope-from manu@freebsd.org) From: Emmanuel Vadot To: rui.zhang@intel.com, edubezval@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, catalin.marinas@arm.com, will.deacon@arm.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Emmanuel Vadot Subject: [PATCH 2/7] ARM: dts: sun8i: h3: Add thermal sensor controller node Date: Sat, 4 Aug 2018 09:03:50 +0200 Message-Id: <20180804070355.14857-2-manu@freebsd.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180804070355.14857-1-manu@freebsd.org> References: <20180804070355.14857-1-manu@freebsd.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This add the ths controller for the H3 and the nvmem cell for the calibration data on the sid node. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun8i-h3.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 281038a7d7b4..fcfcd50b398a 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -145,6 +145,25 @@ sid: eeprom@1c14000 { compatible = "allwinner,sun8i-h3-sid"; reg = <0x1c14000 0x400>; + + ths_calib: calib@234 { + reg = <0x234 0x2>; + }; + }; + + ths: thermal_sensor@1c25000 { + compatible = "allwinner,sun8i-h3-ths"; + reg = <0x01c25000 0x100>; + interrupts = ; + clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; + clock-names = "apb", "ths"; + resets = <&ccu RST_BUS_THS>; + reset-names = "apb"; + #thermal-sensor-cells = <0>; + status = "disabled"; + + nvmem-cells = <&ths_calib>; + nvmem-cell-names = "ths-calib"; }; mali: gpu@1c40000 { -- 2.18.0