From: Tomasz Figa <t.figa@samsung.com>
To: linux-samsung-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org, Kukjin Kim <kgene.kim@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jslaby@suse.cz>, Daniel Drake <drake@endlessm.com>,
Tomasz Figa <tomasz.figa@gmail.com>,
Tomasz Figa <t.figa@samsung.com>
Subject: [PATCH 0/3] Deterministic UART numbering on Samsung SoCs
Date: Thu, 26 Jun 2014 13:24:32 +0200 [thread overview]
Message-ID: <1403781875-5425-1-git-send-email-t.figa@samsung.com> (raw)
Current Samsung UART driver relies on probe order of particular
samsung-uart instances, which makes it impossible to get proper
initialization of ports when not all ports are available on board,
not even saying of deterministic device naming.
This series intends to fix this situation by adding support to parse
aliases from device tree and use them to assign instance IDs to
particular port instances.
Tested on Exynos4412-based Trats2 board:
1) without patch 3/3 adding aliases,
2) with patch 3/3 with all UART ports enabled,
3) with patch 3/3 with selected UART ports disabled.
Tomasz Figa (3):
Documentation: devicetree: Update samsung UART bindings
serial: samsung: Consider DT alias when probing ports
ARM: dts: SAMSUNG: Add aliases of UART nodes
.../devicetree/bindings/serial/samsung_uart.txt | 52 +++++++++++++++++++---
arch/arm/boot/dts/exynos3250.dtsi | 2 +
arch/arm/boot/dts/exynos4.dtsi | 12 +++--
arch/arm/boot/dts/exynos5.dtsi | 15 +++++--
arch/arm/boot/dts/exynos5260.dtsi | 4 ++
arch/arm/boot/dts/exynos5410.dtsi | 6 +++
arch/arm/boot/dts/exynos5440.dtsi | 6 ++-
arch/arm/boot/dts/s3c2416.dtsi | 6 ++-
arch/arm/boot/dts/s3c24xx.dtsi | 9 ++--
arch/arm/boot/dts/s3c64xx.dtsi | 4 ++
drivers/tty/serial/samsung.c | 13 ++++--
11 files changed, 106 insertions(+), 23 deletions(-)
--
1.9.3
next reply other threads:[~2014-06-26 11:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 11:24 Tomasz Figa [this message]
2014-06-26 11:24 ` [PATCH 1/3] Documentation: devicetree: Update samsung UART bindings Tomasz Figa
2014-06-26 11:24 ` [PATCH 2/3] serial: samsung: Consider DT alias when probing ports Tomasz Figa
2014-06-26 11:24 ` [PATCH 3/3] ARM: dts: SAMSUNG: Add aliases of UART nodes Tomasz Figa
2014-06-26 11:39 ` [PATCH 0/3] Deterministic UART numbering on Samsung SoCs Russell King - ARM Linux
2014-06-26 12:02 ` Tomasz Figa
2014-07-08 8:32 ` Daniel Drake
2014-07-08 8:40 ` Tomasz Figa
2014-07-09 13:23 ` One Thousand Gnomes
2014-07-23 6:30 ` Daniel Drake
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=1403781875-5425-1-git-send-email-t.figa@samsung.com \
--to=t.figa@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=drake@endlessm.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=m.szyprowski@samsung.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=tomasz.figa@gmail.com \
/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
all inboxes | Powered by JetHome®