Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
pmic.h File Reference
#include <linux/mfd/pcf50633/core.h>
#include <linux/platform_device.h>

Go to the source code of this file.

Macros

#define PCF50633_REG_AUTOOUT   0x1a
 
#define PCF50633_REG_AUTOENA   0x1b
 
#define PCF50633_REG_AUTOCTL   0x1c
 
#define PCF50633_REG_AUTOMXC   0x1d
 
#define PCF50633_REG_DOWN1OUT   0x1e
 
#define PCF50633_REG_DOWN1ENA   0x1f
 
#define PCF50633_REG_DOWN1CTL   0x20
 
#define PCF50633_REG_DOWN1MXC   0x21
 
#define PCF50633_REG_DOWN2OUT   0x22
 
#define PCF50633_REG_DOWN2ENA   0x23
 
#define PCF50633_REG_DOWN2CTL   0x24
 
#define PCF50633_REG_DOWN2MXC   0x25
 
#define PCF50633_REG_MEMLDOOUT   0x26
 
#define PCF50633_REG_MEMLDOENA   0x27
 
#define PCF50633_REG_LDO1OUT   0x2d
 
#define PCF50633_REG_LDO1ENA   0x2e
 
#define PCF50633_REG_LDO2OUT   0x2f
 
#define PCF50633_REG_LDO2ENA   0x30
 
#define PCF50633_REG_LDO3OUT   0x31
 
#define PCF50633_REG_LDO3ENA   0x32
 
#define PCF50633_REG_LDO4OUT   0x33
 
#define PCF50633_REG_LDO4ENA   0x34
 
#define PCF50633_REG_LDO5OUT   0x35
 
#define PCF50633_REG_LDO5ENA   0x36
 
#define PCF50633_REG_LDO6OUT   0x37
 
#define PCF50633_REG_LDO6ENA   0x38
 
#define PCF50633_REG_HCLDOOUT   0x39
 
#define PCF50633_REG_HCLDOENA   0x3a
 
#define PCF50633_REG_HCLDOOVL   0x40
 
#define PCF50633_REGULATOR_ON_MASK   0x0f
 
#define PCF50633_REGULATOR_ACTPH_MASK   0x30
 

Enumerations

enum  pcf50633_regulator_enable { PCF50633_REGULATOR_ON = 0x01, PCF50633_REGULATOR_ON_GPIO1 = 0x02, PCF50633_REGULATOR_ON_GPIO2 = 0x04, PCF50633_REGULATOR_ON_GPIO3 = 0x08 }
 
enum  pcf50633_regulator_phase { PCF50633_REGULATOR_ACTPH1 = 0x00, PCF50633_REGULATOR_ACTPH2 = 0x10, PCF50633_REGULATOR_ACTPH3 = 0x20, PCF50633_REGULATOR_ACTPH4 = 0x30 }
 
enum  pcf50633_regulator_id {
  PCF50633_REGULATOR_AUTO, PCF50633_REGULATOR_DOWN1, PCF50633_REGULATOR_DOWN2, PCF50633_REGULATOR_LDO1,
  PCF50633_REGULATOR_LDO2, PCF50633_REGULATOR_LDO3, PCF50633_REGULATOR_LDO4, PCF50633_REGULATOR_LDO5,
  PCF50633_REGULATOR_LDO6, PCF50633_REGULATOR_HCLDO, PCF50633_REGULATOR_MEMLDO
}
 

Macro Definition Documentation

#define PCF50633_REG_AUTOCTL   0x1c

Definition at line 9 of file pmic.h.

#define PCF50633_REG_AUTOENA   0x1b

Definition at line 8 of file pmic.h.

#define PCF50633_REG_AUTOMXC   0x1d

Definition at line 10 of file pmic.h.

#define PCF50633_REG_AUTOOUT   0x1a

Definition at line 7 of file pmic.h.

#define PCF50633_REG_DOWN1CTL   0x20

Definition at line 13 of file pmic.h.

#define PCF50633_REG_DOWN1ENA   0x1f

Definition at line 12 of file pmic.h.

#define PCF50633_REG_DOWN1MXC   0x21

Definition at line 14 of file pmic.h.

#define PCF50633_REG_DOWN1OUT   0x1e

Definition at line 11 of file pmic.h.

#define PCF50633_REG_DOWN2CTL   0x24

Definition at line 17 of file pmic.h.

#define PCF50633_REG_DOWN2ENA   0x23

Definition at line 16 of file pmic.h.

#define PCF50633_REG_DOWN2MXC   0x25

Definition at line 18 of file pmic.h.

#define PCF50633_REG_DOWN2OUT   0x22

Definition at line 15 of file pmic.h.

#define PCF50633_REG_HCLDOENA   0x3a

Definition at line 34 of file pmic.h.

#define PCF50633_REG_HCLDOOUT   0x39

Definition at line 33 of file pmic.h.

#define PCF50633_REG_HCLDOOVL   0x40

Definition at line 35 of file pmic.h.

#define PCF50633_REG_LDO1ENA   0x2e

Definition at line 22 of file pmic.h.

#define PCF50633_REG_LDO1OUT   0x2d

Definition at line 21 of file pmic.h.

#define PCF50633_REG_LDO2ENA   0x30

Definition at line 24 of file pmic.h.

#define PCF50633_REG_LDO2OUT   0x2f

Definition at line 23 of file pmic.h.

#define PCF50633_REG_LDO3ENA   0x32

Definition at line 26 of file pmic.h.

#define PCF50633_REG_LDO3OUT   0x31

Definition at line 25 of file pmic.h.

#define PCF50633_REG_LDO4ENA   0x34

Definition at line 28 of file pmic.h.

#define PCF50633_REG_LDO4OUT   0x33

Definition at line 27 of file pmic.h.

#define PCF50633_REG_LDO5ENA   0x36

Definition at line 30 of file pmic.h.

#define PCF50633_REG_LDO5OUT   0x35

Definition at line 29 of file pmic.h.

#define PCF50633_REG_LDO6ENA   0x38

Definition at line 32 of file pmic.h.

#define PCF50633_REG_LDO6OUT   0x37

Definition at line 31 of file pmic.h.

#define PCF50633_REG_MEMLDOENA   0x27

Definition at line 20 of file pmic.h.

#define PCF50633_REG_MEMLDOOUT   0x26

Definition at line 19 of file pmic.h.

#define PCF50633_REGULATOR_ACTPH_MASK   0x30

Definition at line 51 of file pmic.h.

#define PCF50633_REGULATOR_ON_MASK   0x0f

Definition at line 43 of file pmic.h.

Enumeration Type Documentation

Enumerator:
PCF50633_REGULATOR_ON 
PCF50633_REGULATOR_ON_GPIO1 
PCF50633_REGULATOR_ON_GPIO2 
PCF50633_REGULATOR_ON_GPIO3 

Definition at line 37 of file pmic.h.

Enumerator:
PCF50633_REGULATOR_AUTO 
PCF50633_REGULATOR_DOWN1 
PCF50633_REGULATOR_DOWN2 
PCF50633_REGULATOR_LDO1 
PCF50633_REGULATOR_LDO2 
PCF50633_REGULATOR_LDO3 
PCF50633_REGULATOR_LDO4 
PCF50633_REGULATOR_LDO5 
PCF50633_REGULATOR_LDO6 
PCF50633_REGULATOR_HCLDO 
PCF50633_REGULATOR_MEMLDO 

Definition at line 53 of file pmic.h.

Enumerator:
PCF50633_REGULATOR_ACTPH1 
PCF50633_REGULATOR_ACTPH2 
PCF50633_REGULATOR_ACTPH3 
PCF50633_REGULATOR_ACTPH4 

Definition at line 45 of file pmic.h.