Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2941162pxb; Tue, 12 Oct 2021 17:09:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNSMl1JEsShm1z7sEltYXUc/5r+hrKRAQRuAmZmpEOi7B6A2iexP3yNwcsyRBejaovf8W+ X-Received: by 2002:a17:90a:a41:: with SMTP id o59mr9655470pjo.243.1634083798387; Tue, 12 Oct 2021 17:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634083798; cv=none; d=google.com; s=arc-20160816; b=bdnpfrGDNDBYKXFal9krFgSpRqlMD4JOL55ReBlLrl+Agd95HnOLM/3Izz+EEhwFVl mFmcXmqaPUv3+w9/g9ET/5aGnD9xM2cmRbMRqUChmheLSNuPhTPr5YIAqNxxRu9CWiZN dfMnbIpQTQoj+CoMpKroMip5Sdm2a/6mAJNE7AB37IA6NaXJwppo7U4mDvR6NtMByiV5 rjEQsTfi1AJhtSaoAEvJXGCKakinY8mDmvyGNLzaglPcj8i1UuV++fshqyjHHoewEr7z jVOp2olaNapBnTL7ZsjAJqsQj49sJ39Z29f4cMT3wXycean7RmcgJcyIzpShijRjeh5L F57w== 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=oiuj65vvqWxd5J8KpqdjSZj2Ec0OwKHX7Up/DR828FM=; b=CkiALPn0QGb6fl+hnRrRcJAQ5tzfgzboMr4tV3iiM0R53DB06WUgAv61B9Cb/+t+C5 mTDdm7q4NoW4VB5yCKqpmIHuDsn5GN6NHiObxtOHB63ALHO+bfYbB6ofFR4XAKBWvy6k FCSCs4NuTyWcrquSQB3HBq/oXaobI9DsLz7Jh3O9YWj0uPAzG4hT5pcQAi5Oc7sW6iye zDhOCtvDb1vlcGLeUyxHWXUe8oViClKb2ed8zr6kGQIK3YqNc0hbaY1t+G+ZNsNxMOyu q/TSKUBpb0tYcLrr/nk8AsnvUKfVpmMTh7pRa2wWPmpHS/DjbVr/EfRw9VR9f2PiQ28J FN+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si8406114plg.183.2021.10.12.17.09.45; Tue, 12 Oct 2021 17:09:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237158AbhJMAJG (ORCPT + 99 others); Tue, 12 Oct 2021 20:09:06 -0400 Received: from inva021.nxp.com ([92.121.34.21]:33290 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236338AbhJMAI2 (ORCPT ); Tue, 12 Oct 2021 20:08:28 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D52AF202E4A; Wed, 13 Oct 2021 02:06:25 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 93D39202E43; Wed, 13 Oct 2021 02:06:25 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.142]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 1BC3C40BD3; Tue, 12 Oct 2021 17:06:25 -0700 (MST) From: Li Yang To: Shawn Guo , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Li Yang Subject: [PATCH v3 16/17] ARM: dts: ls1021a: move thermal-zones node out of soc/ Date: Tue, 12 Oct 2021 18:58:22 -0500 Message-Id: <20211012235824.31096-17-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20211012235824.31096-1-leoyang.li@nxp.com> References: <20211012235824.31096-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes dtbs-check error from simple-bus schema: soc: thermal-zones: {'type': 'object'} is not allowed for {'cpu-thermal': ..... } From schema: /home/leo/.local/lib/python3.8/site-packages/dtschema/schemas/simple-bus.yaml Signed-off-by: Li Yang --- arch/arm/boot/dts/ls1021a.dtsi | 66 +++++++++++++++++----------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index cc7445e47641..2e69d6eab4d1 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -287,39 +287,6 @@ tmu: tmu@1f00000 { #thermal-sensor-cells = <1>; }; - thermal-zones { - cpu_thermal: cpu-thermal { - polling-delay-passive = <1000>; - polling-delay = <5000>; - - thermal-sensors = <&tmu 0>; - - trips { - cpu_alert: cpu-alert { - temperature = <85000>; - hysteresis = <2000>; - type = "passive"; - }; - cpu_crit: cpu-crit { - temperature = <95000>; - hysteresis = <2000>; - type = "critical"; - }; - }; - - cooling-maps { - map0 { - trip = <&cpu_alert>; - cooling-device = - <&cpu0 THERMAL_NO_LIMIT - THERMAL_NO_LIMIT>, - <&cpu1 THERMAL_NO_LIMIT - THERMAL_NO_LIMIT>; - }; - }; - }; - }; - dspi0: spi@2100000 { compatible = "fsl,ls1021a-v1.0-dspi"; #address-cells = <1>; @@ -973,4 +940,37 @@ ftm_alarm0: timer0@29d0000 { big-endian; }; }; + + thermal-zones { + cpu_thermal: cpu-thermal { + polling-delay-passive = <1000>; + polling-delay = <5000>; + + thermal-sensors = <&tmu 0>; + + trips { + cpu_alert: cpu-alert { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + cpu_crit: cpu-crit { + temperature = <95000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + cooling-maps { + map0 { + trip = <&cpu_alert>; + cooling-device = + <&cpu0 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>, + <&cpu1 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + }; + }; + }; }; -- 2.25.1