Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588070

[PATCH 6/6] ARM: dts: socfpga: Do not include skeleton.dtsi

From Florian Vaussard <florian.vaussard@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 6/6] ARM: dts: socfpga: Do not include skeleton.dtsi
Date 2017-02-25 07:00 +0100
Message-ID <teDyG-3fH-11@gated-at.bofh.it> (permalink)
References <teDyF-3fH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The skeleton.dtsi file is now deprecated as noted in commit 9c0da3cc61f1
("ARM: dts: explicitly mark skeleton.dtsi as deprecated"). The SoCFPGA
device trees already contain the nodes that are defined in skeleton.dtsi
(#address-cells, #size-cells, chosen, aliases, memory).

Including skeleton.dtsi is useless and will produce the following
warning when compiled with W=1:

Node /memory has a reg or ranges property, but no unit name

Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
---
 arch/arm/boot/dts/socfpga.dtsi         | 1 -
 arch/arm/boot/dts/socfpga_arria10.dtsi | 1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 25a68af..774c239 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -15,7 +15,6 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "skeleton.dtsi"
 #include <dt-bindings/reset/altr,rst-mgr.h>
 
 / {
diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
index 4e1f653..bead79e 100644
--- a/arch/arm/boot/dts/socfpga_arria10.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
@@ -14,7 +14,6 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "skeleton.dtsi"
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/reset/altr,rst-mgr-a10.h>
 
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] ARM: dts: socfpga: Fix dtc warnings Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 5/6] ARM: dts: socfpga: Remove unit name for LEDs in EBV SOCrates Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 4/6] ARM: dts: socfpga: Remove unneeded reg from stmpe_touchscreen Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 3/6] ARM: dts: socfpga: Remove unneeded unit names Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 2/6] ARM: dts: socfpga: Add unit name to memory nodes Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 6/6] ARM: dts: socfpga: Do not include skeleton.dtsi Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  [PATCH 1/6] ARM: dts: socfpga: Add unit name to clock nodes Florian Vaussard <florian.vaussard@gmail.com> - 2017-02-25 07:00 +0100
  Re: [PATCH 0/6] ARM: dts: socfpga: Fix dtc warnings Dinh Nguyen <dinguyen@kernel.org> - 2017-02-27 17:50 +0100
    Re: [PATCH 0/6] ARM: dts: socfpga: Fix dtc warnings Florian Vaussard <florian.vaussard@heig-vd.ch> - 2017-02-28 12:30 +0100

csiph-web