Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162886AbdD0Qiu (ORCPT ); Thu, 27 Apr 2017 12:38:50 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36675 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966163AbdD0Qik (ORCPT ); Thu, 27 Apr 2017 12:38:40 -0400 Date: Thu, 27 Apr 2017 09:38:36 -0700 From: Eduardo Valentin To: Jon Mason Cc: Florian Fainelli , Zhang Rui , Rob Herring , Mark Rutland , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] ARM: dts: NSP: Add Thermal Support Message-ID: <20170427163834.GD18276@localhost.localdomain> References: <1493153351-12698-1-git-send-email-jon.mason@broadcom.com> <1493153351-12698-3-git-send-email-jon.mason@broadcom.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Qrgsu6vtpU/OV/zm" Content-Disposition: inline In-Reply-To: <1493153351-12698-3-git-send-email-jon.mason@broadcom.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2495 Lines: 88 --Qrgsu6vtpU/OV/zm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 25, 2017 at 04:49:11PM -0400, Jon Mason wrote: > Add thermal support via the ns-thermal driver and create a single > thermal zone for the entire SoC. >=20 > Signed-off-by: Jon Mason Acked-by: Eduardo Valentin > --- > arch/arm/boot/dts/bcm-nsp.dtsi | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) >=20 > diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.d= tsi > index 832795b..be6fcfb 100644 > --- a/arch/arm/boot/dts/bcm-nsp.dtsi > +++ b/arch/arm/boot/dts/bcm-nsp.dtsi > @@ -383,6 +383,12 @@ > <0x3f408 0x04>; > }; > =20 > + thermal: thermal@3f2c0 { > + compatible =3D "brcm,ns-thermal"; > + reg =3D <0x3f2c0 0x10>; > + #thermal-sensor-cells =3D <0>; > + }; > + > sata_phy: sata_phy@40100 { > compatible =3D "brcm,iproc-nsp-sata-phy"; > reg =3D <0x40100 0x340>; > @@ -533,4 +539,24 @@ > brcm,pcie-msi-inten; > }; > }; > + > + thermal-zones { > + cpu-thermal { > + polling-delay-passive =3D <0>; > + polling-delay =3D <1000>; > + coefficients =3D <(-556) 418000>; > + thermal-sensors =3D <&thermal>; > + > + trips { > + cpu-crit { > + temperature =3D <125000>; > + hysteresis =3D <0>; > + type =3D "critical"; > + }; > + }; > + > + cooling-maps { > + }; > + }; > + }; > }; > --=20 > 2.7.4 >=20 --Qrgsu6vtpU/OV/zm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZAh6EAAoJEA6VkvSQfF5T8bsP/3lwtsfjoV6xjszpgR5vh1c8 q75XpkItcmt56q3Vwyf3IMhJ+zEBu0wVHVTaas7R6jh2/rBHgvenDbdqNhNk4zBJ CZK4+WwFghH0jrt+R20lEPtLq/Q40Cq3Si1PN6LxrCe/KObkXsSphG7YFXngDxzt 2F78AxIa2vWUbW2peY7dGuaJunKsu3QgSIrs1r5Rfaekx8n5D9+mMnqDXskXmVv8 cZfB+v1bGTUFt1txKHG1+947rIYEJYzdg7FkQlQJh4i+YhHY5i0hYbmtya70Tk02 bFHRY1cb68hyCOgG08XGpeAXbIQwA2XfrC91rbf+gbv60f24s22zujvifHe0ylgK A7rlEKkTOgSKUGp5kkNIonsrjpdnzLVo/GWYP4Mj3C5/1IUySTdWlmT869NXBPWs HSd4+RHHvPbFZa3kMcy6DbipUdBXOlZSadsYL4S9F8S04NGy+aoJsv8JbqvNJbIg 3uLceG/g6lq9ugS931d3rW+nPNFex7e6ezd2f4jS7oV5g6Zca2nSLAXUJGG6d2X4 zpGzc74p0xbDc0RdqBFlHWbQhhTmEiPdR+4J0d4Z4A4VjCarrOh97+mjECIUJt55 e/fTgAaVA8/DTs+6zy8/MKy2/c/h/FyFYcIHIJUshcitAwyMYp4IhsO/y4+wiIIe uRDZ76yHje1+4gC6hG/p =V2aa -----END PGP SIGNATURE----- --Qrgsu6vtpU/OV/zm--