Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3002478ybt; Mon, 29 Jun 2020 12:36:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzx1nglqTmHXVuoueyajj2+rB8GCVtXuF+LExvkifrgxd4PmFzy3OHFvlxEFtl13zwo8K1F X-Received: by 2002:aa7:d043:: with SMTP id n3mr20044441edo.102.1593459385870; Mon, 29 Jun 2020 12:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593459385; cv=none; d=google.com; s=arc-20160816; b=q1LbqeYRJKix1hzuHyRilunAqAwh5YaQeqpfhcyBIAq0EXGfc9rLFEiZ5MqPPRWRPA bLIKAtR9gh5frS6uZoOtNLPkpWX5PphUSlR3T+m3cD1vAtp86KtXzMI8IBNMqPBkoArL jH9f7xYgPpyxCfucz/FwhmHWjp2qLiSEUZ0bmlaN4Ttjga4+pLaSMQPV+RMDTFoiGnPz 5Z2izVDv24JqQDlKtL6VaBzW9K8ws4RIPkUyhuLftpvhuuQSx4jXJ5wKeFWpBp0ZDqv6 pLE8ucuZejP5/M4eV5LNcemc5N837sUCfjGRoT3xPRUx8y4iY0X2vOBpUKdKFr7tqMbs YQxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=wtyeZW3PE/mZqRq0h+yGx4MuPAewnSTVwBqIvzrL1RU=; b=iXZrxd7pGiLAqxY1m8GuZ9HRWXrhVWz4wEwNEkHiHC2PDmX9LjSVfD17xy0dZko0KF 7kKjyE6/CMvhXMXj8ydWNXt3ZreQVxLxqcVdD7cVN8wFZKfRA9vbjj9Yw22zQWjqa09I MnzvWttBhIcT0n644A4Sr3tkJLdroc4z1096BKTldo1xB1y/orHl9voyA7dPqY00SoaQ Ci/hwKWoSn2WcLkI+MQepyWcykXcXmCPp2Cpi+a0p0d/P3fNjN19ABdIlHwwdw8qarq/ j4v11kgJFgov5ucUmuEgHEs2CYM2+2B72gA3WQV4sngCsYipY0cJmgVa7fI/mecwYuwi IP4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bkUr7orA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si257393edv.573.2020.06.29.12.36.02; Mon, 29 Jun 2020 12:36:25 -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; dkim=pass header.i=@kernel.org header.s=default header.b=bkUr7orA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733277AbgF2Td7 (ORCPT + 99 others); Mon, 29 Jun 2020 15:33:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:42900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733202AbgF2Tdy (ORCPT ); Mon, 29 Jun 2020 15:33:54 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 112F9206F1; Mon, 29 Jun 2020 19:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593459233; bh=0/qT+6hY+eTg55XNf7QvFEvr0fFMkg9fWPy0NAfij6w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bkUr7orAJ1o4l//CB8whx7CubQPPH4BgwQS3R9ACPKCJwbdq3ocQdTHDPOcloY7Cg 1LQR7Bk6nGr8ihrALZ8QDTWucoEb2Fv4gKn6RO03P3Ok6CJv6g17PHhrD0roeB2la3 YjLNWc7JyVfPatR9YfqQVX0X/Hqcr13w5ixgn2D8= From: Krzysztof Kozlowski To: Rob Herring , Kukjin Kim , Krzysztof Kozlowski , Marek Szyprowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , Sylwester Nawrocki , Chanwoo Choi , Pankaj Dubey Subject: [RFT 3/3] arm64: dts: exynos: Add unit address to soc node and move thermal zones on Exynos7 Date: Mon, 29 Jun 2020 21:33:38 +0200 Message-Id: <20200629193338.29540-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629193338.29540-1-krzk@kernel.org> References: <20200629193338.29540-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add @0 unit address to 'soc' node match its 'reg' property and move the thermal zones out of 'soc' to main root as it this is usually not a property of a Soc. This silences DTC warnings: Warning (unit_address_vs_reg): /soc: node has a reg or ranges property, but no unit name Warning (simple_bus_reg): /soc/thermal-zones: missing or empty reg/ranges property Signed-off-by: Krzysztof Kozlowski --- Not tested on HW. --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 300ad7326ea8..f590891efe25 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -83,7 +83,7 @@ method = "smc"; }; - soc: soc { + soc: soc@0 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; @@ -597,15 +597,6 @@ #thermal-sensor-cells = <0>; }; - thermal-zones { - atlas_thermal: cluster0-thermal { - polling-delay-passive = <0>; /* milliseconds */ - polling-delay = <0>; /* milliseconds */ - thermal-sensors = <&tmuctrl_0>; - #include "exynos7-trip-points.dtsi" - }; - }; - ufs: ufs@15570000 { compatible = "samsung,exynos7-ufs"; reg = <0x15570000 0x100>, /* 0: HCI standard */ @@ -675,6 +666,15 @@ }; }; + thermal-zones { + atlas_thermal: cluster0-thermal { + polling-delay-passive = <0>; /* milliseconds */ + polling-delay = <0>; /* milliseconds */ + thermal-sensors = <&tmuctrl_0>; + #include "exynos7-trip-points.dtsi" + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts =