mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 22:40:05 +07:00
366486e0af
We need to increase the pwm-cells for the optional flags parameter, in order to implement support for polarity setting via DT. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
18 lines
456 B
Plaintext
18 lines
456 B
Plaintext
Freescale MXS PWM controller
|
|
|
|
Required properties:
|
|
- compatible: should be "fsl,imx23-pwm"
|
|
- reg: physical base address and length of the controller's registers
|
|
- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of
|
|
the cells format.
|
|
- fsl,pwm-number: the number of PWM devices
|
|
|
|
Example:
|
|
|
|
pwm: pwm@80064000 {
|
|
compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
|
|
reg = <0x80064000 0x2000>;
|
|
#pwm-cells = <3>;
|
|
fsl,pwm-number = <8>;
|
|
};
|