The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/exynos-pinctrl.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* SPDX-License-Identifier: GPL-2.0 */
    2 /*
    3  * Samsung Exynos DTS pinctrl constants
    4  *
    5  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
    6  *              http://www.samsung.com
    7  * Copyright (c) 2022 Linaro Ltd
    8  * Author: Krzysztof Kozlowski <krzk@kernel.org>
    9  */
   10 
   11 #ifndef __DTS_ARM_SAMSUNG_EXYNOS_PINCTRL_H__
   12 #define __DTS_ARM_SAMSUNG_EXYNOS_PINCTRL_H__
   13 
   14 #define EXYNOS_PIN_PULL_NONE            0
   15 #define EXYNOS_PIN_PULL_DOWN            1
   16 #define EXYNOS_PIN_PULL_UP              3
   17 
   18 /* Pin function in power down mode */
   19 #define EXYNOS_PIN_PDN_OUT0             0
   20 #define EXYNOS_PIN_PDN_OUT1             1
   21 #define EXYNOS_PIN_PDN_INPUT            2
   22 #define EXYNOS_PIN_PDN_PREV             3
   23 
   24 /* Drive strengths for Exynos3250, Exynos4 (all) and Exynos5250 */
   25 #define EXYNOS4_PIN_DRV_LV1             0
   26 #define EXYNOS4_PIN_DRV_LV2             2
   27 #define EXYNOS4_PIN_DRV_LV3             1
   28 #define EXYNOS4_PIN_DRV_LV4             3
   29 
   30 /* Drive strengths for Exynos5260 */
   31 #define EXYNOS5260_PIN_DRV_LV1          0
   32 #define EXYNOS5260_PIN_DRV_LV2          1
   33 #define EXYNOS5260_PIN_DRV_LV4          2
   34 #define EXYNOS5260_PIN_DRV_LV6          3
   35 
   36 /*
   37  * Drive strengths for Exynos5410, Exynos542x, Exynos5800 and Exynos850 (except
   38  * GPIO_HSI block)
   39  */
   40 #define EXYNOS5420_PIN_DRV_LV1          0
   41 #define EXYNOS5420_PIN_DRV_LV2          1
   42 #define EXYNOS5420_PIN_DRV_LV3          2
   43 #define EXYNOS5420_PIN_DRV_LV4          3
   44 
   45 #define EXYNOS_PIN_FUNC_INPUT           0
   46 #define EXYNOS_PIN_FUNC_OUTPUT          1
   47 #define EXYNOS_PIN_FUNC_2               2
   48 #define EXYNOS_PIN_FUNC_3               3
   49 #define EXYNOS_PIN_FUNC_4               4
   50 #define EXYNOS_PIN_FUNC_5               5
   51 #define EXYNOS_PIN_FUNC_6               6
   52 #define EXYNOS_PIN_FUNC_EINT            0xf
   53 #define EXYNOS_PIN_FUNC_F               EXYNOS_PIN_FUNC_EINT
   54 
   55 #endif /* __DTS_ARM_SAMSUNG_EXYNOS_PINCTRL_H__ */

Cache object: edb446ce4b38480e8bab13b5acb0fed0


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.