Received: by 10.213.65.68 with SMTP id h4csp959392imn; Tue, 20 Mar 2018 21:48:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELvdjBglA3EC9P3JEZdIwV1LZk2LjDSJGfzB5685PhFZW/rd6ttuHJlvkq8qg2LJ+Jw1XJqs X-Received: by 10.99.128.67 with SMTP id j64mr13654287pgd.55.1521607699128; Tue, 20 Mar 2018 21:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521607699; cv=none; d=google.com; s=arc-20160816; b=aC6n7n7Tp+t5i/dczIelGHLS9M37BBrQ+ytf80y/8QXX2dFdNu0PlZrAr6GPtbLfgR M+ndwgUFfROo6+XB2qOSQVtZeaMP0PKkEvcC88DiH5TcvsPxmI3NNCiY4Ik+rwMVmmyB BxwVNixnycYbug5NJeyNgO5WyJ8oTmCY2JZo5wo7kkK55MqRMiiX8HzWsd6NcmA2n+DC yFMJ6p22smdMGfBrcZfVvCIELrarilxGJR6ITlw6f0EumRnCY8COxOEQ4iQdQmqVFl5U 8OfPvVOhW8RGkZJSjBAiExl8Wt3+QzbttQ0Cqoqyy6rxRLUF8XqReQHP8ZXEFb+flsTY t2bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=0VOeSeP4cusJ8mtTUqTQkz3lEYPAEneFJctHBhWhSKM=; b=jbOICD8UrQAjfPb1xLvxUV2D2qGUFlRLcWG/LV+mRW52cx3YJJdZB0tbJh6Y6m0vTG AQYSLSExMKxmNLo1InAUuRRqIlJUK/gqJY1vsgwTIKcqc3B+KE6g1AfFkPWflZgDadGQ YF9YdON28GrfYKfnDyBCSzuwHM8K45Zb5Z8Kq1JyBx8/+OJkZejS2ckTwKWxqGF2wTNq vvDUcCuvlKYSP0BnF9teShX6of72F/lh2oy9sR8Ayr+qtcahXWA8eD869tBmSKxWjDhk EUkjdslpqGehKBYbHOfW2xH8LoZpESqWkjIu/HVZeN7Xgt0On37beiC3j6T/DZSMd90k Gggw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si3115279pld.384.2018.03.20.21.48.05; Tue, 20 Mar 2018 21:48:19 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751890AbeCUErJ (ORCPT + 99 others); Wed, 21 Mar 2018 00:47:09 -0400 Received: from nat-hk.nvidia.com ([203.18.50.4]:42867 "EHLO nat-hk.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751524AbeCUErF (ORCPT ); Wed, 21 Mar 2018 00:47:05 -0400 Received: from hkpgpgate101.nvidia.com (Not Verified[10.18.92.9]) by nat-hk.nvidia.com id ; Wed, 21 Mar 2018 12:41:53 +0800 Received: from HKMAIL104.nvidia.com ([10.18.16.13]) by hkpgpgate101.nvidia.com (PGP Universal service); Tue, 20 Mar 2018 21:41:53 -0700 X-PGP-Universal: processed; by hkpgpgate101.nvidia.com on Tue, 20 Mar 2018 21:41:53 -0700 Received: from DRBGMAIL104.nvidia.com (10.18.16.23) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 21 Mar 2018 04:41:52 +0000 Received: from HQMAIL101.nvidia.com (172.20.187.10) by DRBGMAIL104.nvidia.com (10.18.16.23) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 21 Mar 2018 04:41:44 +0000 Received: from rrajk-ubuntu.nvidia.com (10.124.1.5) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1347.2 via Frontend Transport; Wed, 21 Mar 2018 04:41:35 +0000 From: Rajkumar Rampelli To: , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , , , Subject: [PATCH V2 6/9] arm64: tegra: Add pwm based fan support on Tegra186 Date: Wed, 21 Mar 2018 10:10:41 +0530 Message-ID: <1521607244-29734-7-git-send-email-rrajk@nvidia.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1521607244-29734-1-git-send-email-rrajk@nvidia.com> References: <1521607244-29734-1-git-send-email-rrajk@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pwm fan driver support on Tegra186 SoC. Signed-off-by: Rajkumar Rampelli --- V2: Removed generic-pwm-tachometer driver dt node and using pwm-fan driver for reading fan speed. arch/arm64/boot/dts/nvidia/tegra186.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi index 19e1afc..27ae73e 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi @@ -1053,4 +1053,10 @@ reset-names = "tachometer"; status = "disabled"; }; + + pwm_fan { + compatible = "pwm-fan"; + pwms = <&tegra_tachometer 0 1000000>; + status = "disabled"; + }; }; -- 2.1.4