summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pwm/pwm-rpmsg-imx.yaml
blob: 04ce7305535dfd0cbbfd10612f07dd9f50496dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/pwm-rpmsg-imx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP i.MX PWM over RPMSG driver

maintainers:
  - Clark Wang <xiaoning.wang@nxp.com>

description: |
  Acore may need to use some TPM resources of Mcore on some SoC platforms.
  This driver provide a protocol to send pwm request through RPMSG to
  Mcore and control the TPM modules on Mcore.
  Mcore will operate its TPM modules according to the Acore request.

properties:
  "#pwm-cells":
    const: 3

  compatible:
    enum:
      - fsl,pwm-rpchip

  fsl,pwm-channel-number:
    maxItems: 1

required:
  - "#pwm-cells"
  - compatible
  - fsl,pwm-channel-number

additionalProperties: false

examples:
  - |
    tpm_rpchip_0: pwm {
        compatible = "fsl,pwm-rpchip";
        fsl,pwm-channel-number = <6>;
        #pwm-cells = <3>;
        status = "okay";
    };