summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_sh.h
AgeCommit message (Collapse)Author
2023-10-19serial: sh: Add RZ/G2L SCIF supportPaul Barker
Extend the existing driver to support the SCIF serial ports on the Renesas RZ/G2L (R9A07G044) SoC. This also requires us to ensure that if there is a reset signal defined in the device tree, it is de-asserted before we try to talk to the SCIF module. Signed-off-by: Paul Barker <[email protected]> Reviewed-by: Biju Das <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Reviewed-by: Marek Vasut <[email protected]> Tested-by: Marek Vasut <[email protected]> # R-Car H3 Salvator-XS
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]>
2023-04-07serial: sh: Add R-Car Gen4 supportHai Pham
Add R-Car Gen4 family support. The basic function is as same as previous R-Car Generation. Reviewed-by: Marek Vasut <[email protected]> Signed-off-by: Hai Pham <[email protected]> Signed-off-by: Marek Vasut <[email protected]> [Marek: Swap RZ/A1 and Gen4 to keep the GenN sequence, use RCAR_64]
2023-03-18serial: sh: Make indent consistentMarek Vasut
Make the indent of these macro elements consistent with the rest of this table. No functional change. Signed-off-by: Marek Vasut <[email protected]>
2023-02-07rmobile: Drop CONFIG_SH73A0 and associated codeSimon Glass
This option does not exist, so the code attached to it is not used. Drop it. Signed-off-by: Simon Glass <[email protected]>
2022-12-23global: Migrate CONFIG_SCIF_A to CFGTom Rini
Perform a simple rename of CONFIG_SCIF_A to CFG_SCIF_A Signed-off-by: Tom Rini <[email protected]>
2019-05-10sh: sh3: Remove CPU supportMarek Vasut
This CPU core is old, no boards using the CPU are left in mainline, it has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-10sh: sh2: Remove CPU supportMarek Vasut
This CPU core is old, no boards using the CPU are left in mainline, it has no prospects of ever being converted to DM, drop it. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-10serial: sh: Drop assorted SH3, SH4, SH5 macrosMarek Vasut
Drop unused macros from the header to clean it up. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-10serial: sh: Drop RTS7751R2D supportMarek Vasut
There is no RTS7751R2D support in U-Boot, drop all the RTS7751R2D macros. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-10serial: sh: Drop SH2007 supportMarek Vasut
There is no SH2007 support in U-Boot, drop all the SH2007 macros. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-10serial: sh: Drop H8 supportMarek Vasut
There is no H8 support in U-Boot, drop all the H8 macros. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-07serial: sh: Add RZ/A1 supportMarek Vasut
Add support for RZ/A1 SoC specifics. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]>
2019-05-07sh: 7785: Remove CPU supportMarek Vasut
There are no more boards using this CPU and there is no prospect of any boards showing up soon, remove it. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2019-05-07sh: 7724: Remove CPU supportMarek Vasut
There are no more boards using this CPU and there is no prospect of any boards showing up soon, remove it. Signed-off-by: Marek Vasut <[email protected]> Cc: Chris Brandt <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Yoshihiro Shimoda <[email protected]>
2018-01-24serial: sh: Add support for R7S72100 (RZ/A1)Chris Brandt
Add support for RZ/A1 series SoCs. Signed-off-by: Chris Brandt <[email protected]>
2018-01-24serial: sh: Unify CONFIG_R8A779[01234] as CONFIG_RCAR_GEN2Marek Vasut
Use the common RCAR_GEN2 config option instead of enumerating each SoC and having a lengthy ifdef clause. No functional change. Signed-off-by: Marek Vasut <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]>
2017-11-30serial: sh: Unify R8A7795 and R8A7796 as Gen3Marek Vasut
Unify the CONFIG_R8A7795 and CONFIG_R8A7796 as CONFIG_RCAR_GEN3 so that every time we add a new SoC, we won't have to add more stuff to this list. Signed-off-by: Marek Vasut <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]>
2017-05-22serial: sh: Add r8a7796 supportHiroyuki Yokoyama
Signed-off-by: Hiroyuki Yokoyama <[email protected]> Cc: Hiroyuki Yokoyama <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]>
2016-08-17arm: rmobile: Add BLANCHE board support[email protected]
BLANCHE is development board based on R-Car V2H SoC (R8A7792) This commit supports the following periherals: - SCIF, Ethernet, QSPI, MMC Signed-off-by: Masakazu Mochizuki <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2016-08-17serial: sh: Add support R8A7795Hiroyuki Yokoyama
This can be used in the same way as other R-CAR serial setting. Signed-off-by: Hiroyuki Yokoyama <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2015-08-31serial: serial-sh: SCIFA interface for R-Car Gen2 SoCsVladimir 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: Vladimir Barinov <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2015-02-25serial: sh: fix internal clock source on SCIFVladimir Barinov
The formula to calculate SCIF BRR for R-Car H2/M2/E2 SoCs is as follows: BRR = pclk / (64 * 2^(2n-1) * baudrate) - 1, the prescaler is 0 due to SCSMR settings, hence n=0 Also SCSCR must be set to use internal or external clock source. Signed-off-by: Vladimir Barinov <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2015-02-12dm: sh: serial: Add support driver modelNobuhiro Iwamatsu
This adds driver model support with this driver. This was tested by Koelsch board and Gose board. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Acked-by: Simon Glass <[email protected]>
2014-11-13sh: move CONFIG_{SH2, SH2A, SH3, SH4} to KconfigMasahiro Yamada
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4 to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A, CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention. Signed-off-by: Masahiro Yamada <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-04serial: sh: r8a7794: Add support external clockNobuhiro Iwamatsu
The baud rate setting of external clock is enabled. Signed-off-by: Hisashi Nakamura <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-11-04serial: sh: Add support R8A7793Nobuhiro Iwamatsu
This adds the preset value to register for R8A7793. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-08-09serial: sh: Add support External Clock modeNobuhiro Iwamatsu
R8A7780 and R7A7791 of rmobile supports External Clock mode, and these uses different from Internal Clock mode registers and calculations to the baud rate setting. This adds function for External Clock mode. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-08-09serial: sh: Add support DL and CKS register for R8A7794Nobuhiro Iwamatsu
R8A7794 has DL and CKS register, and these registers are used in external clock mode. This adds support these for R8A7794. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2014-07-24serial: sh: Add support R8A7794Nobuhiro Iwamatsu
This adds the preset value to register for R8A7794. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2013-12-18serial_sh: add support for SH7753Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2013-10-17serial: sh: Add support R8A7791Nobuhiro Iwamatsu
This adds the preset value to register for R8A7791. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2013-10-17serial: sh: Add support R8A7790Nobuhiro Iwamatsu
This adds the preset value to register, and setup of baudrate. Signed-off-by: Kouei Abe <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-12-20serial_sh: Add support Renesas SH7752Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-08-08serial: sh: Add support Renesas R8A7740Hideyuki Sano
The serial device of R8A7740 has the same structure as SH7372 of SH, etc. Signed-off-by: Hideyuki Sano <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-08-08serial: sh: Add support Renesas SH73A0Nobuhiro Iwamatsu
The serial device of SH73A0 has the same structure as SH7372 of SH, etc. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-05-28sh: Add SH7269 device and RSK2+SH7269 boardPhil Edworthy
This is an sh2a device (max 266MHz) with FPU, video display controller (VDC), 8 serial ports, 4 I2C channels, 3 CAN ports, SD and on-chip USB. The RSK2+SH7269 board uses the SH7269 processor. It is often referred to as just rsk7269. Signed-off-by: Phil Edworthy <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-05-28sh: Add support Renesas SH7734Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2012-03-08sh: Fix sh7264 clock speed and related serial settingPhil Edworthy
The generalised calculation of the serial bit rate reg also applies to sh7264, it was just the clock speed that was set incorrectly. Signed-off-by: Phil Edworthy <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2011-08-22sh: Add Renesas rsk7264 boardPhil Edworthy
The rsk7264 (also know as rsk2+sh7264) is an SH2A based board with 64MB NAND flash and 64MB SDRAM. It is very similar to the rsk7203 board. Signed-off-by: Phil Edworthy <[email protected]> Cc: Nobuhiro Iwamatsu <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2011-01-11sh: serial_sh: Fix build in serial_shNobuhiro Iwamatsu
The serial of ap325rxa has it of two kinds, and the setting of the clock is different. Because there was a problem by function to judge serial kind, this revised it. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2011-01-11sh: sh7722: Fix multiple definition of PSDR in serial_shNobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
2011-01-11sh: serial: Update serial driver for SHNobuhiro Iwamatsu
I copied the setting of CPU from Linux kernel and commonized it. By this, we can communalize a kernel and information. And added the serial setting of many CPU's. Signed-off-by: Nobuhiro Iwamatsu <[email protected]>