Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1296102imm; Sat, 4 Aug 2018 00:05:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcvJJaQOuKFlzBp3d2k0BZucU1PuTSZuPQjMZy/uvsdGjZyua39cq+gUCDQxS+YYKzYdz2u X-Received: by 2002:a62:569c:: with SMTP id h28-v6mr7921185pfj.201.1533366348398; Sat, 04 Aug 2018 00:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533366348; cv=none; d=google.com; s=arc-20160816; b=mQTMpFmFpvsUsy5wrSGYJOoUp+5/XyoEzkJuTR8vHWe2hCF3Hgoog0kC2GaLSsSo4t u4zwgjazNQsJyDz6PYfq05AdBCse0l7WKPbBJB9yHmM16YncB5mscaWyWktUrKBbm3og AxTyn5PBCTLxlarp+zxUMSyOi0bPDmCL7yI1Dz0u01ZMdbwd0+/N6z5YyQpdjQOrrCoy puUfRYCd+GxLS+CER9oT9bDqnZFMjapQaAJXLLQhfpZRUgkgJqWlW9aUPzpLHgDhH/tf qPWeaBZb9cd8/FzAUSKuaRyopsKM58C06CzcrBM+e6YnAu4ZNn7sB30SP9UcidVRIIKM 5kKQ== 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=kNqiKnTlOuKpGGBsOEwqgqmQcAaYzSzgSDR2D3ZgrMw=; b=Xj2zcCXiVNB18u3wZGiMXBRu0DWCf5TZ4chbGY7i8Ls71+kU92lq6mBuRzmW+63PPq nJG70wKIw5LvYvcR5eE5eMflcmElXnEKxdjinzoyyi65+4oiVDCKhDJugkgPAO+eo8R7 BnXtR/6j6YCd8rZ2+JnZPZvBJmwDxoJy5g3LW9gUvB1fnMVGvSJXJDuMWTNMnzwu3dIP hnmdwlkdshuVXBPbmodsIU/Wed7Pj9pQajraY9jd76PnbujtZFoe6Mtg2Dn30O+UH07A QgCY37Sj7VdyN5NbuWBIcp1MeA2TlP4qGsvJpyfBFzxGkhEvYTnH5Ax2/zWSDPFwg4mN 9UdA== 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 a20-v6si7545326pgi.184.2018.08.04.00.05.34; Sat, 04 Aug 2018 00:05:48 -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 S1728475AbeHDJD4 (ORCPT + 99 others); Sat, 4 Aug 2018 05:03:56 -0400 Received: from mx2.freebsd.org ([8.8.178.116]:59367 "EHLO mx2.freebsd.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbeHDJDz (ORCPT ); Sat, 4 Aug 2018 05:03:55 -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 A1E166650E; Sat, 4 Aug 2018 07:04:17 +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 DABC688E41; Sat, 4 Aug 2018 07:04:16 +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 896F615D51; Sat, 4 Aug 2018 07:04:15 +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 4/7] arm64: dts: allwinner: a64: Add thermal sensor controller node Date: Sat, 4 Aug 2018 09:03:52 +0200 Message-Id: <20180804070355.14857-4-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 A64 and the nvmem cell for the calibration data on the sid node. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 925bf38fb536..ad72a6fcdd7c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -273,6 +273,25 @@ sid: eeprom@1c14000 { compatible = "allwinner,sun50i-a64-sid"; reg = <0x1c14000 0x400>; + + ths_calib: calib@234 { + reg = <0x234 0x6>; + }; + }; + + ths: thermal_sensor@1c25000 { + compatible = "allwinner,sun50i-a64-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 = <2>; + status = "disabled"; + + nvmem-cells = <&ths_calib>; + nvmem-cell-names = "ths-calib"; }; usb_otg: usb@1c19000 { -- 2.18.0