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

TOMOYO Linux Cross Reference
Linux/include/linux/mfd/da8xx-cfgchip.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/mfd/da8xx-cfgchip.h (Version linux-6.12-rc7) and /include/linux/mfd/da8xx-cfgchip.h (Version linux-4.17.19)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 
  2 /*                                                  1 /*
  3  * TI DaVinci DA8xx CHIPCFGx registers for sys      2  * TI DaVinci DA8xx CHIPCFGx registers for syscon consumers.
  4  *                                                  3  *
  5  * Copyright (C) 2016 David Lechner <david@lec      4  * Copyright (C) 2016 David Lechner <david@lechnology.com>
                                                   >>   5  *
                                                   >>   6  * This program is free software; you can redistribute it and/or modify
                                                   >>   7  * it under the terms of the GNU General Public License as published by
                                                   >>   8  * the Free Software Foundation; either version 2 of the License, or
                                                   >>   9  * (at your option) any later version.
                                                   >>  10  *
                                                   >>  11  * This program is distributed in the hope that it will be useful,
                                                   >>  12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
                                                   >>  14  * GNU General Public License for more details.
  6  */                                                15  */
  7                                                    16 
  8 #ifndef __LINUX_MFD_DA8XX_CFGCHIP_H                17 #ifndef __LINUX_MFD_DA8XX_CFGCHIP_H
  9 #define __LINUX_MFD_DA8XX_CFGCHIP_H                18 #define __LINUX_MFD_DA8XX_CFGCHIP_H
 10                                                    19 
 11 #include <linux/bitops.h>                          20 #include <linux/bitops.h>
 12                                                    21 
 13 /* register offset (32-bit registers) */           22 /* register offset (32-bit registers) */
 14 #define CFGCHIP(n)                                 23 #define CFGCHIP(n)                              ((n) * 4)
 15                                                    24 
 16 /* CFGCHIP0 (PLL0/EDMA3_0) register bits */        25 /* CFGCHIP0 (PLL0/EDMA3_0) register bits */
 17 #define CFGCHIP0_PLL_MASTER_LOCK                   26 #define CFGCHIP0_PLL_MASTER_LOCK                BIT(4)
 18 #define CFGCHIP0_EDMA30TC1DBS(n)                   27 #define CFGCHIP0_EDMA30TC1DBS(n)                ((n) << 2)
 19 #define CFGCHIP0_EDMA30TC1DBS_MASK                 28 #define CFGCHIP0_EDMA30TC1DBS_MASK              CFGCHIP0_EDMA30TC1DBS(0x3)
 20 #define CFGCHIP0_EDMA30TC1DBS_16                   29 #define CFGCHIP0_EDMA30TC1DBS_16                CFGCHIP0_EDMA30TC1DBS(0x0)
 21 #define CFGCHIP0_EDMA30TC1DBS_32                   30 #define CFGCHIP0_EDMA30TC1DBS_32                CFGCHIP0_EDMA30TC1DBS(0x1)
 22 #define CFGCHIP0_EDMA30TC1DBS_64                   31 #define CFGCHIP0_EDMA30TC1DBS_64                CFGCHIP0_EDMA30TC1DBS(0x2)
 23 #define CFGCHIP0_EDMA30TC0DBS(n)                   32 #define CFGCHIP0_EDMA30TC0DBS(n)                ((n) << 0)
 24 #define CFGCHIP0_EDMA30TC0DBS_MASK                 33 #define CFGCHIP0_EDMA30TC0DBS_MASK              CFGCHIP0_EDMA30TC0DBS(0x3)
 25 #define CFGCHIP0_EDMA30TC0DBS_16                   34 #define CFGCHIP0_EDMA30TC0DBS_16                CFGCHIP0_EDMA30TC0DBS(0x0)
 26 #define CFGCHIP0_EDMA30TC0DBS_32                   35 #define CFGCHIP0_EDMA30TC0DBS_32                CFGCHIP0_EDMA30TC0DBS(0x1)
 27 #define CFGCHIP0_EDMA30TC0DBS_64                   36 #define CFGCHIP0_EDMA30TC0DBS_64                CFGCHIP0_EDMA30TC0DBS(0x2)
 28                                                    37 
 29 /* CFGCHIP1 (eCAP/HPI/EDMA3_1/eHRPWM TBCLK/McA     38 /* CFGCHIP1 (eCAP/HPI/EDMA3_1/eHRPWM TBCLK/McASP0 AMUTEIN) register bits */
 30 #define CFGCHIP1_CAP2SRC(n)                        39 #define CFGCHIP1_CAP2SRC(n)                     ((n) << 27)
 31 #define CFGCHIP1_CAP2SRC_MASK                      40 #define CFGCHIP1_CAP2SRC_MASK                   CFGCHIP1_CAP2SRC(0x1f)
 32 #define CFGCHIP1_CAP2SRC_ECAP_PIN                  41 #define CFGCHIP1_CAP2SRC_ECAP_PIN               CFGCHIP1_CAP2SRC(0x0)
 33 #define CFGCHIP1_CAP2SRC_MCASP0_TX                 42 #define CFGCHIP1_CAP2SRC_MCASP0_TX              CFGCHIP1_CAP2SRC(0x1)
 34 #define CFGCHIP1_CAP2SRC_MCASP0_RX                 43 #define CFGCHIP1_CAP2SRC_MCASP0_RX              CFGCHIP1_CAP2SRC(0x2)
 35 #define CFGCHIP1_CAP2SRC_EMAC_C0_RX_THRESHOLD      44 #define CFGCHIP1_CAP2SRC_EMAC_C0_RX_THRESHOLD   CFGCHIP1_CAP2SRC(0x7)
 36 #define CFGCHIP1_CAP2SRC_EMAC_C0_RX                45 #define CFGCHIP1_CAP2SRC_EMAC_C0_RX             CFGCHIP1_CAP2SRC(0x8)
 37 #define CFGCHIP1_CAP2SRC_EMAC_C0_TX                46 #define CFGCHIP1_CAP2SRC_EMAC_C0_TX             CFGCHIP1_CAP2SRC(0x9)
 38 #define CFGCHIP1_CAP2SRC_EMAC_C0_MISC              47 #define CFGCHIP1_CAP2SRC_EMAC_C0_MISC           CFGCHIP1_CAP2SRC(0xa)
 39 #define CFGCHIP1_CAP2SRC_EMAC_C1_RX_THRESHOLD      48 #define CFGCHIP1_CAP2SRC_EMAC_C1_RX_THRESHOLD   CFGCHIP1_CAP2SRC(0xb)
 40 #define CFGCHIP1_CAP2SRC_EMAC_C1_RX                49 #define CFGCHIP1_CAP2SRC_EMAC_C1_RX             CFGCHIP1_CAP2SRC(0xc)
 41 #define CFGCHIP1_CAP2SRC_EMAC_C1_TX                50 #define CFGCHIP1_CAP2SRC_EMAC_C1_TX             CFGCHIP1_CAP2SRC(0xd)
 42 #define CFGCHIP1_CAP2SRC_EMAC_C1_MISC              51 #define CFGCHIP1_CAP2SRC_EMAC_C1_MISC           CFGCHIP1_CAP2SRC(0xe)
 43 #define CFGCHIP1_CAP2SRC_EMAC_C2_RX_THRESHOLD      52 #define CFGCHIP1_CAP2SRC_EMAC_C2_RX_THRESHOLD   CFGCHIP1_CAP2SRC(0xf)
 44 #define CFGCHIP1_CAP2SRC_EMAC_C2_RX                53 #define CFGCHIP1_CAP2SRC_EMAC_C2_RX             CFGCHIP1_CAP2SRC(0x10)
 45 #define CFGCHIP1_CAP2SRC_EMAC_C2_TX                54 #define CFGCHIP1_CAP2SRC_EMAC_C2_TX             CFGCHIP1_CAP2SRC(0x11)
 46 #define CFGCHIP1_CAP2SRC_EMAC_C2_MISC              55 #define CFGCHIP1_CAP2SRC_EMAC_C2_MISC           CFGCHIP1_CAP2SRC(0x12)
 47 #define CFGCHIP1_CAP1SRC(n)                        56 #define CFGCHIP1_CAP1SRC(n)                     ((n) << 22)
 48 #define CFGCHIP1_CAP1SRC_MASK                      57 #define CFGCHIP1_CAP1SRC_MASK                   CFGCHIP1_CAP1SRC(0x1f)
 49 #define CFGCHIP1_CAP1SRC_ECAP_PIN                  58 #define CFGCHIP1_CAP1SRC_ECAP_PIN               CFGCHIP1_CAP1SRC(0x0)
 50 #define CFGCHIP1_CAP1SRC_MCASP0_TX                 59 #define CFGCHIP1_CAP1SRC_MCASP0_TX              CFGCHIP1_CAP1SRC(0x1)
 51 #define CFGCHIP1_CAP1SRC_MCASP0_RX                 60 #define CFGCHIP1_CAP1SRC_MCASP0_RX              CFGCHIP1_CAP1SRC(0x2)
 52 #define CFGCHIP1_CAP1SRC_EMAC_C0_RX_THRESHOLD      61 #define CFGCHIP1_CAP1SRC_EMAC_C0_RX_THRESHOLD   CFGCHIP1_CAP1SRC(0x7)
 53 #define CFGCHIP1_CAP1SRC_EMAC_C0_RX                62 #define CFGCHIP1_CAP1SRC_EMAC_C0_RX             CFGCHIP1_CAP1SRC(0x8)
 54 #define CFGCHIP1_CAP1SRC_EMAC_C0_TX                63 #define CFGCHIP1_CAP1SRC_EMAC_C0_TX             CFGCHIP1_CAP1SRC(0x9)
 55 #define CFGCHIP1_CAP1SRC_EMAC_C0_MISC              64 #define CFGCHIP1_CAP1SRC_EMAC_C0_MISC           CFGCHIP1_CAP1SRC(0xa)
 56 #define CFGCHIP1_CAP1SRC_EMAC_C1_RX_THRESHOLD      65 #define CFGCHIP1_CAP1SRC_EMAC_C1_RX_THRESHOLD   CFGCHIP1_CAP1SRC(0xb)
 57 #define CFGCHIP1_CAP1SRC_EMAC_C1_RX                66 #define CFGCHIP1_CAP1SRC_EMAC_C1_RX             CFGCHIP1_CAP1SRC(0xc)
 58 #define CFGCHIP1_CAP1SRC_EMAC_C1_TX                67 #define CFGCHIP1_CAP1SRC_EMAC_C1_TX             CFGCHIP1_CAP1SRC(0xd)
 59 #define CFGCHIP1_CAP1SRC_EMAC_C1_MISC              68 #define CFGCHIP1_CAP1SRC_EMAC_C1_MISC           CFGCHIP1_CAP1SRC(0xe)
 60 #define CFGCHIP1_CAP1SRC_EMAC_C2_RX_THRESHOLD      69 #define CFGCHIP1_CAP1SRC_EMAC_C2_RX_THRESHOLD   CFGCHIP1_CAP1SRC(0xf)
 61 #define CFGCHIP1_CAP1SRC_EMAC_C2_RX                70 #define CFGCHIP1_CAP1SRC_EMAC_C2_RX             CFGCHIP1_CAP1SRC(0x10)
 62 #define CFGCHIP1_CAP1SRC_EMAC_C2_TX                71 #define CFGCHIP1_CAP1SRC_EMAC_C2_TX             CFGCHIP1_CAP1SRC(0x11)
 63 #define CFGCHIP1_CAP1SRC_EMAC_C2_MISC              72 #define CFGCHIP1_CAP1SRC_EMAC_C2_MISC           CFGCHIP1_CAP1SRC(0x12)
 64 #define CFGCHIP1_CAP0SRC(n)                        73 #define CFGCHIP1_CAP0SRC(n)                     ((n) << 17)
 65 #define CFGCHIP1_CAP0SRC_MASK                      74 #define CFGCHIP1_CAP0SRC_MASK                   CFGCHIP1_CAP0SRC(0x1f)
 66 #define CFGCHIP1_CAP0SRC_ECAP_PIN                  75 #define CFGCHIP1_CAP0SRC_ECAP_PIN               CFGCHIP1_CAP0SRC(0x0)
 67 #define CFGCHIP1_CAP0SRC_MCASP0_TX                 76 #define CFGCHIP1_CAP0SRC_MCASP0_TX              CFGCHIP1_CAP0SRC(0x1)
 68 #define CFGCHIP1_CAP0SRC_MCASP0_RX                 77 #define CFGCHIP1_CAP0SRC_MCASP0_RX              CFGCHIP1_CAP0SRC(0x2)
 69 #define CFGCHIP1_CAP0SRC_EMAC_C0_RX_THRESHOLD      78 #define CFGCHIP1_CAP0SRC_EMAC_C0_RX_THRESHOLD   CFGCHIP1_CAP0SRC(0x7)
 70 #define CFGCHIP1_CAP0SRC_EMAC_C0_RX                79 #define CFGCHIP1_CAP0SRC_EMAC_C0_RX             CFGCHIP1_CAP0SRC(0x8)
 71 #define CFGCHIP1_CAP0SRC_EMAC_C0_TX                80 #define CFGCHIP1_CAP0SRC_EMAC_C0_TX             CFGCHIP1_CAP0SRC(0x9)
 72 #define CFGCHIP1_CAP0SRC_EMAC_C0_MISC              81 #define CFGCHIP1_CAP0SRC_EMAC_C0_MISC           CFGCHIP1_CAP0SRC(0xa)
 73 #define CFGCHIP1_CAP0SRC_EMAC_C1_RX_THRESHOLD      82 #define CFGCHIP1_CAP0SRC_EMAC_C1_RX_THRESHOLD   CFGCHIP1_CAP0SRC(0xb)
 74 #define CFGCHIP1_CAP0SRC_EMAC_C1_RX                83 #define CFGCHIP1_CAP0SRC_EMAC_C1_RX             CFGCHIP1_CAP0SRC(0xc)
 75 #define CFGCHIP1_CAP0SRC_EMAC_C1_TX                84 #define CFGCHIP1_CAP0SRC_EMAC_C1_TX             CFGCHIP1_CAP0SRC(0xd)
 76 #define CFGCHIP1_CAP0SRC_EMAC_C1_MISC              85 #define CFGCHIP1_CAP0SRC_EMAC_C1_MISC           CFGCHIP1_CAP0SRC(0xe)
 77 #define CFGCHIP1_CAP0SRC_EMAC_C2_RX_THRESHOLD      86 #define CFGCHIP1_CAP0SRC_EMAC_C2_RX_THRESHOLD   CFGCHIP1_CAP0SRC(0xf)
 78 #define CFGCHIP1_CAP0SRC_EMAC_C2_RX                87 #define CFGCHIP1_CAP0SRC_EMAC_C2_RX             CFGCHIP1_CAP0SRC(0x10)
 79 #define CFGCHIP1_CAP0SRC_EMAC_C2_TX                88 #define CFGCHIP1_CAP0SRC_EMAC_C2_TX             CFGCHIP1_CAP0SRC(0x11)
 80 #define CFGCHIP1_CAP0SRC_EMAC_C2_MISC              89 #define CFGCHIP1_CAP0SRC_EMAC_C2_MISC           CFGCHIP1_CAP0SRC(0x12)
 81 #define CFGCHIP1_HPIBYTEAD                         90 #define CFGCHIP1_HPIBYTEAD                      BIT(16)
 82 #define CFGCHIP1_HPIENA                            91 #define CFGCHIP1_HPIENA                         BIT(15)
 83 #define CFGCHIP0_EDMA31TC0DBS(n)                   92 #define CFGCHIP0_EDMA31TC0DBS(n)                ((n) << 13)
 84 #define CFGCHIP0_EDMA31TC0DBS_MASK                 93 #define CFGCHIP0_EDMA31TC0DBS_MASK              CFGCHIP0_EDMA31TC0DBS(0x3)
 85 #define CFGCHIP0_EDMA31TC0DBS_16                   94 #define CFGCHIP0_EDMA31TC0DBS_16                CFGCHIP0_EDMA31TC0DBS(0x0)
 86 #define CFGCHIP0_EDMA31TC0DBS_32                   95 #define CFGCHIP0_EDMA31TC0DBS_32                CFGCHIP0_EDMA31TC0DBS(0x1)
 87 #define CFGCHIP0_EDMA31TC0DBS_64                   96 #define CFGCHIP0_EDMA31TC0DBS_64                CFGCHIP0_EDMA31TC0DBS(0x2)
 88 #define CFGCHIP1_TBCLKSYNC                         97 #define CFGCHIP1_TBCLKSYNC                      BIT(12)
 89 #define CFGCHIP1_AMUTESEL0(n)                      98 #define CFGCHIP1_AMUTESEL0(n)                   ((n) << 0)
 90 #define CFGCHIP1_AMUTESEL0_MASK                    99 #define CFGCHIP1_AMUTESEL0_MASK                 CFGCHIP1_AMUTESEL0(0xf)
 91 #define CFGCHIP1_AMUTESEL0_LOW                    100 #define CFGCHIP1_AMUTESEL0_LOW                  CFGCHIP1_AMUTESEL0(0x0)
 92 #define CFGCHIP1_AMUTESEL0_BANK_0                 101 #define CFGCHIP1_AMUTESEL0_BANK_0               CFGCHIP1_AMUTESEL0(0x1)
 93 #define CFGCHIP1_AMUTESEL0_BANK_1                 102 #define CFGCHIP1_AMUTESEL0_BANK_1               CFGCHIP1_AMUTESEL0(0x2)
 94 #define CFGCHIP1_AMUTESEL0_BANK_2                 103 #define CFGCHIP1_AMUTESEL0_BANK_2               CFGCHIP1_AMUTESEL0(0x3)
 95 #define CFGCHIP1_AMUTESEL0_BANK_3                 104 #define CFGCHIP1_AMUTESEL0_BANK_3               CFGCHIP1_AMUTESEL0(0x4)
 96 #define CFGCHIP1_AMUTESEL0_BANK_4                 105 #define CFGCHIP1_AMUTESEL0_BANK_4               CFGCHIP1_AMUTESEL0(0x5)
 97 #define CFGCHIP1_AMUTESEL0_BANK_5                 106 #define CFGCHIP1_AMUTESEL0_BANK_5               CFGCHIP1_AMUTESEL0(0x6)
 98 #define CFGCHIP1_AMUTESEL0_BANK_6                 107 #define CFGCHIP1_AMUTESEL0_BANK_6               CFGCHIP1_AMUTESEL0(0x7)
 99 #define CFGCHIP1_AMUTESEL0_BANK_7                 108 #define CFGCHIP1_AMUTESEL0_BANK_7               CFGCHIP1_AMUTESEL0(0x8)
100                                                   109 
101 /* CFGCHIP2 (USB PHY) register bits */            110 /* CFGCHIP2 (USB PHY) register bits */
102 #define CFGCHIP2_PHYCLKGD                         111 #define CFGCHIP2_PHYCLKGD                       BIT(17)
103 #define CFGCHIP2_VBUSSENSE                        112 #define CFGCHIP2_VBUSSENSE                      BIT(16)
104 #define CFGCHIP2_RESET                            113 #define CFGCHIP2_RESET                          BIT(15)
105 #define CFGCHIP2_OTGMODE(n)                       114 #define CFGCHIP2_OTGMODE(n)                     ((n) << 13)
106 #define CFGCHIP2_OTGMODE_MASK                     115 #define CFGCHIP2_OTGMODE_MASK                   CFGCHIP2_OTGMODE(0x3)
107 #define CFGCHIP2_OTGMODE_NO_OVERRIDE              116 #define CFGCHIP2_OTGMODE_NO_OVERRIDE            CFGCHIP2_OTGMODE(0x0)
108 #define CFGCHIP2_OTGMODE_FORCE_HOST               117 #define CFGCHIP2_OTGMODE_FORCE_HOST             CFGCHIP2_OTGMODE(0x1)
109 #define CFGCHIP2_OTGMODE_FORCE_DEVICE             118 #define CFGCHIP2_OTGMODE_FORCE_DEVICE           CFGCHIP2_OTGMODE(0x2)
110 #define CFGCHIP2_OTGMODE_FORCE_HOST_VBUS_LOW      119 #define CFGCHIP2_OTGMODE_FORCE_HOST_VBUS_LOW    CFGCHIP2_OTGMODE(0x3)
111 #define CFGCHIP2_USB1PHYCLKMUX                    120 #define CFGCHIP2_USB1PHYCLKMUX                  BIT(12)
112 #define CFGCHIP2_USB2PHYCLKMUX                    121 #define CFGCHIP2_USB2PHYCLKMUX                  BIT(11)
113 #define CFGCHIP2_PHYPWRDN                         122 #define CFGCHIP2_PHYPWRDN                       BIT(10)
114 #define CFGCHIP2_OTGPWRDN                         123 #define CFGCHIP2_OTGPWRDN                       BIT(9)
115 #define CFGCHIP2_DATPOL                           124 #define CFGCHIP2_DATPOL                         BIT(8)
116 #define CFGCHIP2_USB1SUSPENDM                     125 #define CFGCHIP2_USB1SUSPENDM                   BIT(7)
117 #define CFGCHIP2_PHY_PLLON                        126 #define CFGCHIP2_PHY_PLLON                      BIT(6)
118 #define CFGCHIP2_SESENDEN                         127 #define CFGCHIP2_SESENDEN                       BIT(5)
119 #define CFGCHIP2_VBDTCTEN                         128 #define CFGCHIP2_VBDTCTEN                       BIT(4)
120 #define CFGCHIP2_REFFREQ(n)                       129 #define CFGCHIP2_REFFREQ(n)                     ((n) << 0)
121 #define CFGCHIP2_REFFREQ_MASK                     130 #define CFGCHIP2_REFFREQ_MASK                   CFGCHIP2_REFFREQ(0xf)
122 #define CFGCHIP2_REFFREQ_12MHZ                    131 #define CFGCHIP2_REFFREQ_12MHZ                  CFGCHIP2_REFFREQ(0x1)
123 #define CFGCHIP2_REFFREQ_24MHZ                    132 #define CFGCHIP2_REFFREQ_24MHZ                  CFGCHIP2_REFFREQ(0x2)
124 #define CFGCHIP2_REFFREQ_48MHZ                    133 #define CFGCHIP2_REFFREQ_48MHZ                  CFGCHIP2_REFFREQ(0x3)
125 #define CFGCHIP2_REFFREQ_19_2MHZ                  134 #define CFGCHIP2_REFFREQ_19_2MHZ                CFGCHIP2_REFFREQ(0x4)
126 #define CFGCHIP2_REFFREQ_38_4MHZ                  135 #define CFGCHIP2_REFFREQ_38_4MHZ                CFGCHIP2_REFFREQ(0x5)
127 #define CFGCHIP2_REFFREQ_13MHZ                    136 #define CFGCHIP2_REFFREQ_13MHZ                  CFGCHIP2_REFFREQ(0x6)
128 #define CFGCHIP2_REFFREQ_26MHZ                    137 #define CFGCHIP2_REFFREQ_26MHZ                  CFGCHIP2_REFFREQ(0x7)
129 #define CFGCHIP2_REFFREQ_20MHZ                    138 #define CFGCHIP2_REFFREQ_20MHZ                  CFGCHIP2_REFFREQ(0x8)
130 #define CFGCHIP2_REFFREQ_40MHZ                    139 #define CFGCHIP2_REFFREQ_40MHZ                  CFGCHIP2_REFFREQ(0x9)
131                                                   140 
132 /* CFGCHIP3 (EMAC/uPP/PLL1/ASYNC3/PRU/DIV4.5/E    141 /* CFGCHIP3 (EMAC/uPP/PLL1/ASYNC3/PRU/DIV4.5/EMIFA) register bits */
133 #define CFGCHIP3_RMII_SEL                         142 #define CFGCHIP3_RMII_SEL                       BIT(8)
134 #define CFGCHIP3_UPP_TX_CLKSRC                    143 #define CFGCHIP3_UPP_TX_CLKSRC                  BIT(6)
135 #define CFGCHIP3_PLL1_MASTER_LOCK                 144 #define CFGCHIP3_PLL1_MASTER_LOCK               BIT(5)
136 #define CFGCHIP3_ASYNC3_CLKSRC                    145 #define CFGCHIP3_ASYNC3_CLKSRC                  BIT(4)
137 #define CFGCHIP3_PRUEVTSEL                        146 #define CFGCHIP3_PRUEVTSEL                      BIT(3)
138 #define CFGCHIP3_DIV45PENA                        147 #define CFGCHIP3_DIV45PENA                      BIT(2)
139 #define CFGCHIP3_EMA_CLKSRC                       148 #define CFGCHIP3_EMA_CLKSRC                     BIT(1)
140                                                   149 
141 /* CFGCHIP4 (McASP0 AMUNTEIN) register bits */    150 /* CFGCHIP4 (McASP0 AMUNTEIN) register bits */
142 #define CFGCHIP4_AMUTECLR0                        151 #define CFGCHIP4_AMUTECLR0                      BIT(0)
143                                                   152 
144 #endif /* __LINUX_MFD_DA8XX_CFGCHIP_H */          153 #endif /* __LINUX_MFD_DA8XX_CFGCHIP_H */
145                                                   154 

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