# Copyright (c) 2024 Renesas Electronics Corporation
# SPDX-License-Identifier: Apache-2.0

description: Renesas RA Pulse Width Modulation

compatible: "renesas,ra-pwm"

include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]

properties:
  divider:
    type: int
    required: true

  channel:
    type: int
    required: true

  clocks:
    required: true

  interrupts:
    required: true

  interrupt-names:
    required: true

  "#pwm-cells":
    const: 3

pwm-cells:
  - channel
  - period
  - flags
