mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 08:36:48 +07:00
071407eefd
Encode soc name in the compatible string to know the specific version hardware block. This is the general approach adopted for most bindings. Change mxs-pwm binding to use the approach. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
18 lines
501 B
Plaintext
18 lines
501 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 2. The first cell specifies the per-chip index
|
|
of the PWM to use and the second cell is the duty cycle in nanoseconds.
|
|
- fsl,pwm-number: the number of PWM devices
|
|
|
|
Example:
|
|
|
|
pwm: pwm@80064000 {
|
|
compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
|
|
reg = <0x80064000 2000>;
|
|
#pwm-cells = <2>;
|
|
fsl,pwm-number = <8>;
|
|
};
|