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)
21 lines
706 B
Plaintext
21 lines
706 B
Plaintext
* NXP LPC18xx State Configurable Timer - Pulse Width Modulator driver
|
|
|
|
Required properties:
|
|
- compatible: Should be "nxp,lpc1850-sct-pwm"
|
|
- reg: Should contain physical base address and length of pwm registers.
|
|
- clocks: Must contain an entry for each entry in clock-names.
|
|
See ../clock/clock-bindings.txt for details.
|
|
- clock-names: Must include the following entries.
|
|
- pwm: PWM operating clock.
|
|
- #pwm-cells: Should be 3. See pwm.txt in this directory for the description
|
|
of the cells format.
|
|
|
|
Example:
|
|
pwm: pwm@40000000 {
|
|
compatible = "nxp,lpc1850-sct-pwm";
|
|
reg = <0x40000000 0x1000>;
|
|
clocks =<&ccu1 CLK_CPU_SCT>;
|
|
clock-names = "pwm";
|
|
#pwm-cells = <3>;
|
|
};
|