~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/gpio/meson8b-gpio.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/dt-bindings/gpio/meson8b-gpio.h (Version linux-6.11.5) and /include/dt-bindings/gpio/meson8b-gpio.h (Version linux-4.9.337)


  1 /* SPDX-License-Identifier: GPL-2.0-only */    << 
  2 /*                                                  1 /*
  3  * GPIO definitions for Amlogic Meson8b SoCs        2  * GPIO definitions for Amlogic Meson8b SoCs
  4  *                                                  3  *
  5  * Copyright (C) 2015 Endless Mobile, Inc.          4  * Copyright (C) 2015 Endless Mobile, Inc.
  6  * Author: Carlo Caione <carlo@endlessm.com>        5  * Author: Carlo Caione <carlo@endlessm.com>
                                                   >>   6  *
                                                   >>   7  * This program is free software; you can redistribute it and/or
                                                   >>   8  * modify it under the terms of the GNU General Public License
                                                   >>   9  * version 2 as published by the Free Software Foundation.
                                                   >>  10  *
                                                   >>  11  * You should have received a copy of the GNU General Public License
                                                   >>  12  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  7  */                                                13  */
  8                                                    14 
  9 #ifndef _DT_BINDINGS_MESON8B_GPIO_H                15 #ifndef _DT_BINDINGS_MESON8B_GPIO_H
 10 #define _DT_BINDINGS_MESON8B_GPIO_H                16 #define _DT_BINDINGS_MESON8B_GPIO_H
 11                                                    17 
 12 /* EE (CBUS) GPIO chip */                      !!  18 #include <dt-bindings/gpio/meson8-gpio.h>
 13 #define GPIOX_0         0                      << 
 14 #define GPIOX_1         1                      << 
 15 #define GPIOX_2         2                      << 
 16 #define GPIOX_3         3                      << 
 17 #define GPIOX_4         4                      << 
 18 #define GPIOX_5         5                      << 
 19 #define GPIOX_6         6                      << 
 20 #define GPIOX_7         7                      << 
 21 #define GPIOX_8         8                      << 
 22 #define GPIOX_9         9                      << 
 23 #define GPIOX_10        10                     << 
 24 #define GPIOX_11        11                     << 
 25 #define GPIOX_16        12                     << 
 26 #define GPIOX_17        13                     << 
 27 #define GPIOX_18        14                     << 
 28 #define GPIOX_19        15                     << 
 29 #define GPIOX_20        16                     << 
 30 #define GPIOX_21        17                     << 
 31                                                << 
 32 #define GPIOY_0         18                     << 
 33 #define GPIOY_1         19                     << 
 34 #define GPIOY_3         20                     << 
 35 #define GPIOY_6         21                     << 
 36 #define GPIOY_7         22                     << 
 37 #define GPIOY_8         23                     << 
 38 #define GPIOY_9         24                     << 
 39 #define GPIOY_10        25                     << 
 40 #define GPIOY_11        26                     << 
 41 #define GPIOY_12        27                     << 
 42 #define GPIOY_13        28                     << 
 43 #define GPIOY_14        29                     << 
 44                                                << 
 45 #define GPIODV_9        30                     << 
 46 #define GPIODV_24       31                     << 
 47 #define GPIODV_25       32                     << 
 48 #define GPIODV_26       33                     << 
 49 #define GPIODV_27       34                     << 
 50 #define GPIODV_28       35                     << 
 51 #define GPIODV_29       36                     << 
 52                                                << 
 53 #define GPIOH_0         37                     << 
 54 #define GPIOH_1         38                     << 
 55 #define GPIOH_2         39                     << 
 56 #define GPIOH_3         40                     << 
 57 #define GPIOH_4         41                     << 
 58 #define GPIOH_5         42                     << 
 59 #define GPIOH_6         43                     << 
 60 #define GPIOH_7         44                     << 
 61 #define GPIOH_8         45                     << 
 62 #define GPIOH_9         46                     << 
 63                                                << 
 64 #define CARD_0          47                     << 
 65 #define CARD_1          48                     << 
 66 #define CARD_2          49                     << 
 67 #define CARD_3          50                     << 
 68 #define CARD_4          51                     << 
 69 #define CARD_5          52                     << 
 70 #define CARD_6          53                     << 
 71                                                << 
 72 #define BOOT_0          54                     << 
 73 #define BOOT_1          55                     << 
 74 #define BOOT_2          56                     << 
 75 #define BOOT_3          57                     << 
 76 #define BOOT_4          58                     << 
 77 #define BOOT_5          59                     << 
 78 #define BOOT_6          60                     << 
 79 #define BOOT_7          61                     << 
 80 #define BOOT_8          62                     << 
 81 #define BOOT_9          63                     << 
 82 #define BOOT_10         64                     << 
 83 #define BOOT_11         65                     << 
 84 #define BOOT_12         66                     << 
 85 #define BOOT_13         67                     << 
 86 #define BOOT_14         68                     << 
 87 #define BOOT_15         69                     << 
 88 #define BOOT_16         70                     << 
 89 #define BOOT_17         71                     << 
 90 #define BOOT_18         72                     << 
 91                                                << 
 92 #define DIF_0_P         73                     << 
 93 #define DIF_0_N         74                     << 
 94 #define DIF_1_P         75                     << 
 95 #define DIF_1_N         76                     << 
 96 #define DIF_2_P         77                     << 
 97 #define DIF_2_N         78                     << 
 98 #define DIF_3_P         79                     << 
 99 #define DIF_3_N         80                     << 
100 #define DIF_4_P         81                     << 
101 #define DIF_4_N         82                     << 
102                                                    19 
103 /* AO GPIO chip */                             !!  20 /* GPIO Bank DIF */
104 #define GPIOAO_0        0                      !!  21 #define DIF_0_P         120
105 #define GPIOAO_1        1                      !!  22 #define DIF_0_N         121
106 #define GPIOAO_2        2                      !!  23 #define DIF_1_P         122
107 #define GPIOAO_3        3                      !!  24 #define DIF_1_N         123
108 #define GPIOAO_4        4                      !!  25 #define DIF_2_P         124
109 #define GPIOAO_5        5                      !!  26 #define DIF_2_N         125
110 #define GPIOAO_6        6                      !!  27 #define DIF_3_P         126
111 #define GPIOAO_7        7                      !!  28 #define DIF_3_N         127
112 #define GPIOAO_8        8                      !!  29 #define DIF_4_P         128
113 #define GPIOAO_9        9                      !!  30 #define DIF_4_N         129
114 #define GPIOAO_10       10                     << 
115 #define GPIOAO_11       11                     << 
116 #define GPIOAO_12       12                     << 
117 #define GPIOAO_13       13                     << 
118 #define GPIO_BSD_EN     14                     << 
119 #define GPIO_TEST_N     15                     << 
120                                                    31 
121 #endif /* _DT_BINDINGS_MESON8B_GPIO_H */           32 #endif /* _DT_BINDINGS_MESON8B_GPIO_H */
122                                                    33 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php