Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp630103imm; Wed, 23 May 2018 02:59:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo5ZPWcJSVt5Mew+6HKqzkztw/yQ+ZPYIWG7FGUel9Fudctgn3ZFeRDxhXTy87ZmVHKYAR9 X-Received: by 2002:a65:4204:: with SMTP id c4-v6mr1759314pgq.26.1527069568821; Wed, 23 May 2018 02:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527069568; cv=none; d=google.com; s=arc-20160816; b=hDsptgIkVl5m3Z6FoKq6lxe/f0Ck6iv0CeX8nFfynyUhfDZqWnkLtNVh8bMrhbJ2lQ LL2A/Lk4ivxtJFGR2Icpy+nQtD4eLmvNKTRuxO/9o8L5SOqoGznILhoe9AXCYjrb3JEq 31WvyvDmf8upNqfwXoYO6LTSNuzVJAjnJJxurl2O6POQ54LbJ2Bkwg0ENHKmjvkZiwUH CHAqc3LiRm5C31CTL7404I4n4+90jZB+zYmLGAIrdV7UP/phgIHvZsPzq72MOIa4L7nZ CblXZ6xc5PT9nGoQAD2lZSMecIO0jQr2t3LjOc7kQHEaWuEH1pn/EHz1V5bP3kyQeXSv 87NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=6uz6I+2OMFinYh58pGCq2Pr1zNHmbznscnMOrkHSCcU=; b=URqySRcsjpPSToptuhCGro7mFKZvpmLhArayLyDzaWBghFZBCER5SqwEmpchXVr7mj LuLuDvOBz8w25+FuPj/54C89FyhKE50kWZWLHu9nAiliVz+VGvoVKckJc5NXXk3wCTEV +Y3leMHxeCTe3TdAA65XjpR0NVSCeVM9TpLrh7iMIvxB8PahcGaL5NLn11x7+wKvL1y6 8izrEPg766FEPDi+ZczaMTgESvoGvJ8r+RCciUb9Zqb1iny+ZZjkmMFIIEqJhPgZljiU ign99LWP/PNSzqCbOysF7cPSMjw6cD/KIU2Pdu/pQ5DhULPncGpb27FGO5PzKjMtyGTu axFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dJGIppA9; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z80-v6si18612559pfi.7.2018.05.23.02.59.14; Wed, 23 May 2018 02:59:28 -0700 (PDT) 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=@kernel.org header.s=default header.b=dJGIppA9; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932409AbeEWJ5F (ORCPT + 99 others); Wed, 23 May 2018 05:57:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:33848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217AbeEWJ46 (ORCPT ); Wed, 23 May 2018 05:56:58 -0400 Received: from PC-kkoz.proceq.com (unknown [213.160.61.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93C572075C; Wed, 23 May 2018 09:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527069417; bh=0MzB1XlekAoN6XyiobdG/wDUe8U73VpHfvwlArbUnrc=; h=From:To:Cc:Subject:Date:From; b=dJGIppA9Wd2GDgQczTcop73mJmpMOC2LVKjumqft1zvhP7Cuj8VFjyRZUp8zOLyBZ Hlbg1U4LxqSc047+nurfsGrJEC38QLGsVZPf9nFmCeRNCqgI2oetC/gWJEJ3gVbcdV POQhIfV5xcB7YVWJNd/aSA+Bz/R+yeqvzy+JEQ5s= From: Krzysztof Kozlowski To: Rob Herring , Mark Rutland , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Stefan Agner , Lucas Stach , Krzysztof Kozlowski Subject: [PATCH v6 1/4] ARM: dts: tegra: Remove usage of deprecated skeleton.dtsi Date: Wed, 23 May 2018 11:56:43 +0200 Message-Id: <1527069406-6359-1-git-send-email-krzk@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the usage of skeleton.dtsi because it was deprecated since commit 9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as deprecated"). It also allows later to fix DTC warnings for missing unit name in /memory nodes. The /chosen and /aliases nodes are added only when dependent DTSes do not define them. Compiled DTB is the same as before this commit. Signed-off-by: Krzysztof Kozlowski --- Changes since v5: 1. New patch, split with skeleton.dtsi removal (suggested by Stefan). --- arch/arm/boot/dts/tegra114.dtsi | 8 ++++++-- arch/arm/boot/dts/tegra124.dtsi | 6 ++++-- arch/arm/boot/dts/tegra20.dtsi | 11 +++++++++-- arch/arm/boot/dts/tegra30-apalis.dtsi | 4 ++++ arch/arm/boot/dts/tegra30.dtsi | 11 +++++++++-- 5 files changed, 32 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 0e4a13295d8a..27ef515e5640 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -5,11 +5,15 @@ #include #include -#include "skeleton.dtsi" - / { compatible = "nvidia,tegra114"; interrupt-parent = <&lic>; + #address-cells = <1>; + #size-cells = <1>; + + memory { + device_type = "memory"; + }; host1x@50000000 { compatible = "nvidia,tegra114-host1x", "simple-bus"; diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 174092bfac90..951feea784af 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -7,14 +7,16 @@ #include #include -#include "skeleton.dtsi" - / { compatible = "nvidia,tegra124"; interrupt-parent = <&lic>; #address-cells = <2>; #size-cells = <2>; + memory { + device_type = "memory"; + }; + pcie@1003000 { compatible = "nvidia,tegra124-pcie"; device_type = "pci"; diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 0a7136462a1a..88dd1afb5877 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -4,11 +4,18 @@ #include #include -#include "skeleton.dtsi" - / { compatible = "nvidia,tegra20"; interrupt-parent = <&lic>; + #address-cells = <1>; + #size-cells = <1>; + + chosen { }; + aliases { }; + + memory { + device_type = "memory"; + }; iram@40000000 { compatible = "mmio-sram"; diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi b/arch/arm/boot/dts/tegra30-apalis.dtsi index d1d21ec2a844..6f29cbad6e8a 100644 --- a/arch/arm/boot/dts/tegra30-apalis.dtsi +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi @@ -10,6 +10,10 @@ model = "Toradex Apalis T30"; compatible = "toradex,apalis_t30", "nvidia,tegra30"; + memory { + reg = <0 0>; + }; + pcie@3000 { avdd-pexa-supply = <&vdd2_reg>; vdd-pexa-supply = <&vdd2_reg>; diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index a110cf84d85f..19237c08c166 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi @@ -5,11 +5,18 @@ #include #include -#include "skeleton.dtsi" - / { compatible = "nvidia,tegra30"; interrupt-parent = <&lic>; + #address-cells = <1>; + #size-cells = <1>; + + chosen { }; + aliases { }; + + memory { + device_type = "memory"; + }; pcie@3000 { compatible = "nvidia,tegra30-pcie"; -- 2.7.4