From patchwork Sat May 29 17:09:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 450207 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CF0CC47091 for ; Sat, 29 May 2021 17:10:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB5356112F for ; Sat, 29 May 2021 17:10:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbhE2RMS (ORCPT ); Sat, 29 May 2021 13:12:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbhE2RMR (ORCPT ); Sat, 29 May 2021 13:12:17 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 215BDC06174A; Sat, 29 May 2021 10:10:41 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id a5so10145197lfm.0; Sat, 29 May 2021 10:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MpvhPzX1ymg5vSIOj/R3c0XtSN9hCFreWZQ1rMcnPsI=; b=cEF/edBeiZoX3EJ9sVxvgswrbajZc3tW0CiapswGcIFOKkVumpG8UnjFduDIad7/xi /qdTrL6u6fXfqDndW8DyNesMyQtJ0ZA7LERWemwR9W97ZJTX3Qj/k2UVRTHAzi58yihE 4ps2ulAHX/WU14f6kKnDvlFwsDiClfbTK3lw1ZDPtnIeWzaf7zRUbrUDSbnw0oWd3SLy /zpqbooQuWSMJ9zrLdJoItTHHGystEq50lgTCzZu+I4+1Gu7Mn14NOmdpKVAqSzX29iQ v1Evp4UMC1mSxqNvm6R6BqppnpS0sR3CfKV+OB6c/ghkI71ufurjoaMi/OfJDA48FK0b lloQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MpvhPzX1ymg5vSIOj/R3c0XtSN9hCFreWZQ1rMcnPsI=; b=DrDqtlixgvRoTzKs8zw2Dnulhx8HDPvd3+hVtRM003+Uo3atBGmppymDpcbTZNZWZj I5TtSI6y/BUjoqB8ECd84285YLWe7BEPN3KpBD1CWtUhciRGpAzx9OL3Olju/EEaVgzK U8XptXyKRgrnUT0ZnuwBDasUYUULD/82wLUCtK07f/M5+haUgupK0P5DtRbw3vZJlUes rWvlfZ/3JztpgSYS7ZI4IbdjO/t1A3OYzF+HHw1R5XJsUZwrHMagxS9csr70F0O11hp6 zZFKKCg53ukrB90qrIwTldzMZg+rX0gjyxJpScHjHMKliK8pN47FvtUZILVRCe6oDrxH J0Ig== X-Gm-Message-State: AOAM533W5xdmnov+8ZgC9K4l64c34lXMpfAHCnmdMfBDbJ7evvoUWYdl tjAIyPDh6n0GvgpfO0/M707BQGPK0L0= X-Google-Smtp-Source: ABdhPJy1AnCFjFJkmAbUJDv6G6Zo1zpo1Ym98T8f7DNpUaw/KUnkL21UOb5Zx81JRLHrVw+6MYAf/w== X-Received: by 2002:a19:ac45:: with SMTP id r5mr10163245lfc.449.1622308239519; Sat, 29 May 2021 10:10:39 -0700 (PDT) Received: from localhost.localdomain (46-138-84-89.dynamic.spd-mgts.ru. [46.138.84.89]) by smtp.gmail.com with ESMTPSA id h12sm901715ljh.130.2021.05.29.10.10.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 10:10:39 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Zhang Rui , Daniel Lezcano , Amit Kucheria , Andreas Westman Dorcsak , Maxim Schwalm , Svyatoslav Ryhel , Ihor Didenko , Ion Agorria , Matt Merhar , Peter Geis Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 1/7] dt-bindings: thermal: Add binding for Tegra30 thermal sensor Date: Sat, 29 May 2021 20:09:49 +0300 Message-Id: <20210529170955.32574-2-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210529170955.32574-1-digetx@gmail.com> References: <20210529170955.32574-1-digetx@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org All NVIDIA Tegra30 SoCs have on-chip sensors which monitor temperature and voltage of the SoC. Sensors also controls CPU x2 freq throttle and emits emergency shutdown signal. TSENSOR has has two separate channels for each sensor placed in a different parts of the SoC. Add binding for the sensor hardware. Reviewed-by: Rob Herring Signed-off-by: Dmitry Osipenko --- .../thermal/nvidia,tegra30-tsensor.yaml | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml diff --git a/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml new file mode 100644 index 000000000000..6182090d313c --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/nvidia,tegra30-tsensor.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/nvidia,tegra30-tsensor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra30 Thermal Sensor + +maintainers: + - Dmitry Osipenko + - Jon Hunter + - Thierry Reding + +description: | + TSENSOR provides thermal and voltage sensors which monitor temperature + and voltage of the chip. Sensors are placed across the die to gauge the + temperature of the whole chip. The TSENSOR module: + + Generates an interrupt to SW to lower temperature via DVFS on reaching + a certain thermal/voltage threshold. + + Generates a signal to the CAR to reduce CPU frequency by half on reaching + a certain thermal/voltage threshold. + + Generates a signal to the PMC when the temperature reaches dangerously high + levels to reset the chip and sets a flag in the PMC. + + TSENSOR has two channels which monitor two different spots of the SoC. + +properties: + compatible: + const: nvidia,tegra30-tsensor + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#thermal-sensor-cells": + const: 1 + + "#cooling-cells": + const: 2 + + assigned-clock-parents: true + assigned-clock-rates: true + assigned-clocks: true + +required: + - compatible + - reg + - clocks + - resets + - interrupts + - "#thermal-sensor-cells" + - "#cooling-cells" + +additionalProperties: false + +examples: + - | + thermal-sensor@70014000 { + compatible = "nvidia,tegra30-tsensor"; + reg = <0x70014000 0x500>; + interrupts = <0 102 4>; + clocks = <&clk 100>; + resets = <&rst 100>; + + #thermal-sensor-cells = <1>; + #cooling-cells = <2>; + }; From patchwork Sat May 29 17:09:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 450206 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46CF1C47082 for ; Sat, 29 May 2021 17:10:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2C2CA61104 for ; Sat, 29 May 2021 17:10:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229825AbhE2RMU (ORCPT ); Sat, 29 May 2021 13:12:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbhE2RMT (ORCPT ); Sat, 29 May 2021 13:12:19 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5167C06174A; Sat, 29 May 2021 10:10:42 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id w33so10065352lfu.7; Sat, 29 May 2021 10:10:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AqIoL8w6UW8nZZQW4Ci4myc0ad3mcz0KynC5WY0Sz8A=; b=SC9HOFGn1FJK9Idj7J9epG+7uRSalCCjTpT+ovYZg5X/fmyIftzd/PYsWmCDMADsXO yPh5DjjR3mYVTy8UiEpfk3rxnftJAWcleoVd3zVqEK5gmP8l9vO8qADlmNjoUnQglvkL 8yMl1M+/hwY+5MAsOUcBxkbu5vrxpkxwe1djSjNMMOpYa8OuYe2OfK/F2E9k/FaUDps2 03XgPUlviicdiF7saiT4Mfke/9rxioHnuk3/v9LLVsKeb+ddABuom9ksPd7RT+BhzYTV EZytqkArLyeXYg8axBxn1O2N0f8ReY/ALjK/sQsTbttX/DS58W/u9M+IO8SWBTW1IqP/ 5OBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AqIoL8w6UW8nZZQW4Ci4myc0ad3mcz0KynC5WY0Sz8A=; b=p9IGAV8nggTA2koMLa8oLEeRu2Rl/SArsHkdFVrXxo//dHShXLm4aQWbZD71F5Azth ub6IiC2D0fkSLnveFnzwoOQZJ11E2WDsXnfBzhpoZFz/MzkBHOpHEzo8MBSTpyrkkkPy 5hWU8iUpbbu0+jq+B7mLMPaVlB7Vc7ZEjxzVxOmEaMFeX/sqpsQoBZhX/Y94xlAQpVvg NMOmA3BFUnMKto2hDduBgyWHMcqU4BhH1wWlf4n5WhoCfbRKcG72JKfB1KefNf1yrTB6 uoT8lu40QJLqV3uMJdhb5guIm8Z3yP57SsY2/eusjnOh2uOH6NFuQ/Zs7vQVj3C0Uewk n+5w== X-Gm-Message-State: AOAM5332Z9/WlY9aL1PybbCOYgwuK/ZEzQdNnrGQZayxKIAFZksFPs+t ZwUOkt6r2j7CrFqnvIAxX+U= X-Google-Smtp-Source: ABdhPJyEI8rYuXtAFA+S1t0ksIcqqd+dZ/oKKiQyHBdppzUjByxCYT0MZPoleGxlZpYZbbkdoS031w== X-Received: by 2002:a05:6512:374c:: with SMTP id a12mr9779590lfs.420.1622308241224; Sat, 29 May 2021 10:10:41 -0700 (PDT) Received: from localhost.localdomain (46-138-84-89.dynamic.spd-mgts.ru. [46.138.84.89]) by smtp.gmail.com with ESMTPSA id h12sm901715ljh.130.2021.05.29.10.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 10:10:40 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Zhang Rui , Daniel Lezcano , Amit Kucheria , Andreas Westman Dorcsak , Maxim Schwalm , Svyatoslav Ryhel , Ihor Didenko , Ion Agorria , Matt Merhar , Peter Geis Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 3/7] thermal/core: Export thermal_cooling_device_stats_update() Date: Sat, 29 May 2021 20:09:51 +0300 Message-Id: <20210529170955.32574-4-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210529170955.32574-1-digetx@gmail.com> References: <20210529170955.32574-1-digetx@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org NVIDIA Tegra30 thermal sensor driver has a hardware-controlled CPU cooling feature that halves CPU frequency once a specified trip point is breached. In order to account the hardware state transitions, which are reported by interrupt, the sensor driver needs to report the cooling state transition and this is done by thermal_cooling_device_stats_update(). The sensor driver could be compiled as a loadable driver module, but this API function isn't exported, hence export it. Signed-off-by: Dmitry Osipenko --- drivers/thermal/thermal_sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/thermal_sysfs.c b/drivers/thermal/thermal_sysfs.c index 1c4aac8464a7..ab373280f853 100644 --- a/drivers/thermal/thermal_sysfs.c +++ b/drivers/thermal/thermal_sysfs.c @@ -690,6 +690,7 @@ void thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, unlock: spin_unlock(&stats->lock); } +EXPORT_SYMBOL_GPL(thermal_cooling_device_stats_update); static ssize_t total_trans_show(struct device *dev, struct device_attribute *attr, char *buf) From patchwork Sat May 29 17:09:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 450205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6779AC47093 for ; Sat, 29 May 2021 17:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BAC561131 for ; Sat, 29 May 2021 17:10:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbhE2RMY (ORCPT ); Sat, 29 May 2021 13:12:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbhE2RMW (ORCPT ); Sat, 29 May 2021 13:12:22 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8961C061760; Sat, 29 May 2021 10:10:44 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id a4so2487018ljq.9; Sat, 29 May 2021 10:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=W4XYgA9FTIuq7IUiliTgLv6U+XMmEN4JcS1gayFO6x4=; b=XvFneu1s3zOzJ2zvgKrnCS/2o15YzpsE9THHygjk/h4/8KY7IY4R9dGp3cKlJOX1Ta s06++HzTW7zh8avWtXoWOlrl4EWkjsSCQZB4BTOkBStJml0QQcJCLv9bh/J1QDI3Tva8 vGgau5lP9RrlxTE0vYkAyxJnt79sgCMFnzA2MefK+m9oNOYvO/yqqb8NU1ui42ueWxd6 MPL32zZHljANYSmd8tGc0pvO9zZUlQXmNaDfQIzhVUE14kiHhbbJ5TK86PBKRdy1qiJv C/lrbotvqTyMzGF001GVRO3Jvnc1eyB4+4el0FnvJa8q2QkWo5oOPDVzAqJIiRabqv8x EKIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W4XYgA9FTIuq7IUiliTgLv6U+XMmEN4JcS1gayFO6x4=; b=sLI2CvkjHfujnHBdS1ieJO5S4V61sIE19zIfctefouG1GH1GEcGTWyfZ4IV345vLnt T/oAmFdnD2jH/XnKtpmcqedyjLlZjx6nq2CUqNlSi2XeFT94yI51TiUZOD6sk6qObuhj aIksaFa0mfC18f7xBqJzkfb3JBkxLgQIMLmu+u/YTfzkSTu+DJ9EDd1bjfOBC4w3X8Bv v0HhJaqo4YGzVA/3b7D+ZT94SDRGt0On9dnK+BFgrEblweMBYCDqIPn3ZazIGNrYAnPz 33+nzKQ+BKPAACyHdE38Hf1WPBa34ROpK3UdcfwfwOY3+gjDACY2AFtRqjtdMeLngaxe NyBA== X-Gm-Message-State: AOAM531XEjotptN7NSN6W4ugSC1fQEO5uDR3W864eJ0QD27zSPZTGwyt eT3JOklaAf+D1wrIEvy3wwY= X-Google-Smtp-Source: ABdhPJxgEV2rUFHFb4TdOCCxjdNYeijvSRdoUv9yxuJRp6v111XjPjS73BQ/IurSe8xT58MaqGVLyw== X-Received: by 2002:a2e:8710:: with SMTP id m16mr7570850lji.165.1622308243100; Sat, 29 May 2021 10:10:43 -0700 (PDT) Received: from localhost.localdomain (46-138-84-89.dynamic.spd-mgts.ru. [46.138.84.89]) by smtp.gmail.com with ESMTPSA id h12sm901715ljh.130.2021.05.29.10.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 10:10:42 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Zhang Rui , Daniel Lezcano , Amit Kucheria , Andreas Westman Dorcsak , Maxim Schwalm , Svyatoslav Ryhel , Ihor Didenko , Ion Agorria , Matt Merhar , Peter Geis Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 5/7] ARM: tegra_defconfig: Enable CONFIG_TEGRA30_TSENSOR Date: Sat, 29 May 2021 20:09:53 +0300 Message-Id: <20210529170955.32574-6-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210529170955.32574-1-digetx@gmail.com> References: <20210529170955.32574-1-digetx@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Enable NVIDIA Tegra30 SoC thermal sensor driver in tegra_defconfig. Signed-off-by: Dmitry Osipenko --- arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 3d8d8af9524d..63e7f3261e6d 100644 --- a/arch/arm/configs/tegra_defconfig +++ b/arch/arm/configs/tegra_defconfig @@ -169,6 +169,7 @@ CONFIG_THERMAL_STATISTICS=y CONFIG_CPU_THERMAL=y CONFIG_DEVFREQ_THERMAL=y CONFIG_TEGRA_SOCTHERM=m +CONFIG_TEGRA30_TSENSOR=m CONFIG_WATCHDOG=y CONFIG_MAX77620_WATCHDOG=y CONFIG_TEGRA_WATCHDOG=y From patchwork Sat May 29 17:09:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 450204 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11F72C4709E for ; Sat, 29 May 2021 17:10:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E473161104 for ; Sat, 29 May 2021 17:10:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229881AbhE2RM0 (ORCPT ); Sat, 29 May 2021 13:12:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229851AbhE2RMX (ORCPT ); Sat, 29 May 2021 13:12:23 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C33FC061574; Sat, 29 May 2021 10:10:45 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id f30so10130287lfj.1; Sat, 29 May 2021 10:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uG0wF9x5J31B5QovgpxzHE3VxGkFw0gZRlBKzlTkO48=; b=YNpD36hsPQ45qUtw8B28Q9nG9ZzBBjoeBj5/0zS6S9J+LiA4+6Qdh4dYVss7GfIGkt 74iJBtqxqzgCIGq1/7riA7MkLShiUGI8hBsQLGeQp6L3uauf8TtdGgLGsP1twXQf2sac TMu9OW4wm7onG4Zfo0HJmXRZl+cFRX0dIYxxmcIVk9M/N+lQDVuASZ+Wn61G81McwJGc LnjilsCskV4NofFzaKPblkcdNDuIfAjesRYaeaN/Lb4SUm9ZAU7+feUK19WDBA6ix0Vi MIotrfcDPW3GiF3oIkPLn7pnxt78mG7ZEnDicDFlKjvklpZsNRVdL8k8YH8tSsTfk90F Fz/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uG0wF9x5J31B5QovgpxzHE3VxGkFw0gZRlBKzlTkO48=; b=Xqmv/o9ovlPgLwD0KEImh+D0ZST+0AE2+vghc/v97xE2WdB/ydM6Otmqz6qJ12eU1N hWlTRHkGL3JZDKmsZhplva9PmoT/AxHiH2kF3JGrD4IEcT0G3MG3VE2tHlSWaCSuP9Vz l7PLUDm6FPU+7j0UeNbc0z42fFNEOfAhtgqIEh11rL98EHuVk+Z64cUnh4hEktx21Em+ Cnlbb44UqLXgIH/guPP+Ks30VFQSP9ueUPUJGB0MsYaT1Zaz/lOm+c0kJ7GNwpttxcXO UzG1i4VHZ61GZSliT+ZbROGc8kAVjojK6ciSRYTMqAdzvdlv5Y3nw40pulT1nv91gqrr dNAQ== X-Gm-Message-State: AOAM532CwEsPVuoXOHNxeiAjt30dOJqctj8LHOSNSIejCRUUW0R5/SiX V/9ZnSdq+T4jeQEsP6BkYRDyvMpn5yc= X-Google-Smtp-Source: ABdhPJy6gHfOnZuQmJd7NMeqZJaT8AyHCBdb2KRGRIy4gpCNNP1NevOiAgYPasZ3Bf7LwFV8OmgJ+Q== X-Received: by 2002:a05:6512:308a:: with SMTP id z10mr9363913lfd.601.1622308244024; Sat, 29 May 2021 10:10:44 -0700 (PDT) Received: from localhost.localdomain (46-138-84-89.dynamic.spd-mgts.ru. [46.138.84.89]) by smtp.gmail.com with ESMTPSA id h12sm901715ljh.130.2021.05.29.10.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 10:10:43 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Zhang Rui , Daniel Lezcano , Amit Kucheria , Andreas Westman Dorcsak , Maxim Schwalm , Svyatoslav Ryhel , Ihor Didenko , Ion Agorria , Matt Merhar , Peter Geis Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v3 6/7] ARM: multi_v7_defconfig: Enable CONFIG_TEGRA30_TSENSOR Date: Sat, 29 May 2021 20:09:54 +0300 Message-Id: <20210529170955.32574-7-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210529170955.32574-1-digetx@gmail.com> References: <20210529170955.32574-1-digetx@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Enable NVIDIA Tegra30 SoC thermal sensor driver in multi_v7_defconfig. Signed-off-by: Dmitry Osipenko --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 52a0400fdd92..fc346f87d7f9 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -523,6 +523,7 @@ CONFIG_BRCMSTB_THERMAL=m CONFIG_GENERIC_ADC_THERMAL=m CONFIG_ST_THERMAL_MEMMAP=y CONFIG_TEGRA_SOCTHERM=m +CONFIG_TEGRA30_TSENSOR=m CONFIG_UNIPHIER_THERMAL=y CONFIG_DA9063_WATCHDOG=m CONFIG_XILINX_WATCHDOG=y