Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp334126imp; Thu, 21 Feb 2019 02:22:59 -0800 (PST) X-Google-Smtp-Source: AHgI3Ibut2UZEMXaIZbN9YvFXVpk8/6oCJ81zBmREID4FjjdTGlSiKrZ+DpRWkf71DGgF6u4JXkP X-Received: by 2002:a63:8743:: with SMTP id i64mr33744684pge.69.1550744579324; Thu, 21 Feb 2019 02:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550744579; cv=none; d=google.com; s=arc-20160816; b=dshACCp/ECMNzjYiGEnMLqr82cgMw7NWillDK1fADrfCkhkH+yl6hhFHS0uWJluYpo 6OZrl+3Zp4ICBK7urAyi9uEw9rd7OTEeziR+Z9mBAuMYxt3vmsomzg5neSw2+kIz/4/I SXFsd22IiBtCOS0OCfBjH6xxs76+XdFubFZMhzr3nBkey5KqsHvCjBUnJcp8+fTpb9zJ 4dWnR1thjBCpulXh0Kap2v48AHh7DWn2sVJn/On/yeTCIVvv3FlRA6BaoPjazXA8iYqM HfkXmW80uAT+D4b4z9suQhDhGxF/GXSySM7MTq2wdmwhRimTq5S3Or/JgfRdTBg2aYz+ Jllw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:message-id :date:subject:cc:to:from; bh=no6cRkG3wd5VqvNqeG4SGg7Ptb40dq1jqpxg95akVE0=; b=EcQBfGUndvLDLYiTjmrg7l0fhdZRFs30Pq/Ee4tT7CtYIyjjiJGyCJtY0d6RwKUXhf M/XgtL6L6fVB7rt8qy7Yah42MHkjNyiY/HYjOqdsgfqMar/s6nS49tE/Uno3NAac9kf7 6OEBiDGL9JhDYtkT5L4Qe9NemHdpQdzUNA9NG6QIXSNt4OENVsZVgnD6ml1ejEfrjzDK +lVVVzUIWLAFVUjgEknRXj+leeXTnvWaAx7pgvmAUYHbaY1Rxn0qPj92igf1rz+e8tBQ dIv3GcW9njLWafm3AqxD18eRun2fmi5A+vGvvw3FjXdhBeEzx8m9WuG5By5YNnytF4AJ O0Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=njbpg3q9; 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=pass (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 20si10111466pgr.200.2019.02.21.02.22.44; Thu, 21 Feb 2019 02:22:59 -0800 (PST) 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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=njbpg3q9; 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=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727861AbfBUKSz (ORCPT + 99 others); Thu, 21 Feb 2019 05:18:55 -0500 Received: from hqemgate16.nvidia.com ([216.228.121.65]:17406 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbfBUKSy (ORCPT ); Thu, 21 Feb 2019 05:18:54 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 21 Feb 2019 02:18:59 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 21 Feb 2019 02:18:53 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 21 Feb 2019 02:18:53 -0800 Received: from HQMAIL102.nvidia.com (172.18.146.10) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Feb 2019 10:18:53 +0000 Received: from HQMAIL106.nvidia.com (172.18.146.12) by HQMAIL102.nvidia.com (172.18.146.10) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Feb 2019 10:18:53 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 21 Feb 2019 10:18:52 +0000 Received: from niwei-ubuntu.nvidia.com (Not Verified[10.19.225.182]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 21 Feb 2019 02:18:52 -0800 From: Wei Ni To: , , CC: , , , , , , , Wei Ni Subject: [PATCH v2 00/12] Add some functionalities for Tegra soctherm Date: Thu, 21 Feb 2019 18:18:35 +0800 Message-ID: <1550744327-4677-1-git-send-email-wni@nvidia.com> X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1550744339; bh=no6cRkG3wd5VqvNqeG4SGg7Ptb40dq1jqpxg95akVE0=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=njbpg3q97GHeYfhe4EFIy6tXBS1bCrtRmovCm5OWT2I/HV/8mc1U1+hS+ngXdUlxo 4ibriSGtBFGDeeHOR12KvXKSDBWfLukoLOQQmgt9O4qD56IbICLSKu0EkYV4mwyvIZ IgiZYUsabV2IomwTs4jd5M2XJQoC7qV1AU0An2odj3SMax8zjnBeH1GlRi0kaJlt/y dod5tbmhi9Yriclt8iOFCf9TdiDYXKstraRzya3hFR9DsgbKxsHbfY3E0+ZDoeOjja xcVXzbLzXQlrDFBrxNeN2GmJZmsrKGRDhqTfQcNDxEOfbXyFzSMaf3K/TVIka+pRkK SHRKb5WNPWIjA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the hw/sw shutdown patches into this serial. There already have some discussion for it in https://lkml.org/lkml/2018/12/7/225. Support GPU HW throttle, thermal IRQ, set_trips(), EDP IRQ and OC hw throttle. Main change from v1: 1. Use boolean for "nvidia,polarity-active-low". 2. Add suffix "-us" for "nvidia,throttle-period". Wei Ni (12): of: Add bindings of thermtrip for Tegra soctherm thermal: tegra: support hw and sw shutdown arm64: dts: tegra210: set thermtrip of: Add bindings of gpu hw throttle for Tegra soctherm thermal: tegra: add support for gpu hw-throttle arm64: dts: tegra210: set gpu hw throttle level thermal: tegra: add support for thermal IRQ thermal: tegra: add set_trips functionality thermal: tegra: add support for EDP IRQ arm64: dts: tegra210: set EDP interrupt line of: Add bindings of OC hw throttle for Tegra soctherm thermal: tegra: enable OC hw throttle .../bindings/thermal/nvidia,tegra124-soctherm.txt | 62 +- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 20 +- drivers/thermal/tegra/soctherm.c | 961 +++++++++++++++++++-- drivers/thermal/tegra/soctherm.h | 16 + drivers/thermal/tegra/tegra124-soctherm.c | 7 +- drivers/thermal/tegra/tegra132-soctherm.c | 7 +- drivers/thermal/tegra/tegra210-soctherm.c | 15 +- include/dt-bindings/thermal/tegra124-soctherm.h | 8 +- 8 files changed, 1020 insertions(+), 76 deletions(-) -- 2.7.4