u-boot/drivers/serial
Stephen Warren 135aa95002 clk: convert API to match reset/mailbox style
The following changes are made to the clock API:
* The concept of "clocks" and "peripheral clocks" are unified; each clock
  provider now implements a single set of clocks. This provides a simpler
  conceptual interface to clients, and better aligns with device tree
  clock bindings.
* Clocks are now identified with a single "struct clk", rather than
  requiring clients to store the clock provider device and clock identity
  values separately. For simple clock consumers, this isolates clients
  from internal details of the clock API.
* clk.h is split so it only contains the client/consumer API, whereas
  clk-uclass.h contains the provider API. This aligns with the recently
  added reset and mailbox APIs.
* clk_ops .of_xlate(), .request(), and .free() are added so providers
  can customize these operations if needed. This also aligns with the
  recently added reset and mailbox APIs.
* clk_disable() is added.
* All users of the current clock APIs are updated.
* Sandbox clock tests are updated to exercise clock lookup via DT, and
  clock enable/disable.
* rkclk_get_clk() is removed and replaced with standard APIs.

Buildman shows no clock-related errors for any board for which buildman
can download a toolchain.

test/py passes for sandbox (which invokes the dm clk test amongst
others).

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2016-06-19 17:05:55 -06:00
..
altera_jtag_uart.c altera_jtag_uart: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
altera_uart.c altera_uart: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
arm_dcc.c serial: dcc: Move driver to DM 2016-02-25 19:06:37 -05:00
atmel_usart.c serial: atmel_usart: Add device tree support 2016-06-12 23:49:38 +02:00
atmel_usart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig arm: add initial support for Amlogic Meson and ODROID-C2 2016-05-27 15:39:47 -04:00
lpc32xx_hsuart.c serial: lpc32xx hsuart: port driver to driver model 2016-01-13 21:05:22 -05:00
Makefile serial: Introduce linflex uart support 2016-06-13 08:56:02 -04:00
mcfuart.c m68k: add DM model serial driver 2016-05-17 09:54:43 -06:00
ns16550.c serial: 16550: Drop OMAP1510 support 2016-06-02 21:21:41 -04:00
sandbox.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
serial-uclass.c x86: Allow use of serial soon after relocation 2016-03-17 10:27:24 +08:00
serial.c Fix typo: firstly -> first. 2015-12-05 18:22:23 -05:00
serial_ar933x.c ar933x: serial: Remove the explicit pinctrl setting 2016-05-21 01:36:38 +02:00
serial_arc.c arc: get rid of running_on_hw 2016-04-11 10:20:30 -07:00
serial_bcm283x_mu.c serial: bcm283x_mu: make pending values more explicit 2016-04-18 17:11:47 -04:00
serial_bfin.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
serial_efi.c debug_uart: Adjust the declaration of debug_uart_init() 2015-10-21 07:46:50 -06:00
serial_linflexuart.c serial: Introduce linflex uart support 2016-06-13 08:56:02 -04:00
serial_lpuart.c dm: serial: Remove duplicated carriage return character 2016-03-14 15:34:50 -06:00
serial_meson.c arm: add initial support for Amlogic Meson and ODROID-C2 2016-05-27 15:39:47 -04:00
serial_msm.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
serial_mxc.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
serial_ns16550.c serial: Remove serial_putc_raw_dev 2016-01-25 10:39:45 -05:00
serial_pic32.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
serial_pl01x.c serial: pl01x: Add support for devices with the rate pre-configured. 2016-03-22 12:16:12 -04:00
serial_pl01x_internal.h dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pxa.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
serial_s3c24x0.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
serial_s5p.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
serial_sh.c serial: sh: Remove invalid UTF-8 character 2015-02-25 13:53:28 +09:00
serial_sh.h serial: serial-sh: SCIFA interface for R-Car Gen2 SoCs 2015-08-31 17:31:26 +09:00
serial_stm32.c serial: serial_stm32: move clock config from driver to board 2016-02-08 10:10:36 -05:00
serial_stm32x7.c stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
serial_stm32x7.h stm32x7: add support for stm32x7 serial driver 2016-02-24 18:43:54 -05:00
serial_uniphier.c serial: uniphier: use devm_get_addr() to get base address 2016-04-01 00:17:07 +09:00
serial_xuartlite.c serial: uartlite: Add support for debug console 2016-01-27 15:55:49 +01:00
serial_zynq.c serial: zynq: Change logic in putc 2016-02-22 16:21:04 +01:00
usbtty.c serial: Move carriage return before line feed for some serial drivers 2016-03-14 15:34:50 -06:00
usbtty.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00