Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
44 lines
975 B
Plaintext
44 lines
975 B
Plaintext
Qualcomm PM8941 PMIC Power Key
|
|
|
|
PROPERTIES
|
|
|
|
- compatible:
|
|
Usage: required
|
|
Value type: <string>
|
|
Definition: must be one of:
|
|
"qcom,pm8941-pwrkey"
|
|
|
|
- reg:
|
|
Usage: required
|
|
Value type: <prop-encoded-array>
|
|
Definition: base address of registers for block
|
|
|
|
- interrupts:
|
|
Usage: required
|
|
Value type: <prop-encoded-array>
|
|
Definition: key change interrupt; The format of the specifier is
|
|
defined by the binding document describing the node's
|
|
interrupt parent.
|
|
|
|
- debounce:
|
|
Usage: optional
|
|
Value type: <u32>
|
|
Definition: time in microseconds that key must be pressed or released
|
|
for state change interrupt to trigger.
|
|
|
|
- bias-pull-up:
|
|
Usage: optional
|
|
Value type: <empty>
|
|
Definition: presence of this property indicates that the KPDPWR_N pin
|
|
should be configured for pull up.
|
|
|
|
EXAMPLE
|
|
|
|
pwrkey@800 {
|
|
compatible = "qcom,pm8941-pwrkey";
|
|
reg = <0x800>;
|
|
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
|
|
debounce = <15625>;
|
|
bias-pull-up;
|
|
};
|