1# Copyright 2017, 2024 NXP 2# SPDX-License-Identifier: Apache-2.0 3 4description: NXP FlexTimer Module (FTM) PWM controller 5 6compatible: "nxp,ftm-pwm" 7 8include: [pwm-controller.yaml, "nxp,ftm.yaml", "pinctrl-device.yaml"] 9 10properties: 11 "#pwm-cells": 12 const: 3 13 14 pinctrl-0: 15 required: true 16 17 clock-source: 18 type: string 19 required: true 20 enum: 21 - "system" 22 - "fixed" 23 - "external" 24 description: | 25 Select one of three possible clock sources for the FTM counter: 26 * system: it's the bus interface clock driving the FTM module. Usually 27 provides higher timer resolution than the other two clock sources. 28 * fixed: it's a fixed clock defined by chip integration. 29 * external: it's a clock that can be accessed externally to the chip and 30 passes through a sychronizer clocked by the FTM bus interface clock. 31 32 This clock source selection is independent of the bus interface clock 33 driving the FTM module. Refer to the chip specific documentation for 34 further information. 35 36pwm-cells: 37 - channel 38 # period in terms of nanoseconds 39 - period 40 - flags 41