aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndré Przywara <andre.przywara@arm.com>2020-12-22 15:50:26 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2020-12-22 15:50:26 +0000
commit29912cb6544c0a9d56b25d93d13cd1695938777f (patch)
tree1c9f0059b239aef45d2aaef98c7364dceb134bbe /include
parent669ee776ccad9986b45f9015724955c3830fd471 (diff)
parent7060e0d891b9f9cccf46867de142e1808c61fd6d (diff)
downloadtrusted-firmware-a-29912cb6544c0a9d56b25d93d13cd1695938777f.tar.gz
Merge changes I0c5f32e8,Id49c124c,Idcfe933d into integration
* changes: allwinner: Use RSB for the PMIC connection on H6 allwinner: Return the PMIC to I2C mode after use allwinner: Always use a 3MHz RSB bus clock
Diffstat (limited to 'include')
-rw-r--r--include/drivers/allwinner/axp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drivers/allwinner/axp.h b/include/drivers/allwinner/axp.h
index 9c0035f96b..222820b120 100644
--- a/include/drivers/allwinner/axp.h
+++ b/include/drivers/allwinner/axp.h
@@ -9,6 +9,10 @@
#include <stdint.h>
+#define AXP20X_MODE_REG 0x3e
+#define AXP20X_MODE_I2C 0x00
+#define AXP20X_MODE_RSB 0x7c
+
#define NA 0xff
enum {