devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Deterministic UART numbering on Samsung SoCs
@ 2014-06-26 11:24 Tomasz Figa
  2014-06-26 11:24 ` [PATCH 1/3] Documentation: devicetree: Update samsung UART bindings Tomasz Figa
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Tomasz Figa @ 2014-06-26 11:24 UTC (permalink / raw)
  To: linux-samsung-soc
  Cc: linux-arm-kernel, linux-kernel, linux-serial, devicetree,
	Kukjin Kim, Marek Szyprowski, Rob Herring, Mark Rutland,
	Russell King - ARM Linux, Greg Kroah-Hartman, Jiri Slaby,
	Daniel Drake, Tomasz Figa, Tomasz Figa

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-07-23  6:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-26 11:24 [PATCH 0/3] Deterministic UART numbering on Samsung SoCs Tomasz Figa
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
     [not found]         ` <20140709142333.503a9e39-mUKnrFFms3BCCTY1wZZT65JpZx93mCW/@public.gmane.org>
2014-07-23  6:30           ` Daniel Drake

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).