Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
E-EXK4 - Operating System Group
projects
Linux
Commits
5f5d5851
Commit
5f5d5851
authored
15 years ago
by
Dima Zavin
Committed by
Daniel Walker
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[ARM] msm: Update list of proc_comm enums.
Signed-off-by:
Dima Zavin
<
dima@android.com
>
parent
d6ada257
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/mach-msm/proc_comm.h
+96
-6
96 additions, 6 deletions
arch/arm/mach-msm/proc_comm.h
with
96 additions
and
6 deletions
arch/arm/mach-msm/proc_comm.h
+
96
−
6
View file @
5f5d5851
...
...
@@ -62,19 +62,104 @@ enum {
PCOM_RESET_CHIP_IMM
,
PCOM_PM_VID_EN
,
PCOM_VREG_PULLDOWN
,
PCOM_GET_MODEM_VERSION
,
PCOM_CLK_REGIME_SEC_RESET
,
PCOM_CLK_REGIME_SEC_RESET_ASSERT
,
PCOM_CLK_REGIME_SEC_RESET_DEASSERT
,
PCOM_CLK_REGIME_SEC_PLL_REQUEST_WRP
,
PCOM_CLK_REGIME_SEC_ENABLE
,
PCOM_CLK_REGIME_SEC_DISABLE
,
PCOM_CLK_REGIME_SEC_IS_ON
,
PCOM_CLK_REGIME_SEC_SEL_CLK_INV
,
PCOM_CLK_REGIME_SEC_S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IGURE_GROUP
,
PCOM_GPIO_TLMM_SET_PORT
,
PCOM_GPIO_TLMM_CONFIG_EX
,
PCOM_SET_FTM_BOOT_COUNT
,
PCOM_RESERVED0
,
PCOM_RESERVED1
,
PCOM_CUSTOMER_CMD1
,
PCOM_CUSTOMER_CMD2
,
PCOM_CUSTOMER_CMD3
,
PCOM_CLK_REGIME_ENTER_APPSBL_CHG_MODE
,
PCOM_CLK_REGIME_EXIT_APPSBL_CHG_MODE
,
PCOM_CLK_REGIME_SEC_RAIL_DISABLE
,
PCOM_CLK_REGIME_SEC_RAIL_ENABLE
,
PCOM_CLK_REGIME_SEC_RAIL_CONTROL
,
PCOM_SET_SW_WATCHDOG_STATE
,
PCOM_PM_MPP_CONFIG_DIGITAL_INPUT
,
PCOM_PM_MPP_CONFIG_I_SINK
,
PCOM_RESERVED_101
,
PCOM_MSM_HSUSB_PHY_RESET
,
PCOM_GET_BATT_MV_LEVEL
,
PCOM_CHG_USB_IS_PC_CONNECTED
,
PCOM_CHG_USB_IS_CHARGER_CONNECTED
,
PCOM_CHG_USB_IS_DISCONNECTED
,
PCOM_CHG_USB_IS_AVAILABLE
,
PCOM_CLK_REGIME_SEC_MSM_SEL_FREQ
,
PCOM_CLK_REGIME_SEC_SET_PCLK_AXI_POLICY
,
PCOM_CLKCTL_RPC_RESET_ASSERT
,
PCOM_CLKCTL_RPC_RESET_DEASSERT
,
PCOM_CLKCTL_RPC_RAIL_ON
,
PCOM_CLKCTL_RPC_RAIL_OFF
,
PCOM_CLKCTL_RPC_RAIL_ENABLE
,
PCOM_CLKCTL_RPC_RAIL_DISABLE
,
PCOM_CLKCTL_RPC_RAIL_CONTROL
,
PCOM_CLKCTL_RPC_MIN_MSMC1
,
PCOM_NUM_CMDS
,
};
enum
{
PCOM_INVALID_STATUS
=
0x0
,
PCOM_READY
,
PCOM_CMD_RUNNING
,
PCOM_CMD_SUCCESS
,
PCOM_CMD_FAIL
,
PCOM_INVALID_STATUS
=
0x0
,
PCOM_READY
,
PCOM_CMD_RUNNING
,
PCOM_CMD_SUCCESS
,
PCOM_CMD_FAIL
,
PCOM_CMD_FAIL_FALSE_RETURNED
,
PCOM_CMD_FAIL_CMD_OUT_OF_BOUNDS_SERVER
,
PCOM_CMD_FAIL_CMD_OUT_OF_BOUNDS_CLIENT
,
PCOM_CMD_FAIL_CMD_UNREGISTERED
,
PCOM_CMD_FAIL_CMD_LOCKED
,
PCOM_CMD_FAIL_SERVER_NOT_YET_READY
,
PCOM_CMD_FAIL_BAD_DESTINATION
,
PCOM_CMD_FAIL_SERVER_RESET
,
PCOM_CMD_FAIL_SMSM_NOT_INIT
,
PCOM_CMD_FAIL_PROC_COMM_BUSY
,
PCOM_CMD_FAIL_PROC_COMM_NOT_INIT
,
};
/* List of VREGs that support the Pull Down Resistor setting. */
enum
{
enum
vreg_pdown_id
{
PM_VREG_PDOWN_MSMA_ID
,
PM_VREG_PDOWN_MSMP_ID
,
PM_VREG_PDOWN_MSME1_ID
,
/* Not supported in Panoramix */
...
...
@@ -131,6 +216,11 @@ enum {
PM_VREG_PDOWN_XO_ID
=
PM_VREG_PDOWN_TCXO_ID
};
enum
{
PCOM_CLKRGM_APPS_RESET_USB_PHY
=
34
,
PCOM_CLKRGM_APPS_RESET_USBH
=
37
,
};
/* gpio info for PCOM_RPC_GPIO_TLMM_CONFIG_EX */
#define GPIO_ENABLE 0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment