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

TOMOYO Linux Cross Reference
Linux/include/dt-bindings/pinctrl/brcm,pinctrl-stingray.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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/pinctrl/brcm,pinctrl-stingray.h (Architecture alpha) and /include/dt-bindings/pinctrl/brcm,pinctrl-stingray.h (Architecture m68k)


  1 /*                                                  1 /*
  2  *  BSD LICENSE                                     2  *  BSD LICENSE
  3  *                                                  3  *
  4  *  Copyright(c) 2017 Broadcom Corporation.  A      4  *  Copyright(c) 2017 Broadcom Corporation.  All rights reserved.
  5  *                                                  5  *
  6  *  Redistribution and use in source and binar      6  *  Redistribution and use in source and binary forms, with or without
  7  *  modification, are permitted provided that       7  *  modification, are permitted provided that the following conditions
  8  *  are met:                                        8  *  are met:
  9  *                                                  9  *
 10  *    * Redistributions of source code must re     10  *    * Redistributions of source code must retain the above copyright
 11  *      notice, this list of conditions and th     11  *      notice, this list of conditions and the following disclaimer.
 12  *    * Redistributions in binary form must re     12  *    * Redistributions in binary form must reproduce the above copyright
 13  *      notice, this list of conditions and th     13  *      notice, this list of conditions and the following disclaimer in
 14  *      the documentation and/or other materia     14  *      the documentation and/or other materials provided with the
 15  *      distribution.                              15  *      distribution.
 16  *    * Neither the name of Broadcom Corporati     16  *    * Neither the name of Broadcom Corporation nor the names of its
 17  *      contributors may be used to endorse or     17  *      contributors may be used to endorse or promote products derived
 18  *      from this software without specific pr     18  *      from this software without specific prior written permission.
 19  *                                                 19  *
 20  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT     20  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 21  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANT     21  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 22  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERC     22  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 23  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO     23  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 24  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DI     24  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 25  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAG     25  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 26  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOOD     26  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 27  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION     27  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 28  *  THEORY OF LIABILITY, WHETHER IN CONTRACT,      28  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 29  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISIN     29  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE PO     30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 31  */                                                31  */
 32                                                    32 
 33 #ifndef __DT_BINDINGS_PINCTRL_BRCM_STINGRAY_H_     33 #ifndef __DT_BINDINGS_PINCTRL_BRCM_STINGRAY_H__
 34 #define __DT_BINDINGS_PINCTRL_BRCM_STINGRAY_H_     34 #define __DT_BINDINGS_PINCTRL_BRCM_STINGRAY_H__
 35                                                    35 
 36 /* Alternate functions available in MUX contro     36 /* Alternate functions available in MUX controller */
 37 #define MODE_NITRO                                 37 #define MODE_NITRO                              0
 38 #define MODE_NAND                                  38 #define MODE_NAND                               1
 39 #define MODE_PNOR                                  39 #define MODE_PNOR                               2
 40 #define MODE_GPIO                                  40 #define MODE_GPIO                               3
 41                                                    41 
 42 /* Pad configuration attribute */                  42 /* Pad configuration attribute */
 43 #define PAD_SLEW_RATE_ENA                          43 #define PAD_SLEW_RATE_ENA                       (1 << 0)
 44 #define PAD_SLEW_RATE_ENA_MASK                     44 #define PAD_SLEW_RATE_ENA_MASK                  (1 << 0)
 45                                                    45 
 46 #define PAD_DRIVE_STRENGTH_2_MA                    46 #define PAD_DRIVE_STRENGTH_2_MA                 (0 << 1)
 47 #define PAD_DRIVE_STRENGTH_4_MA                    47 #define PAD_DRIVE_STRENGTH_4_MA                 (1 << 1)
 48 #define PAD_DRIVE_STRENGTH_6_MA                    48 #define PAD_DRIVE_STRENGTH_6_MA                 (2 << 1)
 49 #define PAD_DRIVE_STRENGTH_8_MA                    49 #define PAD_DRIVE_STRENGTH_8_MA                 (3 << 1)
 50 #define PAD_DRIVE_STRENGTH_10_MA                   50 #define PAD_DRIVE_STRENGTH_10_MA                (4 << 1)
 51 #define PAD_DRIVE_STRENGTH_12_MA                   51 #define PAD_DRIVE_STRENGTH_12_MA                (5 << 1)
 52 #define PAD_DRIVE_STRENGTH_14_MA                   52 #define PAD_DRIVE_STRENGTH_14_MA                (6 << 1)
 53 #define PAD_DRIVE_STRENGTH_16_MA                   53 #define PAD_DRIVE_STRENGTH_16_MA                (7 << 1)
 54 #define PAD_DRIVE_STRENGTH_MASK                    54 #define PAD_DRIVE_STRENGTH_MASK                 (7 << 1)
 55                                                    55 
 56 #define PAD_PULL_UP_ENA                            56 #define PAD_PULL_UP_ENA                         (1 << 4)
 57 #define PAD_PULL_UP_ENA_MASK                       57 #define PAD_PULL_UP_ENA_MASK                    (1 << 4)
 58                                                    58 
 59 #define PAD_PULL_DOWN_ENA                          59 #define PAD_PULL_DOWN_ENA                       (1 << 5)
 60 #define PAD_PULL_DOWN_ENA_MASK                     60 #define PAD_PULL_DOWN_ENA_MASK                  (1 << 5)
 61                                                    61 
 62 #define PAD_INPUT_PATH_DIS                         62 #define PAD_INPUT_PATH_DIS                      (1 << 6)
 63 #define PAD_INPUT_PATH_DIS_MASK                    63 #define PAD_INPUT_PATH_DIS_MASK                 (1 << 6)
 64                                                    64 
 65 #define PAD_HYSTERESIS_ENA                         65 #define PAD_HYSTERESIS_ENA                      (1 << 7)
 66 #define PAD_HYSTERESIS_ENA_MASK                    66 #define PAD_HYSTERESIS_ENA_MASK                 (1 << 7)
 67                                                    67 
 68 #endif                                             68 #endif
 69                                                    69 

~ [ 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