From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH] Add Linux dts files and use them
Date: Mon, 28 Apr 2014 09:45:50 +0200 [thread overview]
Message-ID: <1398671161-29045-1-git-send-email-s.hauer@pengutronix.de> (raw)
This series adds the Linux dts files to barebox and starts the
conversion to actually use them.
Background for doing this is that we currently duplicate the dts
files from the Kernel to barebox and keeping the files in sync with
the Kernel is a pain.
The files are merged from Ian Campbells device-tree-rebasing repository
at:
git://xenbits.xen.org/people/ianc/device-tree-rebasing.git
This repository contains all devicetrees from the kernel along with the
dt-bindings header files. This repository contains the complete history
to all Linux dts changes. I decided to drop the history since adding it
would hide the barebox history under a huge pile of kernel commits.
All dts files are under dts/ in the barebox repository. These will
always be kept in their original state, no changes are allowed here.
Instead, the devicetrees barebox uses are still under arch/$ARCH/dts and
include the Kernel dts files. My hope is that the overlay/include
mechanisms are capable of handling this.
With this series most SoC dtsi files are used from their upstream
versions. The board files are not yet changed, that must be done step by
step in the next releases.
I hope the conversion does not cause too many regressions, but I think
we have to make this conversion anyway as every new day we wait creates
more pain in the future.
I'm not sending the patch adding the dts files to barebox to the list as
it's over 8MB in size. Check the patch directly in the branch below instead.
Sascha
----------------------------8<----------------------------
The following changes since commit 00ce25c6dcdae5582ae4be37147ab33678adc995:
Add devicetree source files as of Linux-3.15-rc2 (2014-04-28 09:08:46 +0200)
are available in the git repository at:
git://git.pengutronix.de/git/barebox.git dts
for you to fetch changes up to 09015ae52c18424cd2928b1ab91b6c5b4e54aa0d:
ARM: dove: Use upstream dtsi file (2014-04-28 09:08:48 +0200)
----------------------------------------------------------------
Sascha Hauer (11):
serial: ns16550: omap: set register shift from code
dts: Use dt-bindings from kernel
dts: i.MX51 efika sb: Roll back pingroup changes
ARM: dts: i.MX51: Use upstream dts files
ARM: i.MX6: Use upstream dtsi files
ARM: i.MX53: Use upstream dtsi files
ARM: i.MX25: Use upstream dtsi file
ARM: i.MX27: Use upstream dtsi file
ARM: AM33xx: Use upstream dtsi file
ARM: Tegra20: Use upstream dtsi files
ARM: dove: Use upstream dtsi file
Makefile | 2 +-
arch/arm/dts/am33xx.dtsi | 789 +------------
arch/arm/dts/dove.dtsi | 627 +----------
arch/arm/dts/imx25.dtsi | 535 +--------
arch/arm/dts/imx27.dtsi | 553 +--------
arch/arm/dts/imx51-babbage.dts | 392 +------
arch/arm/dts/imx51-genesi-efika-sb.dts | 131 ++-
arch/arm/dts/imx51-pinfunc.h | 773 -------------
arch/arm/dts/imx51-pingrp.h | 249 ----
arch/arm/dts/imx51.dtsi | 551 ---------
arch/arm/dts/imx53-mba53.dts | 220 +---
arch/arm/dts/imx53-pinfunc.h | 1189 --------------------
arch/arm/dts/imx53-qsb-common.dtsi | 200 ----
arch/arm/dts/imx53-qsb.dts | 104 +-
arch/arm/dts/imx53-qsrb.dts | 145 +--
arch/arm/dts/imx53-tqma53.dtsi | 170 +--
arch/arm/dts/imx53-voipac-bsb.dts | 125 +-
arch/arm/dts/imx53-voipac-dmm-668.dtsi | 204 ----
arch/arm/dts/imx53.dtsi | 1117 +-----------------
arch/arm/dts/imx6dl-pinfunc.h | 1091 ------------------
arch/arm/dts/imx6dl.dtsi | 112 +-
arch/arm/dts/imx6q-pinfunc.h | 1047 -----------------
arch/arm/dts/imx6q.dtsi | 174 +--
arch/arm/dts/imx6qdl.dtsi | 951 +---------------
arch/arm/dts/include/dt-bindings | 1 -
arch/arm/dts/tegra20-colibri-iris.dts | 2 +-
arch/arm/dts/tegra20-colibri.dtsi | 525 +--------
arch/arm/dts/tegra20-paz00.dts | 540 +--------
arch/arm/dts/tegra20.dtsi | 650 +----------
drivers/serial/serial_ns16550.c | 4 +
include/dt-bindings/clock/ar933x-clk.h | 22 -
include/dt-bindings/clock/imx5-clock.h | 203 ----
include/dt-bindings/clock/tegra20-car.h | 158 ---
include/dt-bindings/gpio/gpio.h | 15 -
include/dt-bindings/gpio/tegra-gpio.h | 50 -
include/dt-bindings/input/input.h | 525 ---------
include/dt-bindings/interrupt-controller/arm-gic.h | 22 -
include/dt-bindings/interrupt-controller/irq.h | 19 -
include/dt-bindings/pinctrl/am33xx.h | 42 -
include/dt-bindings/pinctrl/omap.h | 53 -
scripts/Makefile.lib | 5 +-
41 files changed, 148 insertions(+), 14139 deletions(-)
delete mode 100644 arch/arm/dts/imx51-pinfunc.h
delete mode 100644 arch/arm/dts/imx51-pingrp.h
delete mode 100644 arch/arm/dts/imx51.dtsi
delete mode 100644 arch/arm/dts/imx53-pinfunc.h
delete mode 100644 arch/arm/dts/imx53-voipac-dmm-668.dtsi
delete mode 100644 arch/arm/dts/imx6dl-pinfunc.h
delete mode 100644 arch/arm/dts/imx6q-pinfunc.h
delete mode 120000 arch/arm/dts/include/dt-bindings
delete mode 100644 include/dt-bindings/clock/ar933x-clk.h
delete mode 100644 include/dt-bindings/clock/imx5-clock.h
delete mode 100644 include/dt-bindings/clock/tegra20-car.h
delete mode 100644 include/dt-bindings/gpio/gpio.h
delete mode 100644 include/dt-bindings/gpio/tegra-gpio.h
delete mode 100644 include/dt-bindings/input/input.h
delete mode 100644 include/dt-bindings/interrupt-controller/arm-gic.h
delete mode 100644 include/dt-bindings/interrupt-controller/irq.h
delete mode 100644 include/dt-bindings/pinctrl/am33xx.h
delete mode 100644 include/dt-bindings/pinctrl/omap.h
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2014-04-28 7:46 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 7:45 Sascha Hauer [this message]
2014-04-28 7:45 ` [PATCH 02/12] serial: ns16550: omap: set register shift from code Sascha Hauer
2014-04-28 7:45 ` [PATCH 03/12] dts: Use dt-bindings from kernel Sascha Hauer
2014-04-28 14:22 ` Antony Pavlov
2014-04-28 18:33 ` Sascha Hauer
2014-04-30 5:49 ` [PATCH] make: dts: fix out-of-tree build Silvio Fricke
2014-05-05 7:38 ` Sascha Hauer
2014-04-28 7:45 ` [PATCH 04/12] dts: i.MX51 efika sb: Roll back pingroup changes Sascha Hauer
2014-04-28 7:45 ` [PATCH 05/12] ARM: dts: i.MX51: Use upstream dts files Sascha Hauer
2014-04-28 7:45 ` [PATCH 06/12] ARM: i.MX6: Use upstream dtsi files Sascha Hauer
2014-04-28 7:45 ` [PATCH 07/12] ARM: i.MX53: " Sascha Hauer
2014-04-28 7:45 ` [PATCH 08/12] ARM: i.MX25: Use upstream dtsi file Sascha Hauer
2014-04-28 7:45 ` [PATCH 09/12] ARM: i.MX27: " Sascha Hauer
2014-04-28 7:45 ` [PATCH 10/12] ARM: AM33xx: " Sascha Hauer
2014-04-28 7:46 ` [PATCH 11/12] ARM: Tegra20: Use upstream dtsi files Sascha Hauer
2014-04-28 7:46 ` [PATCH 12/12] ARM: dove: Use upstream dtsi file Sascha Hauer
2014-04-28 17:36 ` [PATCH] fixup! " Sebastian Hesselbarth
2014-04-28 18:40 ` Sascha Hauer
2014-05-05 8:20 ` [PATCH] Add Linux dts files and use them Sascha Hauer
2014-05-05 15:57 ` Alexander Shiyan
2014-05-05 17:48 ` Sascha Hauer
2014-05-05 18:01 ` Alexander Shiyan
2014-05-08 7:39 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1398671161-29045-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox