[PATCH 0/3] Deterministic UART numbering on Samsung SoCs
From: Tomasz Figa
Date: Thu Jun 26 2014 - 07:26:10 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/