1# Copyright (c) 2018, Diego Sueiro <diego.sueiro@gmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 This driver supports both i.MX6SX and i.MX7D PWM. 6 The compatible string is named "imx27" because the hardware module is the 7 same module present starting from imx27 CPUs and this driver can potentially 8 support other CPUs with imx27 module. This is also the same string used 9 in the Linux kernel. 10 11compatible: "fsl,imx27-pwm" 12 13include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml] 14 15properties: 16 reg: 17 required: true 18 19 interrupts: 20 required: true 21 22 prescaler: 23 type: int 24 required: true 25 description: Set the PWM prescale between 0 and 4096 26 27 rdc: 28 type: int 29 required: true 30 description: Set the RDC permission for this peripheral 31 32 "#pwm-cells": 33 const: 2 34 35pwm-cells: 36 - channel 37 # period in terms of nanoseconds 38 - period 39