1# Copyright (c) 2024 ITE Corporation. All Rights Reserved. 2# SPDX-License-Identifier: Apache-2.0 3 4description: ITE IT8801 I2C-based PWM device driver 5 6compatible: "ite,it8801-pwm" 7 8include: [base.yaml, pinctrl-device.yaml, pwm-controller.yaml] 9 10properties: 11 reg: 12 required: true 13 14 mfdctrl: 15 type: phandle 16 required: true 17 description: | 18 Switching the pin to PWM alternate function. 19 20 channel: 21 type: int 22 required: true 23 enum: 24 - 1 25 - 2 26 - 3 27 - 4 28 - 7 29 - 8 30 - 9 31 description: | 32 1 = PWM_CHANNEL_1, 2 = PWM_CHANNEL_2, 3 = PWM_CHANNEL_3, 33 4 = PWM_CHANNEL_4, 7 = PWM_CHANNEL_7, 8 = PWM_CHANNEL_8, 34 9 = PWM_CHANNEL_9 35 36pwm-cells: 37 - channel 38 - period 39 - flags 40