Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
87 lines
1.8 KiB
YAML
87 lines
1.8 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/pwm/imx-pwm.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Freescale i.MX PWM controller
|
|
|
|
maintainers:
|
|
- Philipp Zabel <p.zabel@pengutronix.de>
|
|
|
|
allOf:
|
|
- $ref: pwm.yaml#
|
|
|
|
properties:
|
|
"#pwm-cells":
|
|
description:
|
|
The only third cell flag supported by this binding is
|
|
PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags.
|
|
const: 3
|
|
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- fsl,imx1-pwm
|
|
- fsl,imx27-pwm
|
|
- items:
|
|
- enum:
|
|
- fsl,imx25-pwm
|
|
- fsl,imx31-pwm
|
|
- fsl,imx50-pwm
|
|
- fsl,imx51-pwm
|
|
- fsl,imx53-pwm
|
|
- fsl,imx6q-pwm
|
|
- fsl,imx6sl-pwm
|
|
- fsl,imx6sll-pwm
|
|
- fsl,imx6sx-pwm
|
|
- fsl,imx6ul-pwm
|
|
- fsl,imx7d-pwm
|
|
- fsl,imx8mm-pwm
|
|
- fsl,imx8mn-pwm
|
|
- fsl,imx8mp-pwm
|
|
- fsl,imx8mq-pwm
|
|
- fsl,imx8qxp-pwm
|
|
- const: fsl,imx27-pwm
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: SoC PWM ipg clock
|
|
- description: SoC PWM per clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: ipg
|
|
- const: per
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/imx5-clock.h>
|
|
|
|
pwm@53fb4000 {
|
|
#pwm-cells = <3>;
|
|
compatible = "fsl,imx27-pwm";
|
|
reg = <0x53fb4000 0x4000>;
|
|
clocks = <&clks IMX5_CLK_PWM1_IPG_GATE>,
|
|
<&clks IMX5_CLK_PWM1_HF_GATE>;
|
|
clock-names = "ipg", "per";
|
|
interrupts = <61>;
|
|
};
|