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

TOMOYO Linux Cross Reference
Linux/include/linux/mfd/pcf50633/pmic.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 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef __LINUX_MFD_PCF50633_PMIC_H
  3 #define __LINUX_MFD_PCF50633_PMIC_H
  4 
  5 #include <linux/mfd/pcf50633/core.h>
  6 #include <linux/platform_device.h>
  7 
  8 #define PCF50633_REG_AUTOOUT    0x1a
  9 #define PCF50633_REG_AUTOENA    0x1b
 10 #define PCF50633_REG_AUTOCTL    0x1c
 11 #define PCF50633_REG_AUTOMXC    0x1d
 12 #define PCF50633_REG_DOWN1OUT   0x1e
 13 #define PCF50633_REG_DOWN1ENA   0x1f
 14 #define PCF50633_REG_DOWN1CTL   0x20
 15 #define PCF50633_REG_DOWN1MXC   0x21
 16 #define PCF50633_REG_DOWN2OUT   0x22
 17 #define PCF50633_REG_DOWN2ENA   0x23
 18 #define PCF50633_REG_DOWN2CTL   0x24
 19 #define PCF50633_REG_DOWN2MXC   0x25
 20 #define PCF50633_REG_MEMLDOOUT  0x26
 21 #define PCF50633_REG_MEMLDOENA  0x27
 22 #define PCF50633_REG_LDO1OUT    0x2d
 23 #define PCF50633_REG_LDO1ENA    0x2e
 24 #define PCF50633_REG_LDO2OUT    0x2f
 25 #define PCF50633_REG_LDO2ENA    0x30
 26 #define PCF50633_REG_LDO3OUT    0x31
 27 #define PCF50633_REG_LDO3ENA    0x32
 28 #define PCF50633_REG_LDO4OUT    0x33
 29 #define PCF50633_REG_LDO4ENA    0x34
 30 #define PCF50633_REG_LDO5OUT    0x35
 31 #define PCF50633_REG_LDO5ENA    0x36
 32 #define PCF50633_REG_LDO6OUT    0x37
 33 #define PCF50633_REG_LDO6ENA    0x38
 34 #define PCF50633_REG_HCLDOOUT   0x39
 35 #define PCF50633_REG_HCLDOENA   0x3a
 36 #define PCF50633_REG_HCLDOOVL   0x40
 37 
 38 enum pcf50633_regulator_enable {
 39         PCF50633_REGULATOR_ON           = 0x01,
 40         PCF50633_REGULATOR_ON_GPIO1     = 0x02,
 41         PCF50633_REGULATOR_ON_GPIO2     = 0x04,
 42         PCF50633_REGULATOR_ON_GPIO3     = 0x08,
 43 };
 44 #define PCF50633_REGULATOR_ON_MASK      0x0f
 45 
 46 enum pcf50633_regulator_phase {
 47         PCF50633_REGULATOR_ACTPH1       = 0x00,
 48         PCF50633_REGULATOR_ACTPH2       = 0x10,
 49         PCF50633_REGULATOR_ACTPH3       = 0x20,
 50         PCF50633_REGULATOR_ACTPH4       = 0x30,
 51 };
 52 #define PCF50633_REGULATOR_ACTPH_MASK   0x30
 53 
 54 enum pcf50633_regulator_id {
 55         PCF50633_REGULATOR_AUTO,
 56         PCF50633_REGULATOR_DOWN1,
 57         PCF50633_REGULATOR_DOWN2,
 58         PCF50633_REGULATOR_LDO1,
 59         PCF50633_REGULATOR_LDO2,
 60         PCF50633_REGULATOR_LDO3,
 61         PCF50633_REGULATOR_LDO4,
 62         PCF50633_REGULATOR_LDO5,
 63         PCF50633_REGULATOR_LDO6,
 64         PCF50633_REGULATOR_HCLDO,
 65         PCF50633_REGULATOR_MEMLDO,
 66 };
 67 #endif
 68 
 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