From: Arnaud Ebalard <arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
To: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
Gregory Clement
<gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Sebastian Hesselbarth
<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Ben Peddell <klightspeed-aslSrjg9ejhWX4hkXwHRhw@public.gmane.org>
Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Ian Campbell
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCHv4 00/10] arm: mvebu: add Synology DS213j and DS414 .dts files
Date: Wed, 19 Nov 2014 00:01:26 +0100 [thread overview]
Message-ID: <cover.1416351425.git.arno@natisbad.org> (raw)
Hi,
This series adds .dts files for Synology DS213j (armada 370 2-bay NAS) and
DS414 (armada XP 4-bay NAS) devices. Most of the patches at the bottom of
the series result:
- from a v0 submission of DS213j .dts file [1]
- Andrew's comments on a v1 (for both DS213j and DS414 .dts files) [2]
- Andrew/Sebastian' comments on v2 regarding pinctrl factoring [3]
- Sebastian's feedback on changes included in Jason's branch for 3.19 [4]
Cheers,
a+
[1]: http://thread.gmane.org/gmane.linux.drivers.devicetree/95401
[2]: http://thread.gmane.org/gmane.linux.drivers.devicetree/98830
[3]: http://thread.gmane.org/gmane.linux.drivers.devicetree/98892
[4]: http://thread.gmane.org/gmane.linux.drivers.devicetree/99181
Changes since v3:
- As pointed by Sebastian, some of the changes included in v3 were
already sitting in Jason's mvebu/dt for 3.19. While rebasing the
series on mvebu/dt for 3.19, I made pinctrl node definition and
alias common to 370 and XP SoCs, and then completed for 370 what
had been started by Sebastian in 264a05e19bf5 ("ARM: mvebu:
armada-xp: Add node alias to pinctrl and add base address") and
01c434225ee6 ("ARM: mvebu: armada-xp: Use pinctrl node alias")
for XP.
- Removed the patch adding micron prefix; Rob pointed he already
had such a patch
Changes since v2:
- Added various patches to improve/refactor Armada 370/XP pinctrl
nodes/properties and use sensible defaults when possible.
- changed gpio-fan,speed-map to better match max rotation speed
(1900 RPM) for DS213j
Changes since v1:
- Added a patch to fix Seiko Instruments, Inc. prefix from "ssi" to
"sii" for s35390 RTC chip in kirkwood-synology.dtsi as reported by
Andrew
- Fixed DS414 and DS213j .dts files which had the same issue due to
a blind copy-and-paste.
- Added a patch for armada-xp-lenovo-ix4-300d.dts to use uart alias
for stdout-path, as suggested by Andrew.
- removed pinctrl properties for ethernet interface wrongly referencing
a RGMII pin configuration: the PHY is connected using SGMII.
- moved some DS213j pinctrl entries (spi0, uart0) in armada-370.dtsi
- same thing for DS414 pinctrl entries (ge0/1, spi0) moved to
armada-xp-mv78230.dtsi
- changed pinctrl nodes and labels to match naming convention found
in .dtsi: pmx_*: pmx- changed to *_pin: -pin.
- same thing for DS414
- added a comment in the .dts file about DS414 being susceptible at
boot when an USB/serial converter is connected to the UART pins.
Changes since v0:
- Added a comment at the beginning of DS213j and DS414j .dts file regarding
the need for a recent Marvell bootloader. Arnd suggested to do a specific
.dtb file for new and old bootloaders but I think if we follow this path
for DS414 and DS213j, we will probably have to do it for all Armada-based
synology NAS and possibly for other Armada 370/XP based devices. Opting
for recent bootloaders config and having a comment is easier. It is likely
that a user already has a recent bootloader. Otherwise, upgrade is a one
click process anyway. If a user thinks it is easier to have two different
.dts files in the kernel, she will still be able to push a patch.
- Added a comment in the .dts file about the bootloader screwing the kernel
if the environment is saved.
- Kept GPL licence for .dts file
- Fixed bad naming of node and alias (_ vs -)
- Added micron vendor prefix for n25q064 flash
- Disabled SoC RTC; a Seiko S-35390A is used as main RTC
- Added comments about the purpose of each serial port
- Added stdout-path = &uart0; to help barebox. A specific patch is included
in the series to provide labels for uart serial nodes
- Added patch for DS414 .dts file
Arnaud Ebalard (10):
arm: mvebu: fix vendor prefix typo in kirkwood-synology.dtsi
arm: mvebu: add uartX labels for Armada SoC serial nodes
arm: mvebu: use recently introduced uart label for stdout-path
arm: mvebu: move Armada 370/XP pinctrl node definition armada-370-xp.dtsi
arm: mvebu: define and use common Armada 370 SPI pinctrl settings
arm: mvebu: define and use common Armada 370 UART pinctrl settings
arm: mvebu: define and use common Armada XP UART2/3 pinctrl settings
arm: mvebu: define and use common Armada XP SPI pinctrl setting
arm: mvebu: add .dts file for Synology DS213j
arm: mvebu: add .dts file for Synology DS414
arch/arm/boot/dts/Makefile | 6 +-
arch/arm/boot/dts/armada-370-db.dts | 50 ++--
arch/arm/boot/dts/armada-370-mirabox.dts | 25 +-
arch/arm/boot/dts/armada-370-netgear-rn102.dts | 84 +++---
arch/arm/boot/dts/armada-370-netgear-rn104.dts | 64 ++---
arch/arm/boot/dts/armada-370-rd.dts | 24 +-
arch/arm/boot/dts/armada-370-synology-ds213j.dts | 321 ++++++++++++++++++++++
arch/arm/boot/dts/armada-370-xp.dtsi | 9 +-
arch/arm/boot/dts/armada-370.dtsi | 178 +++++++-----
arch/arm/boot/dts/armada-xp-axpwifiap.dts | 7 -
arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 2 +-
arch/arm/boot/dts/armada-xp-synology-ds414.dts | 330 +++++++++++++++++++++++
arch/arm/boot/dts/armada-xp.dtsi | 102 ++++---
arch/arm/boot/dts/kirkwood-synology.dtsi | 2 +-
14 files changed, 969 insertions(+), 235 deletions(-)
create mode 100644 arch/arm/boot/dts/armada-370-synology-ds213j.dts
create mode 100644 arch/arm/boot/dts/armada-xp-synology-ds414.dts
--
2.1.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2014-11-18 23:01 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 23:01 Arnaud Ebalard [this message]
[not found] ` <cover.1416351425.git.arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
2014-11-18 23:01 ` [PATCHv4 01/10] arm: mvebu: fix vendor prefix typo in kirkwood-synology.dtsi Arnaud Ebalard
[not found] ` <e1c3f3fbd9f494fa228de3ee5928c771d33b072e.1416351426.git.arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
2014-11-20 1:55 ` Jason Cooper
[not found] ` <20141120015519.GA22670-u4khhh1J0LxI1Ri9qeTfzeTW4wlIGRCZ@public.gmane.org>
2014-11-20 5:02 ` Andrew Lunn
[not found] ` <20141120050213.GB2596-g2DYL2Zd6BY@public.gmane.org>
2014-11-20 7:35 ` Arnd Bergmann
2014-11-20 8:28 ` Arnaud Ebalard
2014-11-21 20:24 ` Jason Cooper
2014-11-18 23:01 ` [PATCHv4 02/10] arm: mvebu: add uartX labels for Armada SoC serial nodes Arnaud Ebalard
[not found] ` <8c622c408d74d5e9fc36b7c00f9e8aeb3f290683.1416351426.git.arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
2014-11-19 12:16 ` Thomas Petazzoni
2014-11-18 23:01 ` [PATCHv4 03/10] arm: mvebu: use recently introduced uart label for stdout-path Arnaud Ebalard
[not found] ` <206fa4769a1e02f3e6b139160cd5dd9d25c90837.1416351426.git.arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
2014-11-19 12:16 ` Thomas Petazzoni
2014-11-18 23:02 ` [PATCHv4 04/10] arm: mvebu: move Armada 370/XP pinctrl node definition armada-370-xp.dtsi Arnaud Ebalard
[not found] ` <f4b15c942f543b0c0becd7c82bce07e9e0b603cf.1416351426.git.arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org>
2014-11-19 8:03 ` Uwe Kleine-König
[not found] ` <20141119080323.GS27002-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-11-19 8:35 ` Arnaud Ebalard
2014-11-18 23:02 ` [PATCHv4 05/10] arm: mvebu: define and use common Armada 370 SPI pinctrl settings Arnaud Ebalard
2014-11-18 23:02 ` [PATCHv4 06/10] arm: mvebu: define and use common Armada 370 UART " Arnaud Ebalard
2014-11-18 23:02 ` [PATCHv4 07/10] arm: mvebu: define and use common Armada XP UART2/3 " Arnaud Ebalard
2014-11-18 23:02 ` [PATCHv4 08/10] arm: mvebu: define and use common Armada XP SPI pinctrl setting Arnaud Ebalard
2014-11-18 23:02 ` [PATCHv4 09/10] arm: mvebu: add .dts file for Synology DS213j Arnaud Ebalard
2014-11-18 23:03 ` [PATCHv4 10/10] arm: mvebu: add .dts file for Synology DS414 Arnaud Ebalard
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=cover.1416351425.git.arno@natisbad.org \
--to=arno-lkuqdeemthbg9huczpvpmw@public.gmane.org \
--cc=andrew-g2DYL2Zd6BY@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org \
--cc=klightspeed-aslSrjg9ejhWX4hkXwHRhw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
--cc=sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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;
as well as URLs for NNTP newsgroup(s).