drivers: samsung: Introduce exynos-speedy

Speedy is a serial communication bus that is typically used in
Exynos SoC devices for communicating with a PMIC. Implement
basic support for it, as well as add its first user - s2mps17 in
board-dreamlte.

Also, while at it, implement a simple readl function.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
This commit is contained in:
Ivaylo Ivanov committed 2024-10-28 15:09:59 +02:00
1 parent 8b562d28fa
commit eba7aec49d
6 files changed
+331 -5

No files matched your search

+5
View File
@@ -216,3 +216,8 @@ void writel(unsigned int value, void* address)
volatile unsigned int* ptr = (volatile unsigned int*)address;
*ptr = value;
}
uint32_t readl(volatile uint32_t *addr)
{
return *addr;
}