Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 983536e7 authored by Marek Vasut's avatar Marek Vasut Committed by Eric Miao
Browse files

[ARM] scoop: Add CPR register bit definitions



Add bit definitions of the CPR register of the SCOOP chip into scoop.h. Also,
cleanup the GPCR definitions to match coding style.

Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarEric Miao <eric.y.miao@gmail.com>
parent 11dd2d9a
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
@@ -22,6 +22,11 @@
#define SCOOP_GPWR 0x24
#define SCOOP_GPRR 0x28

#define SCOOP_CPR_OUT	(1 << 7)
#define SCOOP_CPR_SD_3V	(1 << 2)
#define SCOOP_CPR_CF_XV	(1 << 1)
#define SCOOP_CPR_CF_3V	(1 << 0)

#define SCOOP_GPCR_PA22	(1 << 12)
#define SCOOP_GPCR_PA21	(1 << 11)
#define SCOOP_GPCR_PA20	(1 << 10)