- 22 11月, 2015 8 次提交
-
-
由 Thomas Chou 提交于
Move CONFIG_SYS_NS16550 to Kconfig, and run moveconfig.py. Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
-
由 Thomas Chou 提交于
Zap CONFIG_NS16550_SERIAL, as the unification of ns16550 drivers is completed. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_omap, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_tegra, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_dw, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_keystone, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_rockchip, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Tested-by: NAriel D'Alessandro <ariel@vanguardiasur.com.ar> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Unify serial_ppc, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> [trini: Add TODO comment] Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 21 11月, 2015 4 次提交
-
-
由 Thomas Chou 提交于
Unify serial_x86, and use the generic binding. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific. The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock(). Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Change map_sysmem() to map_physmem(,,MAP_NOCACHE). Though map_sysmem() can be used to map system memory, it might be wrong to use it for I/O ports. The map_physmem() serves the same purpose to translate physical address to virtual address with the additional flag to take care of cache property. Most drivers use map_physmem() since I/O ports access should be uncached. As ns16550 is a driver, it should use map_physmem() rather than map_sysmem(). Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Since commit 220e8021 ("nios2: convert altera_jtag_uart to driver model"), the default debug uart was changed. Most people use ns16550 UART, so restore it as default. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reported-by: NEzequiel Garcia <ezequiel@vanguardiasur.com.ar> Reported-by: NAriel D'Alessandro <ariel@vanguardiasur.com.ar> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 18 11月, 2015 2 次提交
-
-
由 Thomas Chou 提交于
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Thomas Chou 提交于
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NMarek Vasut <marex@denx.de>
-
- 13 11月, 2015 1 次提交
-
-
由 Francois Retief 提交于
Signed-off-by: NFrancois Retief <fgretief@spaceteq.co.za>
-
- 06 11月, 2015 6 次提交
-
-
由 Thomas Chou 提交于
Follow commit 97b05973 ("debug_uart: Adjust the declaration of debug_uart_init()") Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NMarek Vasut <marex@denx.de> Reviewed-by: NChin Liang See <clsee@altera.com>
-
由 Thomas Chou 提交于
Follow commit 97b05973 ("debug_uart: Adjust the declaration of debug_uart_init()") Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NMarek Vasut <marex@denx.de> Reviewed-by: NChin Liang See <clsee@altera.com>
-
由 Thomas Chou 提交于
- Moved macro definitions to top - Re-arrange header includes ascending order - Remove unused header linux/compiler.h - Remove the penultimate comma in of_match ids Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NJagan Teki <jteki@openedev.com>
-
由 Thomas Chou 提交于
Replace numerical bit shift with BIT macro in altera_uart :%s/(1 << nr)/BIT(nr)/g where nr = 0, 1, 2 .... 31 Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NJagan Teki <jteki@openedev.com>
-
由 Thomas Chou 提交于
- Moved macro definitions to top - Give spaces around the '>>' in ALTERA_JTAG_WSPACE() - Re-arrange header includes ascending order - Remove unused header linux/compiler.h - Remove the penultimate comma in of_match ids Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NJagan Teki <jteki@openedev.com>
-
由 Thomas Chou 提交于
Replace numerical bit shift with BIT macro in altera_jtag_uart :%s/(1 << nr)/BIT(nr)/g where nr = 0, 1, 2 .... 31 Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NJagan Teki <jteki@openedev.com>
-
- 04 11月, 2015 4 次提交
-
-
由 Simon Glass 提交于
Update this driver to use driver model and change all users. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Simon Glass 提交于
Since we use device tree in SPL also, we can drop this code. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Simon Glass 提交于
Add support for the debug UART to assist with early debugging. Enable it for Zybo as an example. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Simon Glass 提交于
Sometimes stdout-path contains a UART alias along with speed, etc. For example: stdout-path = "serial0:115200n8"; Add support for decoding this. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 23 10月, 2015 6 次提交
-
-
由 Lokesh Vutla 提交于
Add driver model support for keystone serial driver. Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thomas Chou 提交于
Both altera_jtag_serial_initialize() and altera_serial_initialize() are no longer used after they are converted to driver model. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Acked-by: NSimon Glass <sjg@chromium.org> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Thomas Chou 提交于
Convert altera_uart to driver model. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Thomas Chou 提交于
Convert altera_jtag_uart to driver model. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Acked-by: NMarek Vasut <marex@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Mugunthan V N 提交于
Adding compatibles for am335x, am437x and dra7 platforms. Signed-off-by: NMugunthan V N <mugunthanvnm@ti.com> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
-
由 Mugunthan V N 提交于
In some platforms like am437x, serial node is not populated with clock-frequency node. So in that case have a default clock-clock frequency. Signed-off-by: NMugunthan V N <mugunthanvnm@ti.com> Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
-
- 21 10月, 2015 3 次提交
-
-
由 Simon Glass 提交于
It is useful to see a message from the debug UART early during boot so that you know things are working. Add an option to enable this. The message will be displayed as soon as debug_uart_init() is called. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
Some boards need to set things up before the debug UART can be used. On these boards a call to debug_uart_init() is insufficient. When this option is enabled, the function board_debug_uart_init() will be called when debug_uart_init() is called. You can put any code here that is needed to set up the UART ready for use, such as set pin multiplexing or enable clocks. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
由 Simon Glass 提交于
We want to be able to add other common code to this function. So change the driver's version to have an underscore before it, just like _debug_uart_putc(). Define debug_uart_init() to call this version. Update all drivers to this new method. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
-
- 04 10月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
It looks like this line was copy-pasted, but not modified. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 16 9月, 2015 1 次提交
-
-
由 Stefan Roese 提交于
This arch does not seem to be supported / used at all in the current U-Boot mainline source tree any more. So lets remove the core u8500 code and code that was only referenced by this platform. Please note that this patch also removes these config options: - CONFIG_PL011_SERIAL_RLCR - CONFIG_PL011_SERIAL_FLUSH_ON_INIT As they only seem to be referenced by u8500 based boards. Without any such board in the current code, these config option don't make sense any more. Lets remove them as well. If someone still wants to use this platform, then please send patches to re-enable support by adding at least one board that references this code. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: John Rigby <john.rigby@linaro.org> Cc: Simon Glass <sjg@chromium.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Tom Rini <trini@konsulko.com> Cc: Heiko Schocher <hs@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Reviewed-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 03 9月, 2015 1 次提交
-
-
由 Simon Glass 提交于
Add support for the Rockchip serial device using the ns16550 driver. This uses driver model and device tree for both SPL and U-Boot proper. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 02 9月, 2015 1 次提交
-
-
由 Masahiro Yamada 提交于
SANDBOX_SERIAL depends on SANDBOX, and SANDBOX selects DM. So, "SANDBOX_SERIAL depends on DM" is redundant. Likewise, UNIPHIER_SERIAL depends on ARCH_UNIPHIER, and ARCH_UNIPHIER selects DM_SERIAL. So, "UNIPHIER_SERIAL depends on DM_SERIAL" is redundant. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 31 8月, 2015 2 次提交
-
-
由 Simon Glass 提交于
This is a convenient way for a driver to get the hardware address of a device, when regmap or syscon are not being used. Change existing callers to use it as an example to others. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Vladimir Barinov 提交于
Add SCIFA console interface for R-Car Gen2 SoCs. SCIFA has different registers offsets and sizes then SCI. Hence it needs to put it's macro definitions separately. Signed-off-by: NVladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
-