summaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/serial
AgeCommit message (Collapse)Author
2024-04-23serial: msm: calculate bit clock dividerCaleb Connolly
The driver currently requires the bit clock divider be hardcoded in devicetree (or use the hardcoded default from apq8016). The bit clock divider is used to derive the baud rate from the core clock: baudrate = clk_rate / csr_div clk_rate is the actual programmed core clock rate which is returned by clk_set_rate(), and this UART driver only supports a baudrate of 115200. We can therefore determine the appropriate value for UARTDM_CSR by iterating over the possible values and finding the one where the equation above holds true for a baudrate of 115200. Implement this logic and drop the non-standard DT bindings for this driver. Tested on dragonboard410c. Tested-by: Robert Marko <[email protected]> Signed-off-by: Caleb Connolly <[email protected]>
2023-05-02serial: msm-geni: Use upstream Linux bindingsKonrad Dybcio
The name "se" is used in upstream Linux device trees and has been for ages, long before this U-Boot-ism was introduced. Same goes for the existing compatible. Get rid of that. [vzapolskiy: removed a ready change in the driver] Signed-off-by: Konrad Dybcio <[email protected]> Signed-off-by: Vladimir Zapolskiy <[email protected]>
2023-04-07serial: sh: Add HSCIF support for R-Car SoCHai Pham
Provide the basic HSCIF support for R-Car SoC. Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Hai Pham <[email protected]> Signed-off-by: Marek Vasut <[email protected]> [Marek: Fill in HSSRR offset for Gen2 and SCBRR calculation for Gen2 and Gen3] Reviewed-by: Simon Glass <[email protected]>
2021-10-31serial: qcom: add support for GENI serial driverDzmitry Sankouski
Generic Interface (GENI) Serial Engine (SE) based uart can be found on newer qualcomm SOCs, starting from SDM845. Tested on Samsung SM-G9600(starqltechn) by chain-loading u-boot with stock bootloader. Signed-off-by: Dzmitry Sankouski <[email protected]> Cc: Ramon Fried <[email protected]> Cc: Tom Rini <[email protected]>
2020-07-29msm_serial: Read bit rate register value from DTRobert Marko
IPQ40xx and currently supported Snapdragon boards don't use the same one so enable reading it from DT, if no DT property is found default value is the same as the previous define. Signed-off-by: Robert Marko <[email protected]> Reviewed-By: Ramon Fried <[email protected]>
2019-05-23m68k: add basic set of devicetreesAngelo Dureghello
This patch adds a basic group of devicetrees, one for each cpu family, including actually just uart and dspi devices, since these are the drivers supporting devicetree (support added in this patch-set). Acked-by: Jagan Teki <[email protected]> Signed-off-by: Angelo Dureghello <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
2016-11-28serial: pl01x: expose skip_init platdata option in DTFabian Vogt
To be able to represent the skip-init platdata element with OF_CONTROL, it needs to be read from the device tree as well and put into the platform data. Cc: Eric Anholt <[email protected]> Signed-off-by: Fabian Vogt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2016-11-28serial: bcm283x_mu: add device tree supportFabian Vogt
This patch adds device tree support for the bcm283x mini-uart driver. Signed-off-by: Fabian Vogt <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2016-10-07dm: imx: serial: support device treeStefan Agner
Support instatiation through device tree. Also parse the fsl,dte-mode property to determine whether DTE mode shall be used. Signed-off-by: Stefan Agner <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2016-07-09serial_sh: Add standrad SCI (w/o FIFO) supportYoshinori Sato
Add support for standard type SCI (without FIFO) port. Signed-off-by: Yoshinori Sato <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2016-07-09serial_sh: Device Tree supportYoshinori Sato
Add Device Tree bindings. Signed-off-by: Yoshinori Sato <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2016-05-21drivers: serial: add serial driver for ar933x SOCWills Wang
This patch add support for ar933x serial. Signed-off-by: Wills Wang <[email protected]> Reviewed-by: Thomas Chou <[email protected]> Reviewed-by: Daniel Schwierzeck <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2016-04-06armv8: LS2080A: Consolidate LS2080A and LS2085AYork Sun
LS2080A is the primary SoC, and LS2085A is a personality with AIOP and DPAA DDR. The RDB and QDS boards support both personality. By detecting the SVR at runtime, a single image per board can support both SoCs. It gives users flexibility to swtich SoC without the need to reprogram the board. Signed-off-by: York Sun <[email protected]> CC: Prabhakar Kushwaha <[email protected]> Reviewed-by: Prabhakar Kushwaha <[email protected]>
2016-04-01serial: Add support for Qualcomm serial portMateusz Kulikowski
This driver works in "new" Data Mover UART mode, so will be compatible with modern Qualcomm chips only. Signed-off-by: Mateusz Kulikowski <[email protected]> Reviewed-by: Simon Glass <[email protected]> Tested-by: Simon Glass <[email protected]>
2016-02-01drivers: serial: add driver for Microchip PIC32 UART controller.Paul Thacker
This adds PIC32 UART controller support based on driver model. Signed-off-by: Paul Thacker <[email protected]> Signed-off-by: Purna Chandra Mandal <[email protected]> Reviewed-by: Daniel Schwierzeck <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2016-01-27serial: uartlite: Move driver to DMMichal Simek
Enable SPL DM too. Signed-off-by: Michal Simek <[email protected]> Reviewed-by: Thomas Chou <[email protected]>
2016-01-25ns16550: replace with binding files from Linux kernelThomas Chou
Replace ns16550.txt with binding files from Linux kernel. As suggested by Stephen Warren, we should keep the directory structure, filenames, and file content identical to the bindings in the Linux kernel. Signed-off-by: Thomas Chou <[email protected]> Acked-by: Stephen Warren <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2015-10-23nios2: convert altera_uart to driver modelThomas Chou
Convert altera_uart to driver model. Signed-off-by: Thomas Chou <[email protected]> Reviewed-by: Simon Glass <[email protected]> Acked-by: Marek Vasut <[email protected]>
2015-10-23nios2: convert altera_jtag_uart to driver modelThomas Chou
Convert altera_jtag_uart to driver model. Signed-off-by: Thomas Chou <[email protected]> Acked-by: Marek Vasut <[email protected]> Reviewed-by: Simon Glass <[email protected]>
2015-05-10serial: fdt: add device tree support for pl01xVikas Manocha
This patch adds device tree support for arm pl010/pl011 driver. Signed-off-by: Vikas Manocha <[email protected]> Acked-by: Simon Glass <[email protected]>
2014-09-10dm: serial: Add driver model support for ns16550Simon Glass
Add driver model support so that ns16550 can support operation both with and without driver model. The driver needs a clock frequency so cannot stand alone unfortunately. The clock frequency must be provided by a separate driver. Signed-off-by: Simon Glass <[email protected]>
2014-09-10sandbox: dts: Add a serial console nodeSimon Glass
If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. The only difference is the colour. Signed-off-by: Simon Glass <[email protected]>