include/dt-bindings/pinctrl/qcom,pmic-gpio.h
Source file repositories/reference/linux-study-clean/include/dt-bindings/pinctrl/qcom,pmic-gpio.h
File Facts
- System
- Linux kernel
- Corpus path
include/dt-bindings/pinctrl/qcom,pmic-gpio.h- Extension
.h- Size
- 5402 bytes
- Lines
- 165
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _DT_BINDINGS_PINCTRL_QCOM_PMIC_GPIO_H
#define _DT_BINDINGS_PINCTRL_QCOM_PMIC_GPIO_H
#define PMIC_GPIO_PULL_UP_30 0
#define PMIC_GPIO_PULL_UP_1P5 1
#define PMIC_GPIO_PULL_UP_31P5 2
#define PMIC_GPIO_PULL_UP_1P5_30 3
#define PMIC_GPIO_STRENGTH_NO 0
#define PMIC_GPIO_STRENGTH_HIGH 1
#define PMIC_GPIO_STRENGTH_MED 2
#define PMIC_GPIO_STRENGTH_LOW 3
/*
* Note: PM8018 GPIO3 and GPIO4 are supporting
* only S3 and L2 options (1.8V)
*/
#define PM8018_GPIO_L6 0
#define PM8018_GPIO_L5 1
#define PM8018_GPIO_S3 2
#define PM8018_GPIO_L14 3
#define PM8018_GPIO_L2 4
#define PM8018_GPIO_L4 5
#define PM8018_GPIO_VDD 6
/*
* Note: PM8038 GPIO7 and GPIO8 are supporting
* only L11 and L4 options (1.8V)
*/
#define PM8038_GPIO_VPH 0
#define PM8038_GPIO_BB 1
#define PM8038_GPIO_L11 2
#define PM8038_GPIO_L15 3
#define PM8038_GPIO_L4 4
#define PM8038_GPIO_L3 5
#define PM8038_GPIO_L17 6
#define PM8058_GPIO_VPH 0
#define PM8058_GPIO_BB 1
#define PM8058_GPIO_S3 2
#define PM8058_GPIO_L3 3
#define PM8058_GPIO_L7 4
#define PM8058_GPIO_L6 5
#define PM8058_GPIO_L5 6
#define PM8058_GPIO_L2 7
/*
* Note: PM8916 GPIO1 and GPIO2 are supporting
* only L2(1.15V) and L5(1.8V) options
*/
#define PM8916_GPIO_VPH 0
#define PM8916_GPIO_L2 2
#define PM8916_GPIO_L5 3
#define PM8917_GPIO_VPH 0
#define PM8917_GPIO_S4 2
#define PM8917_GPIO_L15 3
#define PM8917_GPIO_L4 4
#define PM8917_GPIO_L3 5
#define PM8917_GPIO_L17 6
#define PM8921_GPIO_VPH 0
#define PM8921_GPIO_BB 1
#define PM8921_GPIO_S4 2
#define PM8921_GPIO_L15 3
#define PM8921_GPIO_L4 4
#define PM8921_GPIO_L3 5
#define PM8921_GPIO_L17 6
/*
* Note: PM8941 gpios from 15 to 18 are supporting
* only S3 and L6 options (1.8V)
*/
#define PM8941_GPIO_VPH 0
#define PM8941_GPIO_L1 1
#define PM8941_GPIO_S3 2
#define PM8941_GPIO_L6 3
/*
* Note: PMA8084 gpios from 15 to 18 are supporting
* only S4 and L6 options (1.8V)
*/
#define PMA8084_GPIO_VPH 0
#define PMA8084_GPIO_L1 1
#define PMA8084_GPIO_S4 2
#define PMA8084_GPIO_L6 3
#define PM8994_GPIO_VPH 0
#define PM8994_GPIO_S4 2
#define PM8994_GPIO_L12 3
Annotation
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.