1# Copyright (c) 2024 Kickmaker 2# SPDX-License-Identifier: Apache-2.0 3 4description: | 5 This binding provides a fake PWM for use as either a stub or a mock in Zephyr 6 testing. 7 8compatible: "zephyr,fake-pwm" 9 10include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml] 11 12properties: 13 "#pwm-cells": 14 const: 2 15 description: | 16 Number of items to expect in a PWM 17 - channel of the timer used for PWM 18 - period to set in ns 19 frequency: 20 type: int 21 description: | 22 Frequency for the underlying timer (in Hz) 23 24pwm-cells: 25 - channel 26 - period 27