sunxi: Add support for the rsb (Reduced Serial Bus)
authorHans de Goede <hdegoede@redhat.com>
Sat, 29 Nov 2014 12:38:35 +0000 (13:38 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:36 +0000 (14:56 +0100)
commit66ebea06f71a85552b7339d1b03ec1a092dc6c70
tree43494b5240df365bf20f78d77b09390afd18b229
parentce881076fc51f281ab28b2a1fde370f10b0c41eb
sunxi: Add support for the rsb (Reduced Serial Bus)

sun8i (A23) introduces a new bus for communicating with the pmic, the rsb,
the rsb is also used to communicate with the pmic on the A80, and is
documented in the A80 user manual.

This commit adds support for this based on the rsb driver from the allwinner
u-boot sources.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/rsb.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/cpu.h
arch/arm/include/asm/arch-sunxi/gpio.h
arch/arm/include/asm/arch-sunxi/prcm.h
arch/arm/include/asm/arch-sunxi/rsb.h [new file with mode: 0644]