allwinner: Add RSB driver
The "Reduced Serial Bus" is an Allwinner specific bus, bearing many
similarities with I2C. It sports a much higher bus frequency, though,
(typically 3 MHz) and requires much less handholding for the typical
task of manipulating slave registers (fire-and-forget).
On most A64 boards this bus is used to connect the PMIC to the SoC.

This driver provides basic primitives to read and write slave registers,
it will be later used by the PMIC code.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
1 parent 3d22228 commit 103f19f055bebf5ffa5ef73bba51d736123c7c33
@Andre Przywara Andre Przywara authored on 12 Dec 2017
Showing 2 changed files
View
drivers/allwinner/sunxi_rsb.c 0 → 100644
View
include/drivers/allwinner/sunxi_rsb.h 0 → 100644