aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Xiaoyin2017-03-30 01:48:02 -0500
committerWei Xu2017-04-10 10:34:23 -0500
commit5a7e4774fd91b1c934806ea89b3ec6cc74c54159 (patch)
treee766d9fd2fbc89aa4f9f232de7a13064736dbc19
parent519caba7a9575dc2c1555567d033dee9ee570ec7 (diff)
downloadkernel-5a7e4774fd91b1c934806ea89b3ec6cc74c54159.tar.gz
kernel-5a7e4774fd91b1c934806ea89b3ec6cc74c54159.tar.xz
kernel-5a7e4774fd91b1c934806ea89b3ec6cc74c54159.zip
arm64: dts: hisi: add drive strength levels of the pins for Hi3660 SoC
Extend drive strength levels of the pins for Hi3660 Soc. Signed-off-by: Wang Xiaoyin <hw.wangxiaoyin@hisilicon.com> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
-rw-r--r--include/dt-bindings/pinctrl/hisi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/hisi.h b/include/dt-bindings/pinctrl/hisi.h
index 38f1ea879ea1..0359bfdc9119 100644
--- a/include/dt-bindings/pinctrl/hisi.h
+++ b/include/dt-bindings/pinctrl/hisi.h
@@ -56,4 +56,19 @@
56#define DRIVE4_08MA (4 << 4) 56#define DRIVE4_08MA (4 << 4)
57#define DRIVE4_10MA (6 << 4) 57#define DRIVE4_10MA (6 << 4)
58 58
59/* drive strength definition for hi3660 */
60#define DRIVE6_MASK (15 << 4)
61#define DRIVE6_04MA (0 << 4)
62#define DRIVE6_12MA (4 << 4)
63#define DRIVE6_19MA (8 << 4)
64#define DRIVE6_27MA (10 << 4)
65#define DRIVE6_32MA (15 << 4)
66#define DRIVE7_02MA (0 << 4)
67#define DRIVE7_04MA (1 << 4)
68#define DRIVE7_06MA (2 << 4)
69#define DRIVE7_08MA (3 << 4)
70#define DRIVE7_10MA (4 << 4)
71#define DRIVE7_12MA (5 << 4)
72#define DRIVE7_14MA (6 << 4)
73#define DRIVE7_16MA (7 << 4)
59#endif 74#endif