lib: utils: serial: Add Renesas SCIF driver

Add Renesas SCIF driver.

Based on a patch in the BSP by Takeki Hamada
<takeki.hamada.ak@bp.renesas.com>
Link: https://github.com/renesas-rz/rz_opensbi/commits/work/OpenSBI-PMA

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Lad Prabhakar
2022-12-10 10:30:07 +00:00
committed by Anup Patel
parent 506928a1be
commit 64e8b9f72e
4 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (C) 2022 Renesas Electronics Corporation
*/
#ifndef __SERIAL_RENESAS_SCIF_H__
#define __SERIAL_RENESAS_SCIF_H__
int renesas_scif_init(unsigned long base, u32 in_freq, u32 baudrate);
#endif /* __SERIAL_RENESAS_SCIF_H__ */