404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.21.159.60: ~ $
/*
 * This header provides constants for hisilicon pinctrl bindings.
 *
 * Copyright (c) 2015 Hisilicon Limited.
 * Copyright (c) 2015 Linaro Limited.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
 * kind, whether express or implied; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

#ifndef _DT_BINDINGS_PINCTRL_HISI_H
#define _DT_BINDINGS_PINCTRL_HISI_H

/* iomg bit definition */
#define MUX_M0		0
#define MUX_M1		1
#define MUX_M2		2
#define MUX_M3		3
#define MUX_M4		4
#define MUX_M5		5
#define MUX_M6		6
#define MUX_M7		7

/* iocg bit definition */
#define PULL_MASK	(3)
#define PULL_DIS	(0)
#define PULL_UP		(1 << 0)
#define PULL_DOWN	(1 << 1)

/* drive strength definition */
#define DRIVE_MASK	(7 << 4)
#define DRIVE1_02MA	(0 << 4)
#define DRIVE1_04MA	(1 << 4)
#define DRIVE1_08MA	(2 << 4)
#define DRIVE1_10MA	(3 << 4)
#define DRIVE2_02MA	(0 << 4)
#define DRIVE2_04MA	(1 << 4)
#define DRIVE2_08MA	(2 << 4)
#define DRIVE2_10MA	(3 << 4)
#define DRIVE3_04MA	(0 << 4)
#define DRIVE3_08MA	(1 << 4)
#define DRIVE3_12MA	(2 << 4)
#define DRIVE3_16MA	(3 << 4)
#define DRIVE3_20MA	(4 << 4)
#define DRIVE3_24MA	(5 << 4)
#define DRIVE3_32MA	(6 << 4)
#define DRIVE3_40MA	(7 << 4)
#define DRIVE4_02MA	(0 << 4)
#define DRIVE4_04MA	(2 << 4)
#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

Filemanager

Name Type Size Permission Actions
am33xx.h File 1.02 KB 0644
am43xx.h File 1.68 KB 0644
at91.h File 1.22 KB 0644
bcm2835.h File 911 B 0644
brcm,pinctrl-stingray.h File 2.65 KB 0644
dm814x.h File 1.25 KB 0644
dra.h File 2.63 KB 0644
hisi.h File 2.02 KB 0644
keystone.h File 1.14 KB 0644
mt6397-pinfunc.h File 13.12 KB 0644
mt65xx.h File 1.18 KB 0644
mt7623-pinfunc.h File 25.39 KB 0644
nomadik.h File 758 B 0644
omap.h File 3 KB 0644
pinctrl-tegra-xusb.h File 240 B 0644
pinctrl-tegra.h File 1.43 KB 0644
qcom,pmic-gpio.h File 5.28 KB 0644
qcom,pmic-mpp.h File 2.66 KB 0644
r7s72100-pinctrl.h File 517 B 0644
rockchip.h File 1.53 KB 0644
samsung.h File 2.42 KB 0644
stm32-pinfunc.h File 607 B 0644
sun4i-a10.h File 2.54 KB 0644