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)
34 lines
686 B
Plaintext
34 lines
686 B
Plaintext
TI/National Semiconductor LP3943 MFD driver
|
|
|
|
Required properties:
|
|
- compatible: "ti,lp3943"
|
|
- reg: I2C slave address. From 0x60 to 0x67.
|
|
|
|
LP3943 consists of two sub-devices, lp3943-gpio and lp3943-pwm.
|
|
|
|
For the LP3943 GPIO properties please refer to:
|
|
Documentation/devicetree/bindings/gpio/gpio-lp3943.txt
|
|
|
|
For the LP3943 PWM properties please refer to:
|
|
Documentation/devicetree/bindings/pwm/pwm-lp3943.txt
|
|
|
|
Example:
|
|
|
|
lp3943@60 {
|
|
compatible = "ti,lp3943";
|
|
reg = <0x60>;
|
|
|
|
gpioex: gpio {
|
|
compatible = "ti,lp3943-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|
|
|
|
pwm3943: pwm {
|
|
compatible = "ti,lp3943-pwm";
|
|
#pwm-cells = <2>;
|
|
ti,pwm0 = <8 9 10>;
|
|
ti,pwm1 = <15>;
|
|
};
|
|
};
|