mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
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:
1 parent
8b562d28fa
commit
eba7aec49d
6 files changed
+331
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user