| # Copyright (c) 2018, Diego Sueiro <diego.sueiro@gmail.com> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| title: i.MX7D PWM |
| |
| description: > |
| This binding gives a base representation of the i.MX7D PWM |
| |
| compatible: "fsl,imx7d-pwm" |
| |
| include: [pwm-controller.yaml, base.yaml] |
| |
| properties: |
| reg: |
| required: true |
| |
| interrupts: |
| required: true |
| |
| prescaler: |
| type: int |
| required: true |
| description: Set the PWM prescale between 0 and 4096 |
| |
| rdc: |
| type: int |
| required: true |
| description: Set the RDC permission for this peripheral |
| |
| "#pwm-cells": |
| const: 2 |
| |
| pwm-cells: |
| - channel |
| # period in terms of nanoseconds |
| - period |