From owner-freebsd-arm@freebsd.org Mon Aug 27 05:43:54 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF92A108D6CE for ; Mon, 27 Aug 2018 05:43:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 520E87FA36 for ; Mon, 27 Aug 2018 05:43:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 17054108D6CD; Mon, 27 Aug 2018 05:43:54 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05D9E108D6CC for ; Mon, 27 Aug 2018 05:43:54 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 929BA7FA35 for ; Mon, 27 Aug 2018 05:43:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1fuAJb-000KqS-Tx for arm@freebsd.org; Mon, 27 Aug 2018 08:43:51 +0300 From: Daniel Braniss Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: thermal DTS for allwinner/h3 Date: Mon, 27 Aug 2018 08:43:51 +0300 References: <23EA1292-4DF7-4C08-9EDA-C235CC461F1D@cs.huji.ac.il> To: "freebsd-arm@freebsd.org" In-Reply-To: <23EA1292-4DF7-4C08-9EDA-C235CC461F1D@cs.huji.ac.il> Message-Id: <5E41E0AE-35B4-45AC-951E-705CAEADBFDA@cs.huji.ac.il> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 05:43:54 -0000 iI hate spell checkers > On 27 Aug 2018, at 08:40, Daniel Braniss wrote: >=20 > hi, > this overlay is working form me, though I think the actual temperature = reported is a bit off (40-50C) >=20 > /dts-v1/; > /plugin/; >=20 > #include > #include > #include >=20 > / { > compatible =3D "allwinner,sun8i-h3"; > }; >=20 > &{/soc} { > ths: thermal_sensor@1c25000 { > compatible =3D "allwinner,sun8i-h3-ths"; > reg =3D <0x01c25000 0x100>; > interrupts =3D ; > clocks =3D <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; > clock-names =3D "apb", "ths"; > resets =3D <&ccu RST_BUS_THS>; > reset-names =3D "apb"; > status =3D "okay"; > nvmem-cells =3D <&ths_calib>; > nvmem-cell-names =3D "ths-calib"; > }; > }; >=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"