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)
23 lines
768 B
Plaintext
23 lines
768 B
Plaintext
EXTCON FOR PALMAS/TWL CHIPS
|
|
|
|
PALMAS USB COMPARATOR
|
|
Required Properties:
|
|
- compatible: should contain one of:
|
|
* "ti,palmas-usb-vid".
|
|
* "ti,twl6035-usb-vid".
|
|
* "ti,palmas-usb" (DEPRECATED - use "ti,palmas-usb-vid").
|
|
* "ti,twl6035-usb" (DEPRECATED - use "ti,twl6035-usb-vid").
|
|
|
|
Optional Properties:
|
|
- ti,wakeup : To enable the wakeup comparator in probe
|
|
- ti,enable-id-detection: Perform ID detection. If id-gpio is specified
|
|
it performs id-detection using GPIO else using OTG core.
|
|
- ti,enable-vbus-detection: Perform VBUS detection.
|
|
- id-gpio: gpio for GPIO ID detection. See gpio binding.
|
|
- debounce-delay-ms: debounce delay for GPIO ID pin in milliseconds.
|
|
|
|
palmas-usb {
|
|
compatible = "ti,twl6035-usb", "ti,palmas-usb";
|
|
ti,wakeup;
|
|
};
|