]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: dts: hisi: add drive strength levels of the pins for Hi3660 SoC
authorWang Xiaoyin <hw.wangxiaoyin@hisilicon.com>
Thu, 30 Mar 2017 06:48:02 +0000 (14:48 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Mon, 10 Apr 2017 15:34:23 +0000 (23:34 +0800)
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>
include/dt-bindings/pinctrl/hisi.h

index 38f1ea879ea136685f6a2b03d1087f0cdf8dd7ae..0359bfdc9119720e80f6e703f39ac30f0091fb12 100644 (file)
 #define DRIVE4_08MA    (4 << 4)
 #define DRIVE4_10MA    (6 << 4)
 
+/* drive strength definition for hi3660 */
+#define DRIVE6_MASK    (15 << 4)
+#define DRIVE6_04MA    (0 << 4)
+#define DRIVE6_12MA    (4 << 4)
+#define DRIVE6_19MA    (8 << 4)
+#define DRIVE6_27MA    (10 << 4)
+#define DRIVE6_32MA    (15 << 4)
+#define DRIVE7_02MA    (0 << 4)
+#define DRIVE7_04MA    (1 << 4)
+#define DRIVE7_06MA    (2 << 4)
+#define DRIVE7_08MA    (3 << 4)
+#define DRIVE7_10MA    (4 << 4)
+#define DRIVE7_12MA    (5 << 4)
+#define DRIVE7_14MA    (6 << 4)
+#define DRIVE7_16MA    (7 << 4)
 #endif