From patchwork Mon Jan 18 03:16:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 365445 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp1886559jap; Sun, 17 Jan 2021 19:21:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfXvEpI5NsGg02GQUcQe72S9fB12SGLlxKgftSoAkqv0jaMo5gkJcg4kiypjQtRdrNKWGh X-Received: by 2002:a05:6402:22b7:: with SMTP id cx23mr43411edb.313.1610940093030; Sun, 17 Jan 2021 19:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610940093; cv=none; d=google.com; s=arc-20160816; b=hsdjtrfsWOcimB8QiKJdK3fVVSoRRn0XFRqk9MkC/2aVxwdI7k4M//N+wwn/1VNpIc w5K7eV3wnkz6HUGWWl6ybM6xZbEPihtxRTGJV9/6Vx0PeA/2Ht59Be8GgZL3rT16S1Ig 8/DRgwpCl9dsVplqeStwnLQHQ+DaUZoHKrPc1OOyaELZhR/2HYubpaKP6dtLzEBq/xFC cz2OewifDRCkEy28ShM0AGu1yBNo0c0dd1jK+0B2+PvNpWg7S7iLfft1p0fWvg1o7KBh vmvteocQJF1nnA2IHwMzHH6RHScfpzURDh7FnV2S5NXDxY5s7wzMREbM+emX0/0RcK61 Y9rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TCiHYnUdV4+B/7BHMXeEWEUcB+UclbN/DoOJR2z4USA=; b=HhzEx9GGsKXgzC9BO0mNvUtDrF7f+2gQUcNqf7PdNcYLFHwf9DQmcmID3ql9kw9Bcf z3W48nuhAQUecTxXkuNrX60OKf8sCEYRkI5TdSd6+exu0+ierrXCNSkOwzGcntcsDniW hGHXpfh7uNfK/L+0ogUa04q2RTrxpicFfMh4J+7bjwYbvxG2/w8UQByw/SR3R72Kh5+L aJDlNtlzO7lIajl6PduWMXPPZVLt8KZW8TYNGucoUqaoIginZ1Q/ugOWi3YNBldxh0S9 +0nDs4Bv/uk0gOVBVsHH+6uP+g5KVHdv3nZPW5XQowBS0M5thNwXWidiLNG1vej0gpqN fAVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si6736441ejf.641.2021.01.17.19.21.32; Sun, 17 Jan 2021 19:21:33 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731528AbhARDVb (ORCPT + 6 others); Sun, 17 Jan 2021 22:21:31 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:11551 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730600AbhARDVb (ORCPT ); Sun, 17 Jan 2021 22:21:31 -0500 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4DJxpk1LmFzMLYt; Mon, 18 Jan 2021 11:19:26 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.176.220) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.498.0; Mon, 18 Jan 2021 11:20:42 +0800 From: Zhen Lei To: Wei Xu , Rob Herring , devicetree , linux-arm-kernel CC: Zhen Lei Subject: [PATCH 3/6] arm64: dts: hisilicon: normalize the node name of the module thermal Date: Mon, 18 Jan 2021 11:16:31 +0800 Message-ID: <20210118031634.934-4-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210118031634.934-1-thunder.leizhen@huawei.com> References: <20210118031634.934-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.176.220] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 1. Change the node name of the thermal zone to match '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', add suffix "-thermal". 2. Change the node name of the trip point to match '^[a-zA-Z][a-zA-Z0-9\\-_]{0,63}$', delete character "@". Signed-off-by: Zhen Lei --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 6 +++--- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) -- 1.8.3 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index bfb1375426d2b58..8b8d3d07b67fe84 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -1113,7 +1113,7 @@ thermal-zones { - cls0: cls0 { + cls0: cls0-thermal { polling-delay = <1000>; polling-delay-passive = <100>; sustainable-power = <4500>; @@ -1122,13 +1122,13 @@ thermal-sensors = <&tsensor 1>; trips { - threshold: trip-point@0 { + threshold: trip-point0 { temperature = <65000>; hysteresis = <1000>; type = "passive"; }; - target: trip-point@1 { + target: trip-point1 { temperature = <75000>; hysteresis = <1000>; type = "passive"; diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index f9953303a3f44dc..d426c6c8722b307 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -872,7 +872,7 @@ thermal-zones { - cls0: cls0 { + cls0: cls0-thermal { polling-delay = <1000>; polling-delay-passive = <100>; sustainable-power = <3326>; @@ -881,13 +881,13 @@ thermal-sensors = <&tsensor 2>; trips { - threshold: trip-point@0 { + threshold: trip-point0 { temperature = <65000>; hysteresis = <0>; type = "passive"; }; - target: trip-point@1 { + target: trip-point1 { temperature = <75000>; hysteresis = <0>; type = "passive";